[Bug 1380205] Re: do-upgrade-release crashes with AttributeError: 'AptCdrom' object has no attribute 'restore_backup'

Brian Murray brian at ubuntu.com
Wed Nov 12 21:52:58 UTC 2014


*** This bug is a duplicate of bug 1357005 ***
    https://bugs.launchpad.net/bugs/1357005

** This bug has been marked a duplicate of bug 1357005
   release upgrade fails on some aptcdrom atribute error

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

Title:
  do-upgrade-release crashes with AttributeError: 'AptCdrom' object has
  no attribute 'restore_backup'

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  When runnung sudo do-release-upgrade in a laptop-sized terminal window, the traceback seen below is seen. What is not seen are the instructions for how to report it. Furthermore, the scrollbar in teh terminal window is disabled during the process, thereby limiting a users ability to scroll back through the history. It was only upon expanding the size of the terminal window to an additional monitor that I was able to see:
  "A fatal error has 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."

  So the reality is this is probably affecting lots of people, but they
  have no way of knowing how to report it.

  Here is the traceback:
  Traceback (most recent call last):

  File "/tmp/update-manager-dF3G7m/trusty", line 10, in <module>
  sys.exit(main())

  File "/tmp/update-manager-dF3G7m/DistUpgrade/DistUpgradeMain.py",
  line 244, in main
  if app.run():

  File
  "/tmp/update-manager-dF3G7m/DistUpgrade/DistUpgradeController.py",
  line 1827, in run
  return self.fullUpgrade()

  File
  "/tmp/update-manager-dF3G7m/DistUpgrade/DistUpgradeController.py",
  line 1781, in fullUpgrade
  self.abort()

  File
  "/tmp/update-manager-dF3G7m/DistUpgrade/DistUpgradeController.py",
  line 1337, in abort
  self.aptcdrom.restore_backup(self.sources_backup_ext)

  AttributeError: 'AptCdrom' object has no attribute 'restore_backup'
  === Command detached from window (Sat Oct 11 18:43:57 2014) ===
  === Command terminated with exit status 1 (Sat Oct 11 18:43:57 2014) ===

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: update-manager 1:0.156.14.17
  ProcVersionSignature: Ubuntu 3.13.0-37.64~precise1-generic 3.13.11.7
  Uname: Linux 3.13.0-37-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.7
  Architecture: amd64
  Date: Sat Oct 11 18:58:56 2014
  GsettingsChanges:
   com.ubuntu.update-manager first-run false
   com.ubuntu.update-manager launch-time 1413077882
   com.ubuntu.update-manager window-height 734
   com.ubuntu.update-manager window-width 652
  InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: update-manager
  Symptom: ubuntu-release-upgrader-core
  UpgradeStatus: Upgraded to precise on 2014-10-12 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1380205/+subscriptions



More information about the foundations-bugs mailing list