Public bug reported: I'm trying to use AptOnCD ***without a CD/DVD***. Important the key here is "without a cd/dvd".
Most tutorials imply that you can simply restore the packages from the ISO, and then when you use "apt-get install" to install those packages, apt-get will use the packages placed in cache by aptoncd instead of downloading them again. However, apt-get ignores the packages restored to cache by aptoncd, rendering that feature useless as far I've been able to achieve. Restoring packages using AptOnCD, from an ISO, accomplishes nothing that “apt-get install” will use. Yes, if you create a CD or DVD using AptOnCD, you can then go to "System > Administration > Software Sources > Third Party Software > Add CD-ROM" and use that CD/DVD as a primary package source while installing via "apt-get install", therefore eliminating the need to download those packages again from their original repositories. However, "Software Source > Third Party Software > ADD CD-RO” offers no way for you to use an ISO image (created by AptOnCD) as a source to accomplish the same thing. I've found no convenient way to effectively use my AptOnCD ISO image without first creating a physical CD/DVD. You'd think that the “restore” feature in AptOnCD, would prevent “apt- get install” from re-downloading the packages from the Internet Repositories, but this is NOT the case. Although the “restore” feature does indeed copy the packages from the AptOnCD ISO to the “/var/cache/apt/archives” folder, “apt-get install” ignores them; when you us “apt-get install”, it re-downloads the package despite the fact that “AptOnCD restore” has placed the exact same package at “/var/cache/apt/archives”! Due to this post [http://ubuntuforums.org/showthread.php?t=541029], I tried to install of the packages (retored by atponcd to “var/cache/apt/archives”) using the following two comands: cd /var/cache/apt/archives sudo dpkg -i *.deb After installing the packages in this manner, Errors were encountered while processing: eclipse-gcj eclipse-pydev-gcj icedtea-6-jre-cacao libfinance-quote-perl libk3b3 libk3b3-extracodecs liblapack3gf libmatroska0 libtorrent-rasterbar2 libxcb1-dev mencoder miro mkvtoolnix mplayer nvu python-chm python-libtorrent python-numpy quanta sun-java6-plugin thoggen tovid tovidgui transcode vlc-nox winff xvidcap libx11-dev libxt-dev mozilla-mplayer vlc Later, when I tried to reload software sources, I received and error dialog that informed me that I had 28 broken packages. Additionally, it rendered my laptop unable to boot back into Ubuntu! So, dpkg undermines and corrupts Ubuntu's proper installation methods, I've tried mounting the ISO image created by APTOnCD to the file system, but "System > Administration > Software Sources > Third Party Software > Add CD-ROM" will only find a physical CD/DVD. If you don't have a physical CD/DVD, in your drive, you'll get the following message: “Please Insert a disk in the drive”. I tried to learn the proper protocol to construct my own apt line that would add the “aptoncd ISO” as a software source: [http://www.zimbio.com/Linux/articles/kEIN6zMahru/Add+iso+software+repository+Ubuntu}, but this too failed for me. I got “file not found”. I tried mounting the cd rom, and then adding it as a sofward source using the apt-cdrom command: sudo mount -o loop /home/lonnie/aptoncd-20090727-DVD1.iso /media/cdrom sudo apt-cdrom -m -d=/media/cdrom0 add But the apt-cdrom command couldn't find any packages; Here's what is said: Identifying.. [37951917c86fd94b96086e5e34697542-2] Scanning disc for index files.. Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures E: Unable to locate any package files, perhaps this is not a Debian Disc Instead of taking the next step, of trying to figure out how to fool Linux into thinking that my AptOnCD ISO is physically inserted CD/DVD (instead of a mounted ISO), I've decided to write up this document to report this dilemma. I simple want to use my AptOnCD ISO as a software source, ***WITHOUT PHYSICALLY CREATING A CD/DVD***! Also, I don't want to mount anything either. CDs and DVD are as antiquated as floppy disks as far as I'm concerned (in world with 64 gig thumb drives). Why must this application be so dependent on physically creating or mimicing a disk? ** Affects: aptoncd (Ubuntu) Importance: Undecided Status: New -- ISO Restored Cache Packages are Ignored by apt-get install https://bugs.launchpad.net/bugs/405577 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
