failed karmic->lucid do-release-upgrade: IOError: [Errno 2] No such file or directory: '/tmp/tmp6njyKc/removal_blacklist.cfg'

Bug #572109 reported by Craig Ringer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

During a do-release-upgrade from a Karmic system to lucid (release), do-release-upgrade aborted with the following error:

A fatal error occurred

Please report this as a bug and include the files
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
your report. The upgrade is now aborted.
Your original sources.list was saved in
/etc/apt/sources.list.distUpgrade.

Traceback (most recent call last):

File "/tmp/tmp6njyKc/lucid", line 7, in <module>
File "/tmp/tmp6njyKc/DistUpgradeMain.py", line 158, in main
File "/tmp/tmp6njyKc/DistUpgradeController.py", line 1649, in run
File "/tmp/tmp6njyKc/DistUpgradeController.py", line 1636, in fullUpgrade
File "/tmp/tmp6njyKc/DistUpgradeController.py", line 1107, in doPostUpgrade
File "/tmp/tmp6njyKc/DistUpgradeController.py", line 172, in openCache
File "/tmp/tmp6njyKc/DistUpgradeCache.py", line 106, in __init__
File "/tmp/tmp6njyKc/DistUpgradeConfigParser.py", line 51, in getListFromFile
IOError: [Errno 2] No such file or directory: '/tmp/tmp6njyKc/removal_blacklist.cfg'

I've attached the full scrollback from my terminal as well as the requested files and the output of a "dpkg --get-selections".

Despite the Python exception, the upgrade appears to have completed fine (at least as far as apt is concerned).

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

What is the output of:
$ ls -l /tmp/tmp6njyKc

?
Do you run anything like tmp reaper or any other software that agressively cleans /tmp ?

Revision history for this message
Craig Ringer (ringerc) wrote :

/tmp/tmp6njyKc doesn't exist, as per the error message. Otherwise I would've attached it ;-)

I do not run any aggressive temp-cleaning code. It's a really bog-standard Ubuntu install (recently clean-installed with Karmic on brand new disks, yesterday upgraded to Lucid), which is why this is so surprising. It's just running Bacula and PostgreSQL so it has no particularly interesting configuration or services.

craig@backup:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 15G 4.7G 9.3G 34% /
none 1003M 344K 1002M 1% /dev
none 1007M 0 1007M 0% /dev/shm
none 1007M 76K 1007M 1% /var/run
none 1007M 0 1007M 0% /var/lock
none 1007M 0 1007M 0% /lib/init/rw
none 15G 4.7G 9.3G 34% /var/lib/ureadahead/debugfs
/dev/mapper/backup-bacula--main
                      1.6T 501G 1.1T 31% /srv/bacula-main
/dev/mapper/backup-bacula--archives
                      4.0T 1.1T 3.0T 26% /srv/bacula-archives
/dev/mapper/backup-bacula--wrk
                      1.0T 4.3M 1.0T 1% /srv/bacula-wrk
/dev/mapper/backup-bacula--catalog
                      5.0G 138M 4.6G 3% /srv/bacula-catalog
/dev/mapper/backup-bacula--bootstrap
                      249M 17M 220M 7% /srv/bacula-bootstrap
/dev/mapper/backup-nonbacula
                      197G 15G 173G 8% /srv/nonbacula

craig@backup:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/mapper/backup-bacula--main on /srv/bacula-main type xfs (rw,noatime,nodiratime)
/dev/mapper/backup-bacula--archives on /srv/bacula-archives type xfs (rw,noatime,nodiratime,allocsize=512k,inode64)
/dev/mapper/backup-bacula--wrk on /srv/bacula-wrk type xfs (rw,noatime,nodiratime)
/dev/mapper/backup-bacula--catalog on /srv/bacula-catalog type ext4 (rw,noatime,nodiratime)
/dev/mapper/backup-bacula--bootstrap on /srv/bacula-bootstrap type ext4 (rw,noatime,nodiratime)
/dev/mapper/backup-nonbacula on /srv/nonbacula type ext4 (rw,noatime,nodiratime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)

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.