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

Nick Rosbrook 1972255 at bugs.launchpad.net
Tue May 10 19:01:35 UTC 2022


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