[Bug 1986346] Re: upgrade to 22.04.1 failed - AttributeError: 'DistUpgradeController' object has no attribute 'tasks'
Brian Murray
1986346 at bugs.launchpad.net
Mon Aug 15 15:42:01 UTC 2022
*** This bug is a duplicate of bug 1969786 ***
https://bugs.launchpad.net/bugs/1969786
** This bug has been marked a duplicate of bug 1969786
Upgrade from 20.04 to 22.04 failed
--
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/1986346
Title:
upgrade to 22.04.1 failed - AttributeError: 'DistUpgradeController'
object has no attribute 'tasks'
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
sudo dist-upgrade fails while installing packages :- don't know if
system is now broken, or how to complete the upgrade. this is pretty
horrible.
Calculating the changes
Calculating the changes
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-tm0grze3/jammy", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-tm0grze3/DistUpgrade/DistUpgradeMain.py", line 241, in main
if app.run():
File "/tmp/ubuntu-release-upgrader-tm0grze3/DistUpgrade/DistUpgradeController.py", line 2042, in run
return self.fullUpgrade()
File "/tmp/ubuntu-release-upgrader-tm0grze3/DistUpgrade/DistUpgradeController.py", line 1991, in fullUpgrade
if not self.calcDistUpgrade():
File "/tmp/ubuntu-release-upgrader-tm0grze3/DistUpgrade/DistUpgradeController.py", line 1100, in calcDistUpgrade
if not self.cache.installTasks(self.tasks):
AttributeError: 'DistUpgradeController' object has no attribute 'tasks'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing
self.write(f)
File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write
block = f.read(1048576)
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-tm0grze3/jammy", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-tm0grze3/DistUpgrade/DistUpgradeMain.py", line 241, in main
if app.run():
File "/tmp/ubuntu-release-upgrader-tm0grze3/DistUpgrade/DistUpgradeController.py", line 2042, in run
return self.fullUpgrade()
File "/tmp/ubuntu-release-upgrader-tm0grze3/DistUpgrade/DistUpgradeController.py", line 1991, in fullUpgrade
if not self.calcDistUpgrade():
File "/tmp/ubuntu-release-upgrader-tm0grze3/DistUpgrade/DistUpgradeController.py", line 1100, in calcDistUpgrade
if not self.cache.installTasks(self.tasks):
AttributeError: 'DistUpgradeController' object has no attribute 'tasks'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1986346/+subscriptions
More information about the foundations-bugs
mailing list