Comment 10 for bug 848659

Revision history for this message
Tim Frost (timfrost) wrote : Re: Upgrade from natty fails with 64-bit oneiric beta cd

Doing the natty->oneiric upgrade in a 32-bit VM offers a clue:
the ISO is mounted as '/media/Ubuntu 11.10 i386', rather than as /media/cdrom or /media/cdrom0. main.log shows:
2011-09-24 20:19:34,554 DEBUG AptCdrom.add() called with '/media/Ubuntu 11.10 i386'
2011-09-24 20:19:34,645 INFO ignoring missing '/media/Ubuntu 11.10 i386/dists/oneiric/restricted/debian-installer/binary-i386/Packages'
2011-09-24 20:19:34,658 INFO ignoring missing '/media/Ubuntu 11.10 i386/dists/oneiric/restricted/binary-i386/Packages'
2011-09-24 20:19:34,660 INFO ignoring missing '/media/Ubuntu 11.10 i386/dists/oneiric/main/debian-installer/binary-i386/Packages'
2011-09-24 20:19:34,695 INFO ignoring missing '/media/Ubuntu 11.10 i386/dists/oneiric/main/binary-i386/Packages'
2011-09-24 20:19:34,783 DEBUG AptCdrom.add() returned: True

Also, the upgrade is invoked by
/usr/bin/python /tmp/distupgrade.IR40Fz/oneiric --cdrom '/media/Ubuntu 11.10 i386'

These all use the name assigned when the ISO was created

On the physical PC, I see differences:
1: The CD is mounted at /media/cdrom0 rather than at '/media/Ubuntu 11.10 amd64'
2: AptCdrom.add is called with /media/cdrom0
3: The errors reference the disk ID from .disk/info, which is different from the disk name.
4: the upgrade is invoked as /usr/bin/python /tmp/tmp.SKbxzxdtVR/oneiric --cdrom /media/cdrom0

After burning the 64-bit beta2 to a new CDRW disk, I now appear to be succeeding with the upgrade. This suggests that there was an error with the media, and that the upgrade wasn't handling that error gracefully.