[Bug 1069745] Re: update-manager fatal error while upgrading from precise to quantal, caused by PPA

Brian Murray brian at ubuntu.com
Thu Apr 18 21:28:49 UTC 2013


I believe the IOError message is because of the print statement and it
having nowhere to write.  There are quite a few occurrences of this on
errors.ubuntu.com, however they are not grouped together because the tmp
folder from which the upgrade is ran is different.  Here is one example
though:

https://errors.ubuntu.com/oops/23b13516-9e1c-11e2-a76a-e4115b0f8a4a

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

Title:
  update-manager fatal error while upgrading from precise to quantal,
  caused by PPA

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:
  # Add a third-party repository without support for quantal (e.g. a PPA)
  # Start update-manager
  # Click upgrade button
  # Wait
  # Observe a fatal error dialogue, and a  the following fatal error:

  <pre>
  Traceback (most recent call last):

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

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

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

    File "/tmp/update-manager-Vwi3Ev/DistUpgrade/DistUpgradeController.py", line 1663, in fullUpgrade
      if not self.updateSourcesList():

    File "/tmp/update-manager-Vwi3Ev/DistUpgrade/DistUpgradeController.py", line 734, in updateSourcesList
      self.sources = SourcesList(matcherPath=".")

    File "/tmp/update-manager-Vwi3Ev/DistUpgrade/sourceslist.py", line 253, in __init__
      self.matcher = SourceEntryMatcher(matcherPath)

    File "/tmp/update-manager-Vwi3Ev/DistUpgrade/sourceslist.py", line 442, in __init__
      dist = DistInfo(f, base_dir=matcherPath)

    File "/tmp/update-manager-Vwi3Ev/DistUpgrade/distinfo.py", line 239, in __init__
      print("WARNING: Failed to read mirror file")

  IOError: [Errno 5] Input/output error
  </pre>

  When I run do-unattended-upgrade, I am told that I have a PPA without
  support for quantal ( https://launchpad.net/~pmjdebruijn/+archive
  /darktable-release-plus ). The PPA is removed, and the upgrade
  continues without errors

  Thus I am assuming this error is caused by the presence of a ppa
  without support for quantal.

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




More information about the foundations-bugs mailing list