Error upgrade 20.04.5 to 22.04: ERROR Dist-upgrade failed: 'Broken packages after upgrade: ubuntu-desktop'
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
2022-10-14 16:47:53,338 DEBUG running doUpdate() (showErrors=True)
2022-10-14 16:50:16,566 DEBUG openCache()
2022-10-14 16:50:17,275 DEBUG Comparing 5.4.0-126 with
2022-10-14 16:50:17,275 DEBUG Comparing 5.4.0-128 with 5.4.0-126
2022-10-14 16:50:17,400 DEBUG /openCache(), new cache size 75310
2022-10-14 16:50:17,400 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
2022-10-14 16:50:17,401 DEBUG quirks: running PreDistUpgradeCache
2022-10-14 16:50:17,401 DEBUG running Quirks.
2022-10-14 16:50:18,981 DEBUG Running KeepInstalledSe
2022-10-14 16:50:19,576 DEBUG Kernel uname: '5.4.0-128-generic'
2022-10-14 16:50:19,586 DEBUG nvidiaUpdate()
2022-10-14 16:50:20,419 INFO no old nvidia driver installed, installing no new
2022-10-14 16:50:20,420 DEBUG Removing 'gnome-
2022-10-14 16:50:20,420 DEBUG Removing 'powermanagemen
2022-10-14 16:50:20,420 DEBUG Removing 'deskbar-applet' (ubuntu-desktop PostUpgradeRemove rule)
2022-10-14 16:50:20,420 DEBUG Removing 'nautilus-
2022-10-14 16:50:20,420 DEBUG quirks: running PostDistUpgrade
2022-10-14 16:50:20,420 DEBUG running Quirks.
2022-10-14 16:50:20,613 DEBUG Comparing 5.15.0-50 with
2022-10-14 16:50:20,614 DEBUG Comparing 5.4.0-126 with 5.15.0-50
2022-10-14 16:50:20,614 DEBUG Comparing 5.4.0-128 with 5.15.0-50
2022-10-14 16:50:20,719 DEBUG Marking 'ubuntu-desktop' for upgrade
2022-10-14 16:50:20,911 WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)
2022-10-14 16:50:21,328 ERROR Dist-upgrade failed: 'Broken packages after upgrade: ubuntu-desktop'
2022-10-14 16:50:21,336 DEBUG abort called
2022-10-14 16:50:21,337 DEBUG openCache()
2022-10-14 16:50:23,743 DEBUG Comparing 5.4.0-126 with
2022-10-14 16:50:23,744 DEBUG Comparing 5.4.0-128 with 5.4.0-126
2022-10-14 16:50:23,893 DEBUG /openCache(), new cache size 81168
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.4.0-128-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
Date: Fri Oct 14 18:22:01 2022
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to focal on 2022-10-14 (0 days ago)

Reviewing the files from your upgrade attempt, you have installed packages from the remmina- ppa-team/ remmina- next PPA. Some of the packages installed are newer than those in the official archive, which is preventing the upgrade from being calculated. Please try running ppa-purge ppa:remmina- ppa-team/ remmina- next to remove packages installed from that PPA. After that you can try upgrading again and if it still fails open a new bug report. Thanks and good luck!