[Bug 1509176] Re: do-release-upgrade crashes immediately with apt-cacher-ng proxy

Brian Murray brian at ubuntu.com
Fri Oct 23 15:34:39 UTC 2015


The traceback due to _warning is documented in bug 1507885.

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

Title:
  do-release-upgrade crashes immediately with apt-cacher-ng proxy

Status in apt-cacher-ng package in Ubuntu:
  New
Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  I tried launching the upgrade to 15.10 from the muon-updater window
  but nothing happened. So I manually ran the command and it crashes
  immediately.

  > do-release-upgrade -m desktop -f DistUpgradeViewKDE
  Checking for a new Ubuntu release
  kde
  kf5.kiconthemes: "Theme tree: (Breeze)"
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", line 157, in showReleaseNotes
      release_notes = urlopen(uri)
    File "/usr/lib/python3.4/urllib/request.py", line 161, in urlopen
      return opener.open(url, data, timeout)
    File "/usr/lib/python3.4/urllib/request.py", line 469, in open
      response = meth(req, response)
    File "/usr/lib/python3.4/urllib/request.py", line 579, in http_response
      'http', request, response, code, msg, hdrs)
    File "/usr/lib/python3.4/urllib/request.py", line 507, in error
      return self._call_chain(*args)
    File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain
      result = func(*args)
    File "/usr/lib/python3.4/urllib/request.py", line 587, in http_error_default
      raise HTTPError(req.full_url, code, msg, hdrs, fp)
  urllib.error.HTTPError: HTTP Error 403: Forbidden file type or location: http://archive.ubuntu.com/ubuntu/dists/wily-updates/main/dist-upgrader-all/current/ReleaseAnnouncement.html?lang=en_US&os=kubuntu&ver=15.10

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/bin/do-release-upgrade", line 165, in <module>
      fetcher.run()
    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py", line 275, in run
      if not self.showReleaseNotes():
    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", line 165, in showReleaseNotes
      self._warning(primary + "<br />" + secondary)
  AttributeError: 'DistUpgradeFetcherKDE' object has no attribute '_warning'

  Opening the URL in a browser results in no error, so I'm not sure why
  it's getting a 403.

  I'm currently unable to upgrade because of this.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: ubuntu-release-upgrader-core 1:15.04.14.2
  ProcVersionSignature: Ubuntu 3.19.0-31.36-generic 3.19.8-ckt7
  Uname: Linux 3.19.0-31-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.2-0ubuntu1.5
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: KDE
  Date: Thu Oct 22 23:50:15 2015
  InstallationDate: Installed on 2011-10-22 (1461 days ago)
  InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to vivid on 2015-04-25 (180 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1509176/+subscriptions



More information about the foundations-bugs mailing list