[Bug 1321959] Re: upgrade from trusty to utopic failed

Serge Hallyn 1321959 at bugs.launchpad.net
Thu Jan 22 14:42:09 UTC 2015


@jarl-dk

could you please attach a patch to show exactly where you needed to
change DistUpgrade/DistUpgradeController.py ?

All uses of e seem to be in a 'except OSError as e' section so that case
should not be possible.

** Changed in: ubuntu-release-upgrader (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: Fix Released => Confirmed

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: Confirmed => Incomplete

-- 
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/1321959

Title:
  upgrade from trusty to utopic failed

Status in ubuntu-release-upgrader package in Ubuntu:
  Incomplete

Bug description:
  
  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 has aborted.
  Your original sources.list was saved in
  /etc/apt/sources.list.distUpgrade.

  Traceback (most recent call last):

  File "/tmp/ubuntu-release-upgrader-nyys21ya/utopic", line 8, in
  <module>
  sys.exit(main())

  File
  "/tmp/ubuntu-release-upgrader-nyys21ya/DistUpgrade/DistUpgradeMain.py",
  line 239, in main
  if app.run():

  File
  "/tmp/ubuntu-release-upgrader-nyys21ya/DistUpgrade/DistUpgradeController.py",
  line 1820, in run
  return self.fullUpgrade()

  File
  "/tmp/ubuntu-release-upgrader-nyys21ya/DistUpgrade/DistUpgradeController.py",
  line 1722, in fullUpgrade
  if not self.doUpdate():

  File
  "/tmp/ubuntu-release-upgrader-nyys21ya/DistUpgrade/DistUpgradeController.py",
  line 928, in doUpdate
  "connection and retry."), "%s" % e)

  UnboundLocalError: local variable 'e' referenced before assignment

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



More information about the foundations-bugs mailing list