[Bug 1972255] Re: do-release-upgrade fails to upgrade 20.04 -> 22.04 when run from chroot

Brian Murray 1972255 at bugs.launchpad.net
Tue May 10 19:30:11 UTC 2022


*** This bug is a duplicate of bug 1965568 ***
    https://bugs.launchpad.net/bugs/1965568

Screen did not terminate for me and I saw the following:

2022-05-10 19:28:40,792 ERROR not handled exception:
Traceback (most recent call last):

  File "/tmp/ubuntu-release-upgrader-klnydcs6/jammy", line 8, in <module>
    sys.exit(main())

  File "/tmp/ubuntu-release-upgrader-klnydcs6/DistUpgrade/DistUpgradeMain.py", line 227, in main
    from .DistUpgradeController import DistUpgradeController

  File "/tmp/ubuntu-release-upgrader-klnydcs6/DistUpgrade/DistUpgradeController.py", line 25, in <module>
    import dbus

ModuleNotFoundError: No module named 'dbus'

You could check /var/log/dist-upgrade/main.log and see if you have the
same error message but I'm going to assume you are and mark this as a
duplicate of another bug which is currently being fixed.

** This bug has been marked a duplicate of bug 1965568
   missing dependency on python3-dbus

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

Title:
  do-release-upgrade fails to upgrade 20.04 -> 22.04 when run from
  chroot

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

Bug description:
  When running do-release-upgrade in 20.04 chroot it fails without any
  error/reason returning back to shell:

  # do-release-upgrade -d
  Checking for a new Ubuntu release
  Get:1 Upgrade tool signature [819 B]                                                                                                                                                                                                                                          
  Get:2 Upgrade tool [1261 kB]                                                                                                                                                                                                                                                  
  Fetched 1262 kB in 0s (0 B/s)                                                                                                                                                                                                                                                 
  authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg' 
  extracting 'jammy.tar.gz'
  [screen is terminating]

  
  # lsb_release -rd
  Description:    Ubuntu 20.04.4 LTS
  Release:        20.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1972255/+subscriptions




More information about the foundations-bugs mailing list