Public bug reported:

While updating a server from 22.04 to 24.04, I received the following
error.

2026-06-11 09:35:03,829 ERROR Exception during pm.DoInstall()
Traceback (most recent call last):
  File 
"/root/tmp/ubuntu-release-upgrader-b7_j9bfp/DistUpgrade/DistUpgradeView.py", 
line 220, in run
    res = pm.do_install(self.writefd)
apt_pkg.Error: E:Sub-process /usr/bin/dpkg returned an error code (1)
2026-06-11 09:35:03,835 ERROR got a error from dpkg for pkg: 'grub-pc': 
'installed grub-pc package post-installation script subprocess returned error 
exit status 1'
2026-06-11 09:35:03,835 ERROR got a error from dpkg for pkg: 
'grub-gfxpayload-lists': 'dependency problems - leaving unconfigured'
2026-06-11 09:35:03,937 ERROR SystemError from cache.commit(): 
installArchives() failed
2026-06-11 09:35:03,937 ERROR found exception: 'E:Sub-process /usr/bin/dpkg 
returned an error code (1)'
2026-06-11 09:35:03,937 DEBUG RELEASE_UPRADER_NO_APPORT env set
2026-06-11 09:35:03,937 ERROR Could not install the upgrades The upgrade has 
aborted. Your system could be in an unusable state. A recovery will run now 
(dpkg --configure -a).

Please report this bug in a browser at 
http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug and 
attach the files in /var/log/dist-upgrade/ to the bug report.
E:Sub-process /usr/bin/dpkg returned an error code (1) (None)
2026-06-11 09:35:04,471 DEBUG Running PostInstallScript: 
'./xorg_fix_proprietary.py'
2026-06-11 09:35:04,519 DEBUG Running PostInstallScript: 
'/usr/lib/ubuntu-advantage/convert_list_to_deb822.py'
2026-06-11 09:35:04,691 DEBUG Running PostInstallScript: 
'/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156474

Title:
  dist-upgrade error

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to