Raring to saucy upgrade fails with "AttributeError: Values instance has no attribute 'devel_release'"

Bug #1200135 reported by Para Siva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
High
Brian Murray

Bug Description

Raring to saucy upgrades fail with the following error on almost all the configurations (i386, amd64 and desktop, server).

extracting 'saucy.tar.gz'
Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-5isch8/saucy", line 10, in <module>
    sys.exit(main())
  File "/tmp/ubuntu-release-upgrader-5isch8/DistUpgrade/DistUpgradeMain.py", line 240, in main
    if app.run():
  File "/tmp/ubuntu-release-upgrader-5isch8/DistUpgrade/DistUpgradeController.py", line 1791, in run
    return self.fullUpgrade()
  File "/tmp/ubuntu-release-upgrader-5isch8/DistUpgrade/DistUpgradeController.py", line 1686, in fullUpgrade
    if not self.updateSourcesList():
  File "/tmp/ubuntu-release-upgrader-5isch8/DistUpgrade/DistUpgradeController.py", line 760, in updateSourcesList
    if not self.rewriteSourcesList(mirror_check=True):
  File "/tmp/ubuntu-release-upgrader-5isch8/DistUpgrade/DistUpgradeController.py", line 639, in rewriteSourcesList
    and self.options.devel_release == True and
AttributeError: Values instance has no attribute 'devel_release'

Steps to reproduce:
1. Install raring desktop/ server
2. Run do-release-upgrade -d to upgrade it to Saucy. Confirm upgrade and enter the password.
Now the above error could be seen. This happens even when you do "sudo apt-get update && sudo apt-get dist-upgrade" before running do-release-upgrade -d.

The same error is seen when I ran update-manage -d.
---
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: i386
CrashDB: ubuntu
DistroRelease: Ubuntu 13.04
InstallationDate: Installed on 2013-07-11 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release i386 (20130424)
MarkForUpload: True
Package: ubuntu-release-upgrader (not installed)
ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
Tags: raring dist-upgrade
Uname: Linux 3.8.0-26-generic i686
UpgradeStatus: Upgraded to raring on 2013-07-11 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
VarLogDistupgradeAptlog:
 Log time: 2013-07-11 10:09:15.334300
 Log time: 2013-07-11 10:09:19.886449
VarLogDistupgradeTermlog:

Revision history for this message
Para Siva (psivaa) wrote :
Revision history for this message
Para Siva (psivaa) wrote :
Revision history for this message
Para Siva (psivaa) wrote :
Revision history for this message
Para Siva (psivaa) wrote : HookError_cloud_archive.txt

apport information

tags: added: apport-collected dist-upgrade raring
description: updated
Revision history for this message
Para Siva (psivaa) wrote : ProcEnviron.txt

apport information

Revision history for this message
Para Siva (psivaa) wrote : VarLogDistupgradeAptclonesystemstate.tar.gz

apport information

Revision history for this message
Para Siva (psivaa) wrote : VarLogDistupgradeLspcitxt.txt

apport information

Revision history for this message
Para Siva (psivaa) wrote : VarLogDistupgradeMainlog.txt

apport information

Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → High
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Brian Murray (brian-murray) wrote :

This is a regression introduced by the fix for bug 1199157, devel_release is not kept in options.

ipdb> self.options
<Values at 0x7f000475ac68: {'frontend': None, 'useAufs': False, 'withNetwork': None, 'datadir': '.', 'mode': 'desktop', 'havePrerequists': False, 'cdromPath': None, 'disable_gnu_screen': False, 'partial': False}>

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:0.198

---------------
ubuntu-release-upgrader (1:0.198) saucy; urgency=low

  * Add devel_release to options so that the fix for bug 1199157 really works
    (LP: #1200135)
 -- Brian Murray <email address hidden> Thu, 11 Jul 2013 11:09:44 -0700

Changed in ubuntu-release-upgrader (Ubuntu):
status: In Progress → 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.