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

Israel G. Lugo israel.lugo at lugosys.com
Wed Jan 22 21:24:05 UTC 2020


Same here. Ran "pkexec do-release-upgrade -m desktop -f
DistUpgradeViewKDE" and this crashed after a short time, with the above
exception in /var/log/dist-upgrade

Annoyingly, the tool had already made sufficient changes (to the
sources.dist?), so re-running the upgrade, even from the command line
(sudo do-release-upgrade -m desktop) resulted in an error saying I had
packages to upgrade. Which of course I did, thousands of them.

I ran apt full-upgrade and now I can run "sudo do-release-upgrade -m
desktop". But it only says no upgrades found. So I have no idea whether
any further action needs to be taken or not.

How can I resume the upgrade, or manually do whatever clean ups are
necessary now that the packages are upgraded???

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

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

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

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/ubuntu-release-upgrader/+bug/1860606/+subscriptions



More information about the foundations-bugs mailing list