Activity log for bug #255545

Date Who What changed Old value New value Message
2008-08-07 00:27:11 Colin Watson bug added bug
2008-08-08 22:32:51 Michael Vogt apt: status New Fix Committed
2008-08-08 22:32:51 Michael Vogt apt: assignee mvo
2008-08-08 22:32:51 Michael Vogt apt: importance Undecided Medium
2008-08-08 22:32:51 Michael Vogt apt: statusexplanation Thanks for your bugreport. I fixed this in my bzr branch by ignoring non-existing files on the CD. It will do the right thing when it comes to writing the packages file to the lists/ dir (uncompress it etc).
2008-08-08 22:32:51 Michael Vogt apt: milestone intrepid-alpha-4
2008-08-13 08:38:04 Martin Pitt apt: statusexplanation Thanks for your bugreport. I fixed this in my bzr branch by ignoring non-existing files on the CD. It will do the right thing when it comes to writing the packages file to the lists/ dir (uncompress it etc). Too late now, please upload right after Alpha-4.
2008-08-13 08:38:04 Martin Pitt apt: milestone intrepid-alpha-4 intrepid-alpha-5
2008-08-14 16:50:06 Launchpad Janitor apt: status Fix Committed Fix Released
2008-10-27 14:01:51 Michael Vogt apt: status New In Progress
2008-10-27 14:01:51 Michael Vogt apt: assignee mvo
2008-10-27 14:01:51 Michael Vogt apt: statusexplanation
2008-10-27 15:48:25 Michael Vogt bug added subscriber Ubuntu Stable Release Updates Team
2008-10-27 15:49:57 Michael Vogt description Binary package hint: apt When acquiring packages from a networked archive, apt is quite happy for the uncompressed Packages file to be omitted to save space; it only fetches the indexes it needs, and will try Packages.bz2 (if bzip2 is available) or Packages.gz first, so omitting Packages is harmless. However, the same does not hold for CDs, which is rather unfortunate as the space problem is more acute there; we'd like to be able to remove the uncompressed Packages files from our alternate install CDs and save about 1.5MB. apt-cdrom wants to copy all the indexes, and gets upset when some of them are missing. Here's a demonstration with a hacked-up loop-mounted image from which I removed all the uncompressed Packages files: $ sudo apt-cdrom -m add Using CD-ROM mount point /cdrom/ Identifying.. [661daa73dbd974b9ad9c1ffeeab8f8f0-2] Scanning disc for index files.. Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures Found label 'Ubuntu 8.10 _Intrepid Ibex_ - Alpha i386 (20080806.2)' This disc is called: 'Ubuntu 8.10 _Intrepid Ibex_ - Alpha i386 (20080806.2)' Copying package lists...gpgv: Signature made Wed 06 Aug 2008 16:39:54 BST using DSA key ID FBB75451 gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" E: Could not open file /cdrom/dists/intrepid/main/binary-i386/Packages - open (2 No such file or directory) E: Unable to determine the file size - fstat (9 Bad file descriptor) W: Hash mismatch for: main/binary-i386/Packages E: Could not open file /cdrom/dists/intrepid/main/debian-installer/binary-i386/Packages - open (2 No such file or directory) E: Unable to determine the file size - fstat (9 Bad file descriptor) W: Hash mismatch for: main/debian-installer/binary-i386/Packages E: Could not open file /cdrom/dists/intrepid/restricted/binary-i386/Packages - open (2 No such file or directory) E: Unable to determine the file size - fstat (9 Bad file descriptor) W: Hash mismatch for: restricted/binary-i386/Packages E: Could not open file /cdrom/dists/intrepid/restricted/debian-installer/binary-i386/Packages - open (2 No such file or directory) E: Unable to determine the file size - fstat (9 Bad file descriptor) I suspect that it might be possible to work around this by removing the uncompressed Packages files from Release, but this would probably cause other problems. Last I checked, the size and checksums of Packages had to be in Release even if the files themselves were missing, in order that apt could verify those files after uncompressing them. People do create local mirrors starting from an Ubuntu CD image quite often, so I wouldn't like to introduce a two-way incompatibility here. Would it be possible to only fail if none of the versions of a given Packages file are available, or explicitly copy only the compressed files, or synthesise the uncompressed files from the compressed ones in order to verify Release file integrity, or something? Binary package hint: apt TEST CASE: 1. insert a intrepid alternate CD 2. open a temrinal and type "apt-cdrom add" 3. watch it fail 4. install the new apt from hardy-proposed 5. insert a intrepid alternate CD 6. type apt-cdrom add and verify that it works (its ok that it prints warnings about missing files) ---- When acquiring packages from a networked archive, apt is quite happy for the uncompressed Packages file to be omitted to save space; it only fetches the indexes it needs, and will try Packages.bz2 (if bzip2 is available) or Packages.gz first, so omitting Packages is harmless. However, the same does not hold for CDs, which is rather unfortunate as the space problem is more acute there; we'd like to be able to remove the uncompressed Packages files from our alternate install CDs and save about 1.5MB. apt-cdrom wants to copy all the indexes, and gets upset when some of them are missing. Here's a demonstration with a hacked-up loop-mounted image from which I removed all the uncompressed Packages files: $ sudo apt-cdrom -m add Using CD-ROM mount point /cdrom/ Identifying.. [661daa73dbd974b9ad9c1ffeeab8f8f0-2] Scanning disc for index files.. Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures Found label 'Ubuntu 8.10 _Intrepid Ibex_ - Alpha i386 (20080806.2)' This disc is called: 'Ubuntu 8.10 _Intrepid Ibex_ - Alpha i386 (20080806.2)' Copying package lists...gpgv: Signature made Wed 06 Aug 2008 16:39:54 BST using DSA key ID FBB75451 gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" E: Could not open file /cdrom/dists/intrepid/main/binary-i386/Packages - open (2 No such file or directory) E: Unable to determine the file size - fstat (9 Bad file descriptor) W: Hash mismatch for: main/binary-i386/Packages E: Could not open file /cdrom/dists/intrepid/main/debian-installer/binary-i386/Packages - open (2 No such file or directory) E: Unable to determine the file size - fstat (9 Bad file descriptor) W: Hash mismatch for: main/debian-installer/binary-i386/Packages E: Could not open file /cdrom/dists/intrepid/restricted/binary-i386/Packages - open (2 No such file or directory) E: Unable to determine the file size - fstat (9 Bad file descriptor) W: Hash mismatch for: restricted/binary-i386/Packages E: Could not open file /cdrom/dists/intrepid/restricted/debian-installer/binary-i386/Packages - open (2 No such file or directory) E: Unable to determine the file size - fstat (9 Bad file descriptor) I suspect that it might be possible to work around this by removing the uncompressed Packages files from Release, but this would probably cause other problems. Last I checked, the size and checksums of Packages had to be in Release even if the files themselves were missing, in order that apt could verify those files after uncompressing them. People do create local mirrors starting from an Ubuntu CD image quite often, so I wouldn't like to introduce a two-way incompatibility here. Would it be possible to only fail if none of the versions of a given Packages file are available, or explicitly copy only the compressed files, or synthesise the uncompressed files from the compressed ones in order to verify Release file integrity, or something?
2008-10-27 18:06:53 Martin Pitt apt: status In Progress Fix Committed
2008-10-27 18:07:20 Martin Pitt bug added subscriber SRU Verification
2008-10-29 08:06:01 Martin Pitt apt: status Fix Committed Fix Released
2008-10-29 08:06:01 Martin Pitt apt: statusexplanation I upgraded to this apt version and did a range of standard operations, which all worked fine. Since Intrepid will be released tomorrow, and this affects CD upgrades, I waive the 7 day period and copy it to -updates now.
2009-07-21 15:50:24 Launchpad Janitor branch linked lp:~mvo/apt/debian-sid
2009-12-05 16:22:27 Launchpad Janitor branch linked lp:ubuntu/apt
2009-12-05 16:32:27 Launchpad Janitor branch linked lp:ubuntu/hardy-proposed/apt