I have downloaded and extracted all 5 source DVD iso images (ubuntu-19.10.1-src-*
). There is no useful README
; README.diskdefines
is useless to me. I guess that the source code is embedded inside a gazillion tar
files e.g. ubuntu-19.10.1-src-1/pool/main/a/accountservice/accountservice_0.6.55.orig.tar.xz
.
I now want to scan Ubuntu for some code (using mlocate
maybe), that displays the 'Oh no! Something has gone wrong
' image, as it's popping up.
How do I extract all the source from the extracted DVD images? Is there a script? Or where can I find non-compressed source?
EDIT2
I have fixed the problem from which this question arose, but I still think that it's a reasonable question - how can I view all the source without manually extracting from each tar?
You can use the debmirror tool to download all the source files. You will pull a lot of files (and we are not talking about a few Gbs here). This will get the source from "main" for "eoan":
main
withuniverse
,multiverse
, andrestricted
to get the other repositories.archive.ubuntu.com
can be any mirror.amd64
is 400Gb. Ubuntu is likely to be not less than that.Canonical has provided a script for this but you will need to adjust this to your needs.