← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1860606] Re: TypeError: _fetch_archives() missing 1 required positional argument: 'allow_unauthenticated'

 

This bug was fixed in the package python-apt - 1.9.0ubuntu1.3

---------------
python-apt (1.9.0ubuntu1.3) eoan-security; urgency=medium

  * SECURITY REGRESSION: crash with ubuntu-release-upgrader (LP: #1860606)
    - apt/cache.py: make allow_unauthenticated argument to
      fetch_archives() optional.

 -- Marc Deslauriers <marc.deslauriers@xxxxxxxxxx>  Wed, 22 Jan 2020
16:47:49 -0500

** Changed in: python-apt (Ubuntu Eoan)
       Status: Confirmed => Fix Released

** Changed in: python-apt (Ubuntu Bionic)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1860606

Title:
  TypeError: _fetch_archives() missing 1 required positional argument:
  'allow_unauthenticated'

Status in python-apt package in Ubuntu:
  Confirmed
Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid
Status in python-apt source package in Xenial:
  Fix Released
Status in ubuntu-release-upgrader source package in Xenial:
  Invalid
Status in python-apt source package in Bionic:
  Fix Released
Status in ubuntu-release-upgrader source package in Bionic:
  Invalid
Status in python-apt source package in Disco:
  Fix Released
Status in ubuntu-release-upgrader source package in Disco:
  Invalid
Status in python-apt source package in Eoan:
  Fix Released
Status in ubuntu-release-upgrader source package in Eoan:
  Invalid
Status in python-apt source package in Focal:
  Confirmed
Status in ubuntu-release-upgrader source package in Focal:
  Invalid

Bug description:
  I was upgrading my workstation from 19.04 to 19.10 and following that
  to 20.04. In each case I used do-release-upgrade (without and with -d
  respectively). The 20.04 upgrade failed as the tool crashed on invalid
  function signature:

  Original exception was:
  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-f_816ncr/focal", line 8, in <module>
      sys.exit(main())
    File "/tmp/ubuntu-release-upgrader-f_816ncr/DistUpgrade/DistUpgradeMain.py", line 238, in main
      if app.run():
    File "/tmp/ubuntu-release-upgrader-f_816ncr/DistUpgrade/DistUpgradeController.py", line 2082, in run
      return self.fullUpgrade()
    File "/tmp/ubuntu-release-upgrader-f_816ncr/DistUpgrade/DistUpgradeController.py", line 1998, in fullUpgrade
      if not self.doDistUpgradeFetching():
    File "/tmp/ubuntu-release-upgrader-f_816ncr/DistUpgrade/DistUpgradeController.py", line 1233, in doDistUpgradeFetching
      self.cache._fetch_archives(self.fetcher, pm)
  TypeError: _fetch_archives() missing 1 required positional argument: 'allow_unauthenticated'

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