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

Christian Tellefsen chris-launchpad.net at tellefsen.net
Mon Oct 22 10:29:18 UTC 2012


Public bug reported:

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.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dist-upgrade

** Attachment added: "apt.log"
   https://bugs.launchpad.net/bugs/1069745/+attachment/3408640/+files/dist-upgrade_main.log

** Tags added: dist-upgrade

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

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

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

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/update-manager/+bug/1069745/+subscriptions




More information about the foundations-bugs mailing list