do-release-upgrade fails with AttributeError

Bug #562394 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: update-manager

I started an ec2 instance of ami-bb709dd2 (ubuntu-karmic-9.10-i386-server-20100121.manifest.xml) and attempted do-release-upgrade with --sandbox. The result was:

$ sudo do-release-upgrade --devel-release --sandbox
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'lucid.tar.gz'
authenticate 'lucid.tar.gz' against 'lucid.tar.gz.gpg'
tar: Removing leading `/' from member names
tar: /etc/apt/preferences: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

Reading cache

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/tmpW01bDu/lucid", line 7, in <module>
sys.exit(main())

File "/tmp/tmpW01bDu/DistUpgradeMain.py", line 148, in main
app = DistUpgradeController(view, options, datadir=options.datadir)

File "/tmp/tmpW01bDu/DistUpgradeController.py", line 109, in __init__
aufsOptionsAndEnvironmentSetup(self.options, self.config)

File "/tmp/tmpW01bDu/DistUpgradeAufs.py", line 46, in
aufsOptionsAndEnvironmentSetup
if config.getWithDefault("Aufs","EnableFullOverlay", False):

File "/tmp/tmpW01bDu/DistUpgradeConfigParser.py", line 28, in
getWithDefault
return self.getboolean(section, option)

File "/usr/lib/python2.6/ConfigParser.py", line 350, in getboolean
if v.lower() not in self._boolean_states:

AttributeError: 'bool' object has no attribute 'lower'

I'm attaching 'main.log' per output above. The requested /var/log/dist-upgrade/apt.log file does not exist.

ProblemType: Bug
Architecture: i386
Date: Tue Apr 13 15:58:46 2010
DistroRelease: Ubuntu 9.10
Ec2AMI: ami-bb709dd2
Ec2AMIManifest: ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20100121.manifest.xml
Ec2AvailabilityZone: us-east-1b
Ec2InstanceType: m1.small
Ec2Kernel: aki-5f15f636
Ec2Ramdisk: ari-d5709dbc
Package: update-manager-core 1:0.126.9
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: User Name 2.6.31-302.7-ec2
SourcePackage: update-manager
Tags: ec2-images
Uname: Linux 2.6.31-302-ec2 i686

Revision history for this message
Scott Moser (smoser) wrote :
Michael Vogt (mvo)
Changed in update-manager (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Michael Vogt (mvo)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.134.4

---------------
update-manager (1:0.134.4) lucid; urgency=low

  * DistUpgrade/DistUpgrade.cfg, DistUpgrade/DistUpgrade.cfg.hardy:
    - do not enable apport anymore
  * DistUpgrade/DistUpgradeViewGtk.py:
    - set empty dialog titles for error/information dialogs (it looks
      like glade removed those for some reason from the .ui file)
  * DistUpgrade/DistUpgradeAufs.py:
    - fix crash if aufs (--sandbox mode) is used (LP: #562394)
  * DistUpgrade/DistUpgradeMain.py:
    - fix generation of system state file for non-existing dirs/files
      (LP: #561872)
  * UpdateManager/UpdateManager.py:
    - provide a LIST_TOGGLE_CHECKED column as a workaround for orca
      that does not work with values updated via
      column_install.set_cell_data_func (LP: #561563)
  * update-manager:
    - use gettext.install(unicode=True) to avoid breaking with
      optparse and ja.po (LP: #557804)
 -- Michael Vogt <email address hidden> Wed, 14 Apr 2010 17:54:47 +0200

Changed in update-manager (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

I verified successful 'do-release-upgrade -d --sandbox' on ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20100121.manifest. today .

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.