[Bug 1200135] Re: Raring to saucy upgrade fails with "AttributeError: Values instance has no attribute 'devel_release'"

Brian Murray brian at ubuntu.com
Thu Jul 11 15:56:36 UTC 2013


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}>

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1200135

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

Status in “ubuntu-release-upgrader” package in Ubuntu:
  In Progress

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:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1200135/+subscriptions




More information about the foundations-bugs mailing list