** Description changed: + [Impact] + Some packages such as libcap2-bin or ghostscript-x get replaced by cross-graded/or cross-replacement packages, such as + + libcap2-bin:amd64 => libcap2-bin:i386 + ghostscript-x:amd64 => ghostscript:i386 (should be ghostscript:amd64) + + [Test plan] + + Ensure the apt-clone tarballs in this bug and bug 2081864 (ghostscript) + can be properly upgraded/upgrade resolution completes. + + A quick validation is to + 1. start a container + 2. replace its /var/lib/dpkg/status with /var/lib/apt-clone/dpkg-status + 3. check that do-release-upgrade fails + 4. check that do-release-upgrade -p gets to the install prompt + + A more extensive E2E validation is to fully restore the tarball in a VM, + and then actually execute the full upgrade and not just calculate it. + + + [Where problems could occur] + We are skipping removals for packages where the only detected replacement packages are for another architecture; there could be problems if there are + packages that really only have replacements on a different architecture. + + + [Original bug report] Hello ubuntu devs, Trying to upgrade from mantic to noble but my system has broken packages. About 93 now. Before they were almost 200 I tried removing some broken packages and made some mistakes on the way I guess. The point is that I also have some fundamental packages in broken state. For instance, python3 and I cannot remove it since it depends on grub-common. The error from /var/log/dist-upgrade is: # grep 'E:' main.log 2024-09-24 18:26:37,663 ERROR Dist-upgrade failed: 'E:Unable to correct problems, you have held broken packages.' I tried many things, I checked with dpkg --get-selections if I had hold packages and I did not have. My last try was to mark as "hold" grub packages: # apt-mark showhold grub-efi-amd64-bin grub-efi-amd64-signed Could you please give a hand on this one? Thank you very much in advance! ProblemType: Bug DistroRelease: Ubuntu 23.10 Package: ubuntu-release-upgrader-core 1:23.10.14 ProcVersionSignature: Ubuntu 6.5.0-44.44-generic 6.5.13 Uname: Linux 6.5.0-44-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.27.0-0ubuntu5 Architecture: amd64 CasperMD5CheckResult: unknown CrashDB: ubuntu CrashReports: - 640:0:115:325160:2024-09-23 19:38:03.393134716 +0200:2024-09-23 19:37:57.853134596 +0200:/var/crash/_usr_sbin_thermald.0.crash - 640:1000:115:933873:2024-09-22 13:47:22.006442070 +0200:2024-09-22 13:47:23.006442070 +0200:/var/crash/_usr_bin_light-locker.1000.crash + 640:0:115:325160:2024-09-23 19:38:03.393134716 +0200:2024-09-23 19:37:57.853134596 +0200:/var/crash/_usr_sbin_thermald.0.crash + 640:1000:115:933873:2024-09-22 13:47:22.006442070 +0200:2024-09-22 13:47:23.006442070 +0200:/var/crash/_usr_bin_light-locker.1000.crash CurrentDesktop: KDE Date: Tue Sep 24 18:33:04 2024 InstallationDate: Installed on 2016-03-16 (3114 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader UpgradeStatus: Upgraded to mantic on 2024-09-24 (0 days ago) VarLogDistupgradeAptHistorylog: - Start-Date: 2024-09-24 18:25:07 - Requested-By: beatpanic (1000) - End-Date: 2024-09-24 18:25:07 + Start-Date: 2024-09-24 18:25:07 + Requested-By: beatpanic (1000) + End-Date: 2024-09-24 18:25:07 VarLogDistupgradeApttermlog: - Log started: 2024-09-24 18:25:07 - Log ended: 2024-09-24 18:25:07 + Log started: 2024-09-24 18:25:07 + Log ended: 2024-09-24 18:25:07
** Summary changed: - Cross-grades are considered replacement packages + Cross-grades/replacements are considered replacement packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081864 Title: Cross-grades/replacements are considered replacement packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2081864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs