"apt-cdrom add" fails on intrepid for the alternate CD

Bug #273979 reported by Michael Vogt
2
Affects Status Importance Assigned to Milestone
Ubuntu CD Images
Fix Released
Undecided
Unassigned
update-manager (Ubuntu)
Fix Released
Medium
Michael Vogt
Intrepid
Fix Released
Medium
Michael Vogt

Bug Description

A hardy to intrepid cdrom upgrade fails for the current intrepid alternate CD because the Release file contains the "Packages" files that got deleted.

Related branches

Michael Vogt (mvo)
Changed in update-manager:
assignee: nobody → mvo
importance: Undecided → Medium
milestone: none → ubuntu-8.10-beta
status: New → In Progress
Revision history for this message
Michael Vogt (mvo) wrote :

The problem is that the version of apt-cdrom (or rather the implementation in libapt) for "apt-cdrom add" checks all files in the Release file. If they are missing, it fails. The version of apt in intrepid has the required changes to make apt not fail if the Release file has files that are not on the CD.

So either update-manager needs to work around the issue or we need to add a backported apt+python-apt with the fix to the CD as prerequisites.

Revision history for this message
Michael Vogt (mvo) wrote :

Alternatively: fix the CD building/debootrap to not require the uncompressed Packages information in the Release file.

Revision history for this message
Colin Watson (cjwatson) wrote :

revno: 1332
committer: Colin Watson <email address hidden>
branch nick: debian-cd
timestamp: Mon 2008-09-29 16:56:18 +0100
message:
  merge from lp:~mvo/debian-cd/mvo
    ------------------------------------------------------------
    revno: 1331.1.2
    committer: Michael Vogt <email address hidden>
    branch nick: ubuntu
    timestamp: Wed 2008-09-24 15:46:55 +0200
    message:
      fix quoting and add -r for extended regexp support (thanks to cjwatson)
    ------------------------------------------------------------
    revno: 1331.1.1
    committer: Michael Vogt <email address hidden>
    branch nick: ubuntu
    timestamp: Wed 2008-09-24 14:46:14 +0200
    message:
      strip the Packages from the Release file as well

Changed in update-manager:
status: In Progress → Fix Released
Revision history for this message
Michael Vogt (mvo) wrote :

I looked into this and I would like to suggest that we use the patch in my debian-cd branch. I remastered the alternate CD to have a Release file without the uncompressed Packages file (those are missing on the CD now too) and it installed just fine.

Fixing it inside update-manager would mean that we would have to backport the fix into libapt and add that to the CD as a prerequisites (more pain).

Changed in update-manager:
status: Fix Released → Won't Fix
Changed in ubuntu-cdimage:
status: New → Fix Released
Revision history for this message
Michael Vogt (mvo) wrote :

Hm, the bugstat is misleading, the fix in debian-cd fixes update-managers error, so I rather set it to "Fix released"

Changed in update-manager:
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.