I just tried this locally, and I believe it is a duplicate of bug
1965568. After the failure, I checked /var/log/dist-upgrade/main.log and
saw this:
[...]
2022-05-10 18:59:00,135 INFO screen could not be run
2022-05-10 18:59:00,145 ERROR not handled exception:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-7nfv8i_o/jammy", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-7nfv8i_o/DistUpgrade/DistUpgradeMain.py",
line 227, in main
from .DistUpgradeController import DistUpgradeController
File
"/tmp/ubuntu-release-upgrader-7nfv8i_o/DistUpgrade/DistUpgradeController.py",
line 25, in <module>
import dbus
ModuleNotFoundError: No module named 'dbus'
2022-05-10 18:59:00,145 DEBUG running apport_crash()
2022-05-10 18:59:00,145 ERROR failed to import apport python module, can't
generate crash: No module named 'apport_python_hook'
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972255
Title:
do-release-upgrade fails to upgrade 20.04 -> 22.04 when run from
chroot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1972255/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs