How can I extract the deb files of ubuntu 12.10 from the official iso, I am trying to cut the download time, only some packages are in /pool/main
The rest seem to be in a virtual fs in /casper/
.
How can I extract the deb files?
How can I extract the deb files of ubuntu 12.10 from the official iso, I am trying to cut the download time, only some packages are in /pool/main
The rest seem to be in a virtual fs in /casper/
.
How can I extract the deb files?
Most of the debs Ubuntu uses are installed into a chroot before generating the ISO image, so you can't just get them back. If you unsquash the filesystem, you'll see it looks like just a root filesystem. For example, this is a truncated view of
ls
:...
If you want to mess with the chroot, you can do so as follows:
Mount the ISO
Copy the squashfs out
Unsquash the filesystem
This will unpack the filesystem into squashfs-root.
in the extracted folder i'd execute this from the shell.
find -name "*.deb" -type f -execdir cp {} ~/Desktop/thefolder_you_choose/ \;
This finds all .deb files and dumps all of them (without the folder structure) in your destination folder.