Public bug reported: Unsure if this should be asked as a support question, but I do not know how to add logs and debug information to that type of post.
Over the past week, I successfully upgraded 4 Ubuntu computers on 22.04 to 24.04 without much issue. On this computer, I have run into several issues using do-release-upgrade. Unlike the other computers, this machine was installed from the 22.04 server iso since I expected to run it as a server. I later installed some desktop packages, making it similar to the desktop version I use on the other machines. One of the issues was as described here: The package 'update-manager' is marked for removal but it is in the removal deny list. `https://www.reddit.com/r/Ubuntu/comments/1f4wkxg/upgrade_2204_to_24041_the_package_updatemanager/` I had uninstalled `update-manager` with `sudo apt remove update-manager` which caused subsequent issues, namely with holding broken packages. Something like this: https://discourse.ubuntu.com/t/cant-upgrade-from-22-04-to-24-04-complains-about-held-broken-packages/55026/24 I tried uninstalling and reinstalling ubuntu-desktop and other similar meta pkgs, but to no avail. I tried removing ubuntu-desktop^, but that unfortunately removed a significant number of packages I did not want removed, so I restored the entire machine from a backup. After restoring the backup from a relatively clean slate, I took the following steps: update, upgrade, snap-refresh, dist-upgrade (removed some cuda packages and nvidia drivers) ################################################## apt update apt upgrade The following packages have been kept back: cuda-drivers The following packages will be upgraded: cloud-init code google-chrome-stable libperl5.34 libpoppler-cpp0v5 libpoppler-glib8 libpoppler-qt5-1 libpoppler118 libsqlite3-0 libsqlite3-dev linux-libc-dev openjdk-11-jre openjdk-11-jre-headless openjdk-8-jre openjdk-8-jre-headless perl perl-base perl-modules-5.34 poppler-utils sqlite3 snap refresh apt dist-upgrade cuda-11-8 cuda-demo-suite-11-8 cuda-drivers cuda-drivers-545 cuda- runtime-11-8 apt dist-upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: cuda-cccl-11-8 cuda-command-line-tools-11-8 cuda-compiler-11-8 cuda-cudart-11-8 cuda-cudart-dev-11-8 cuda-cuobjdump-11-8 cuda-cupti-11-8 cuda-cupti-dev-11-8 cuda-cuxxfilt-11-8 cuda-documentation-11-8 cuda-driver-dev-11-8 cuda-gdb-11-8 cuda-libraries-11-8 cuda-libraries-dev-11-8 cuda-memcheck-11-8 cuda-nsight-11-8 cuda-nsight-compute-11-8 cuda-nsight-systems-11-8 cuda-nvcc-11-8 cuda-nvdisasm-11-8 cuda-nvml-dev-11-8 cuda-nvprof-11-8 cuda-nvprune-11-8 cuda-nvrtc-11-8 cuda-nvrtc-dev-11-8 cuda-nvtx-11-8 cuda-nvvp-11-8 cuda-profiler-api-11-8 cuda-sanitizer-11-8 cuda-toolkit-11-8 cuda-toolkit-11-8-config-common cuda-toolkit-11-config-common cuda-toolkit-config-common cuda-tools-11-8 cuda-visual-tools-11-8 dkms gds-tools-11-8 libcublas-11-8 libcublas-dev-11-8 libcufft-11-8 libcufft-dev-11-8 libcufile-11-8 libcufile-dev-11-8 libcurand-11-8 libcurand-dev-11-8 libcusolver-11-8 libcusolver-dev-11-8 libcusparse-11-8 libcusparse-dev-11-8 libnpp-11-8 libnpp-dev-11-8 libnvidia-cfg1-545 libnvidia-common-545 libnvidia-decode-545 libnvidia-encode-545 libnvidia-extra-545 libnvidia-fbc1-545 libnvidia-gl-545 libnvjpeg-11-8 libnvjpeg-dev-11-8 libtinfo5 nsight-compute-2022.3.0 nsight-systems-2022.4.2 nvidia-compute-utils-545 nvidia-dkms-545 nvidia-driver-545 nvidia-kernel-common-545 nvidia-kernel-source-545 nvidia-modprobe nvidia-prime nvidia-settings nvidia-utils-545 screen-resolution-extra xserver-xorg-video-nvidia-545 Use 'apt autoremove' to remove them. ... The following packages will be REMOVED: cuda-11-8 cuda-demo-suite-11-8 cuda-drivers cuda-drivers-545 cuda-runtime-11-8 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded. After this operation, 13.1 MB disk space will be freed. apt autoremove The following packages will be REMOVED: cuda-cccl-11-8 cuda-command-line-tools-11-8 cuda-compiler-11-8 cuda-cudart-11-8 cuda-cudart-dev-11-8 cuda-cuobjdump-11-8 cuda-cupti-11-8 cuda-cupti-dev-11-8 cuda-cuxxfilt-11-8 cuda-documentation-11-8 cuda-driver-dev-11-8 cuda-gdb-11-8 cuda-libraries-11-8 cuda-libraries-dev-11-8 cuda-memcheck-11-8 cuda-nsight-11-8 cuda-nsight-compute-11-8 cuda-nsight-systems-11-8 cuda-nvcc-11-8 cuda-nvdisasm-11-8 cuda-nvml-dev-11-8 cuda-nvprof-11-8 cuda-nvprune-11-8 cuda-nvrtc-11-8 cuda-nvrtc-dev-11-8 cuda-nvtx-11-8 cuda-nvvp-11-8 cuda-profiler-api-11-8 cuda-sanitizer-11-8 cuda-toolkit-11-8 cuda-toolkit-11-8-config-common cuda-toolkit-11-config-common cuda-toolkit-config-common cuda-tools-11-8 cuda-visual-tools-11-8 dkms gds-tools-11-8 libcublas-11-8 libcublas-dev-11-8 libcufft-11-8 libcufft-dev-11-8 libcufile-11-8 libcufile-dev-11-8 libcurand-11-8 libcurand-dev-11-8 libcusolver-11-8 libcusolver-dev-11-8 libcusparse-11-8 libcusparse-dev-11-8 libnpp-11-8 libnpp-dev-11-8 libnvidia-cfg1-545 libnvidia-common-545 libnvidia-decode-545 libnvidia-encode-545 libnvidia-extra-545 libnvidia-fbc1-545 libnvidia-gl-545 libnvjpeg-11-8 libnvjpeg-dev-11-8 libtinfo5 nsight-compute-2022.3.0 nsight-systems-2022.4.2 nvidia-compute-utils-545 nvidia-dkms-545 nvidia-driver-545 nvidia-kernel-common-545 nvidia-kernel-source-545 nvidia-modprobe nvidia-prime nvidia-settings nvidia-utils-545 screen-resolution-extra xserver-xorg-video-nvidia-545 0 upgraded, 0 newly installed, 74 to remove and 0 not upgraded. ################################################## Also tried doing the suggestion at `https://askubuntu.com/questions/1525143/upgrading- from-20-04-to-22-04-fails`. `sudo apt install --reinstall snapd` However, that didn't change anything. I also took a look at the sources where I assume ppa packages are. After looking through the sources, I was unsure if any of them were causing the problem. I just assumed not and did not do anything to try to change them. Maybe the problem could be here? I can post post the contents of the /etc/apt/source.list.d files upon request. ################################################## /etc/apt# cat sources.list # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu jammy main restricted # deb-src http://us.archive.ubuntu.com/ubuntu jammy main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted # deb-src http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu jammy universe # deb-src http://us.archive.ubuntu.com/ubuntu jammy universe deb http://us.archive.ubuntu.com/ubuntu jammy-updates universe # deb-src http://us.archive.ubuntu.com/ubuntu jammy-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu jammy multiverse # deb-src http://us.archive.ubuntu.com/ubuntu jammy multiverse deb http://us.archive.ubuntu.com/ubuntu jammy-updates multiverse # deb-src http://us.archive.ubuntu.com/ubuntu jammy-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse # deb-src http://us.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse deb http://us.archive.ubuntu.com/ubuntu jammy-security main restricted # deb-src http://us.archive.ubuntu.com/ubuntu jammy-security main restricted deb http://us.archive.ubuntu.com/ubuntu jammy-security universe # deb-src http://us.archive.ubuntu.com/ubuntu jammy-security universe deb http://us.archive.ubuntu.com/ubuntu jammy-security multiverse # deb-src http://us.archive.ubuntu.com/ubuntu jammy-security multiverse ################################################## /etc/apt/sources.list.d# ls -alh total 88K drwxr-xr-x 2 root root 4.0K Aug 3 13:49 . drwxr-xr-x 8 root root 4.0K Aug 3 13:49 .. -rw-r--r-- 1 root root 228 Aug 3 14:12 archive_uri-https_developer_download_nvidia_com_compute_cuda_repos_ubuntu2204_x86_64_-jammy.list -rw-r--r-- 1 root root 228 Aug 3 14:11 archive_uri-https_developer_download_nvidia_com_compute_cuda_repos_ubuntu2204_x86_64_-jammy.list.distUpgrade -rw-r--r-- 1 root root 228 Mar 20 2024 archive_uri-https_developer_download_nvidia_com_compute_cuda_repos_ubuntu2204_x86_64_-jammy.list.save -rw-r--r-- 1 root root 148 Aug 3 14:12 deadsnakes-ubuntu-ppa-jammy.list -rw-r--r-- 1 root root 148 Aug 3 14:11 deadsnakes-ubuntu-ppa-jammy.list.distUpgrade -rw-r--r-- 1 root root 148 Mar 20 2024 deadsnakes-ubuntu-ppa-jammy.list.save -rw-r--r-- 1 root root 190 Aug 3 14:12 google-chrome.list -rw-r--r-- 1 root root 190 Aug 3 14:11 google-chrome.list.distUpgrade -rw-r--r-- 1 root root 190 Mar 20 2024 google-chrome.list.save -rw-r--r-- 1 root root 160 Aug 3 14:12 graphics-drivers-ubuntu-ppa-jammy.list -rw-r--r-- 1 root root 160 Aug 3 14:11 graphics-drivers-ubuntu-ppa-jammy.list.distUpgrade -rw-r--r-- 1 root root 160 Mar 20 2024 graphics-drivers-ubuntu-ppa-jammy.list.save -rw-r--r-- 1 root root 107 Aug 3 14:12 kitware.list -rw-r--r-- 1 root root 107 Aug 3 14:11 kitware.list.distUpgrade -rw-r--r-- 1 root root 107 Mar 20 2024 kitware.list.save -rw-r--r-- 1 root root 150 Aug 3 14:12 mozillateam-ubuntu-ppa-jammy.list -rw-r--r-- 1 root root 150 Aug 3 14:11 mozillateam-ubuntu-ppa-jammy.list.distUpgrade -rw-r--r-- 1 root root 150 Mar 20 2024 mozillateam-ubuntu-ppa-jammy.list.save -rw-r--r-- 1 root root 203 Mar 20 2024 vscode.list.save -rw-r--r-- 1 root root 290 Aug 3 13:20 vscode.sources ################################################## I have also taken a look through /var/log/dist-upgrade main.log and apt.log. DEBUG Installing 'linux-oracle' (linux metapackage may have been accidentally uninstalled) 2025-08-03 14:12:25,103 DEBUG none of the '['ubuntu-desktop', 'kubuntu-desktop', 'xubuntu-core', 'xubuntu-desktop', 'ubuntustudio-desktop', 'lubuntu-desktop', 'ubuntu-gnome-desktop', 'ubuntu-mate-core', 'ubuntu-mate-desktop', 'ubuntukylin-desktop', 'ubuntu-budgie-desktop']' meta-pkgs installed 2025-08-03 14:12:25,103 DEBUG guessing 'ubuntu-mate-core' as missing meta-pkg 2025-08-03 14:12:25,280 ERROR failed to mark 'ubuntu-mate-core' for install (E:Unable to correct problems, you have held broken packages.) 2025-08-03 14:12:25,417 ERROR Dist-upgrade failed: 'Broken packages after upgrade: ubuntu-mate-core' ubuntu-desktop or ubuntu-gnome-desktop would be preferred over ubuntu- mate-core if I have to install one of those. Not sure what I should do in my situation. Any help would be much appreciated. Thanks! ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: ubuntu-release-upgrader-core 1:22.04.20 ProcVersionSignature: Ubuntu 5.15.0-1045.51-oracle 5.15.122 Uname: Linux 5.15.0-1045-oracle x86_64 ApportVersion: 2.20.11-0ubuntu82.9 Architecture: amd64 CasperMD5CheckResult: pass CrashDB: ubuntu CurrentDesktop: ubuntu:GNOME Date: Sun Aug 3 13:57:39 2025 InstallationDate: Installed on 2022-06-30 (1130 days ago) InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader UpgradeStatus: Upgraded to jammy on 2025-08-03 (0 days ago) ** Affects: ubuntu-release-upgrader (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug dist-upgrade jammy third-party-packages uec-images ** Attachment added: "sources.list" https://bugs.launchpad.net/bugs/2119413/+attachment/5896414/+files/sources.list ** Description changed: Unsure if this should be asked as a support question, but I do not know how to add logs and debug information to that type of post. Over the past week, I successfully upgraded 4 Ubuntu computers on 22.04 to 24.04 without much issue. On this computer, I have run into several issues using do-release-upgrade. + Unlike the other computers, this machine was installed from the 22.04 + server iso since I expected to run it as a server. I later installed + some desktop packages, making it similar to the desktop version I use on + the other machines. + One of the issues was as described here: - The package 'update-manager' is marked for removal but it is in the removal deny list. + The package 'update-manager' is marked for removal but it is in the removal deny list. `https://www.reddit.com/r/Ubuntu/comments/1f4wkxg/upgrade_2204_to_24041_the_package_updatemanager/` I had uninstalled `update-manager` with `sudo apt remove update-manager` which caused subsequent issues, namely with holding broken packages. Something like this: https://discourse.ubuntu.com/t/cant-upgrade-from-22-04-to-24-04-complains-about-held-broken-packages/55026/24 I tried uninstalling and reinstalling ubuntu-desktop and other similar meta pkgs, but to no avail. I tried removing ubuntu-desktop^, but that unfortunately removed a significant number of packages I did not want removed, so I restored the entire machine from a backup. - After restoring the backup from a relatively clean slate, I took the following steps: update, upgrade, snap-refresh, dist-upgrade (removed some cuda packages and nvidia drivers) ################################################## apt update apt upgrade The following packages have been kept back: - cuda-drivers + cuda-drivers The following packages will be upgraded: - cloud-init code google-chrome-stable libperl5.34 libpoppler-cpp0v5 libpoppler-glib8 libpoppler-qt5-1 libpoppler118 libsqlite3-0 libsqlite3-dev linux-libc-dev openjdk-11-jre openjdk-11-jre-headless openjdk-8-jre - openjdk-8-jre-headless perl perl-base perl-modules-5.34 poppler-utils sqlite3 + cloud-init code google-chrome-stable libperl5.34 libpoppler-cpp0v5 libpoppler-glib8 libpoppler-qt5-1 libpoppler118 libsqlite3-0 libsqlite3-dev linux-libc-dev openjdk-11-jre openjdk-11-jre-headless openjdk-8-jre + openjdk-8-jre-headless perl perl-base perl-modules-5.34 poppler-utils sqlite3 snap refresh apt dist-upgrade cuda-11-8 cuda-demo-suite-11-8 cuda-drivers cuda-drivers-545 cuda- runtime-11-8 apt dist-upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: - cuda-cccl-11-8 cuda-command-line-tools-11-8 cuda-compiler-11-8 cuda-cudart-11-8 cuda-cudart-dev-11-8 cuda-cuobjdump-11-8 cuda-cupti-11-8 cuda-cupti-dev-11-8 cuda-cuxxfilt-11-8 cuda-documentation-11-8 cuda-driver-dev-11-8 - cuda-gdb-11-8 cuda-libraries-11-8 cuda-libraries-dev-11-8 cuda-memcheck-11-8 cuda-nsight-11-8 cuda-nsight-compute-11-8 cuda-nsight-systems-11-8 cuda-nvcc-11-8 cuda-nvdisasm-11-8 cuda-nvml-dev-11-8 cuda-nvprof-11-8 - cuda-nvprune-11-8 cuda-nvrtc-11-8 cuda-nvrtc-dev-11-8 cuda-nvtx-11-8 cuda-nvvp-11-8 cuda-profiler-api-11-8 cuda-sanitizer-11-8 cuda-toolkit-11-8 cuda-toolkit-11-8-config-common cuda-toolkit-11-config-common - cuda-toolkit-config-common cuda-tools-11-8 cuda-visual-tools-11-8 dkms gds-tools-11-8 libcublas-11-8 libcublas-dev-11-8 libcufft-11-8 libcufft-dev-11-8 libcufile-11-8 libcufile-dev-11-8 libcurand-11-8 libcurand-dev-11-8 - libcusolver-11-8 libcusolver-dev-11-8 libcusparse-11-8 libcusparse-dev-11-8 libnpp-11-8 libnpp-dev-11-8 libnvidia-cfg1-545 libnvidia-common-545 libnvidia-decode-545 libnvidia-encode-545 libnvidia-extra-545 libnvidia-fbc1-545 - libnvidia-gl-545 libnvjpeg-11-8 libnvjpeg-dev-11-8 libtinfo5 nsight-compute-2022.3.0 nsight-systems-2022.4.2 nvidia-compute-utils-545 nvidia-dkms-545 nvidia-driver-545 nvidia-kernel-common-545 nvidia-kernel-source-545 - nvidia-modprobe nvidia-prime nvidia-settings nvidia-utils-545 screen-resolution-extra xserver-xorg-video-nvidia-545 + cuda-cccl-11-8 cuda-command-line-tools-11-8 cuda-compiler-11-8 cuda-cudart-11-8 cuda-cudart-dev-11-8 cuda-cuobjdump-11-8 cuda-cupti-11-8 cuda-cupti-dev-11-8 cuda-cuxxfilt-11-8 cuda-documentation-11-8 cuda-driver-dev-11-8 + cuda-gdb-11-8 cuda-libraries-11-8 cuda-libraries-dev-11-8 cuda-memcheck-11-8 cuda-nsight-11-8 cuda-nsight-compute-11-8 cuda-nsight-systems-11-8 cuda-nvcc-11-8 cuda-nvdisasm-11-8 cuda-nvml-dev-11-8 cuda-nvprof-11-8 + cuda-nvprune-11-8 cuda-nvrtc-11-8 cuda-nvrtc-dev-11-8 cuda-nvtx-11-8 cuda-nvvp-11-8 cuda-profiler-api-11-8 cuda-sanitizer-11-8 cuda-toolkit-11-8 cuda-toolkit-11-8-config-common cuda-toolkit-11-config-common + cuda-toolkit-config-common cuda-tools-11-8 cuda-visual-tools-11-8 dkms gds-tools-11-8 libcublas-11-8 libcublas-dev-11-8 libcufft-11-8 libcufft-dev-11-8 libcufile-11-8 libcufile-dev-11-8 libcurand-11-8 libcurand-dev-11-8 + libcusolver-11-8 libcusolver-dev-11-8 libcusparse-11-8 libcusparse-dev-11-8 libnpp-11-8 libnpp-dev-11-8 libnvidia-cfg1-545 libnvidia-common-545 libnvidia-decode-545 libnvidia-encode-545 libnvidia-extra-545 libnvidia-fbc1-545 + libnvidia-gl-545 libnvjpeg-11-8 libnvjpeg-dev-11-8 libtinfo5 nsight-compute-2022.3.0 nsight-systems-2022.4.2 nvidia-compute-utils-545 nvidia-dkms-545 nvidia-driver-545 nvidia-kernel-common-545 nvidia-kernel-source-545 + nvidia-modprobe nvidia-prime nvidia-settings nvidia-utils-545 screen-resolution-extra xserver-xorg-video-nvidia-545 Use 'apt autoremove' to remove them. ... The following packages will be REMOVED: - cuda-11-8 cuda-demo-suite-11-8 cuda-drivers cuda-drivers-545 cuda-runtime-11-8 + cuda-11-8 cuda-demo-suite-11-8 cuda-drivers cuda-drivers-545 cuda-runtime-11-8 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded. After this operation, 13.1 MB disk space will be freed. apt autoremove The following packages will be REMOVED: - cuda-cccl-11-8 cuda-command-line-tools-11-8 cuda-compiler-11-8 cuda-cudart-11-8 cuda-cudart-dev-11-8 cuda-cuobjdump-11-8 cuda-cupti-11-8 cuda-cupti-dev-11-8 cuda-cuxxfilt-11-8 cuda-documentation-11-8 cuda-driver-dev-11-8 - cuda-gdb-11-8 cuda-libraries-11-8 cuda-libraries-dev-11-8 cuda-memcheck-11-8 cuda-nsight-11-8 cuda-nsight-compute-11-8 cuda-nsight-systems-11-8 cuda-nvcc-11-8 cuda-nvdisasm-11-8 cuda-nvml-dev-11-8 cuda-nvprof-11-8 - cuda-nvprune-11-8 cuda-nvrtc-11-8 cuda-nvrtc-dev-11-8 cuda-nvtx-11-8 cuda-nvvp-11-8 cuda-profiler-api-11-8 cuda-sanitizer-11-8 cuda-toolkit-11-8 cuda-toolkit-11-8-config-common cuda-toolkit-11-config-common - cuda-toolkit-config-common cuda-tools-11-8 cuda-visual-tools-11-8 dkms gds-tools-11-8 libcublas-11-8 libcublas-dev-11-8 libcufft-11-8 libcufft-dev-11-8 libcufile-11-8 libcufile-dev-11-8 libcurand-11-8 libcurand-dev-11-8 - libcusolver-11-8 libcusolver-dev-11-8 libcusparse-11-8 libcusparse-dev-11-8 libnpp-11-8 libnpp-dev-11-8 libnvidia-cfg1-545 libnvidia-common-545 libnvidia-decode-545 libnvidia-encode-545 libnvidia-extra-545 libnvidia-fbc1-545 - libnvidia-gl-545 libnvjpeg-11-8 libnvjpeg-dev-11-8 libtinfo5 nsight-compute-2022.3.0 nsight-systems-2022.4.2 nvidia-compute-utils-545 nvidia-dkms-545 nvidia-driver-545 nvidia-kernel-common-545 nvidia-kernel-source-545 - nvidia-modprobe nvidia-prime nvidia-settings nvidia-utils-545 screen-resolution-extra xserver-xorg-video-nvidia-545 + cuda-cccl-11-8 cuda-command-line-tools-11-8 cuda-compiler-11-8 cuda-cudart-11-8 cuda-cudart-dev-11-8 cuda-cuobjdump-11-8 cuda-cupti-11-8 cuda-cupti-dev-11-8 cuda-cuxxfilt-11-8 cuda-documentation-11-8 cuda-driver-dev-11-8 + cuda-gdb-11-8 cuda-libraries-11-8 cuda-libraries-dev-11-8 cuda-memcheck-11-8 cuda-nsight-11-8 cuda-nsight-compute-11-8 cuda-nsight-systems-11-8 cuda-nvcc-11-8 cuda-nvdisasm-11-8 cuda-nvml-dev-11-8 cuda-nvprof-11-8 + cuda-nvprune-11-8 cuda-nvrtc-11-8 cuda-nvrtc-dev-11-8 cuda-nvtx-11-8 cuda-nvvp-11-8 cuda-profiler-api-11-8 cuda-sanitizer-11-8 cuda-toolkit-11-8 cuda-toolkit-11-8-config-common cuda-toolkit-11-config-common + cuda-toolkit-config-common cuda-tools-11-8 cuda-visual-tools-11-8 dkms gds-tools-11-8 libcublas-11-8 libcublas-dev-11-8 libcufft-11-8 libcufft-dev-11-8 libcufile-11-8 libcufile-dev-11-8 libcurand-11-8 libcurand-dev-11-8 + libcusolver-11-8 libcusolver-dev-11-8 libcusparse-11-8 libcusparse-dev-11-8 libnpp-11-8 libnpp-dev-11-8 libnvidia-cfg1-545 libnvidia-common-545 libnvidia-decode-545 libnvidia-encode-545 libnvidia-extra-545 libnvidia-fbc1-545 + libnvidia-gl-545 libnvjpeg-11-8 libnvjpeg-dev-11-8 libtinfo5 nsight-compute-2022.3.0 nsight-systems-2022.4.2 nvidia-compute-utils-545 nvidia-dkms-545 nvidia-driver-545 nvidia-kernel-common-545 nvidia-kernel-source-545 + nvidia-modprobe nvidia-prime nvidia-settings nvidia-utils-545 screen-resolution-extra xserver-xorg-video-nvidia-545 0 upgraded, 0 newly installed, 74 to remove and 0 not upgraded. ################################################## Also tried doing the suggestion at `https://askubuntu.com/questions/1525143/upgrading- from-20-04-to-22-04-fails`. `sudo apt install --reinstall snapd` However, that didn't change anything. - I also took a look at the sources where I assume ppa packages are. After looking through the sources, I was unsure if any of them were causing the problem. I just assumed not and did not do anything to try to change them. Maybe the problem could be here? I can post post the contents of the /etc/apt/source.list.d files upon request. ################################################## - /etc/apt# cat sources.list # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu jammy main restricted # deb-src http://us.archive.ubuntu.com/ubuntu jammy main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted # deb-src http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu jammy universe # deb-src http://us.archive.ubuntu.com/ubuntu jammy universe deb http://us.archive.ubuntu.com/ubuntu jammy-updates universe # deb-src http://us.archive.ubuntu.com/ubuntu jammy-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu jammy multiverse # deb-src http://us.archive.ubuntu.com/ubuntu jammy multiverse deb http://us.archive.ubuntu.com/ubuntu jammy-updates multiverse # deb-src http://us.archive.ubuntu.com/ubuntu jammy-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse # deb-src http://us.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse deb http://us.archive.ubuntu.com/ubuntu jammy-security main restricted # deb-src http://us.archive.ubuntu.com/ubuntu jammy-security main restricted deb http://us.archive.ubuntu.com/ubuntu jammy-security universe # deb-src http://us.archive.ubuntu.com/ubuntu jammy-security universe deb http://us.archive.ubuntu.com/ubuntu jammy-security multiverse # deb-src http://us.archive.ubuntu.com/ubuntu jammy-security multiverse ################################################## /etc/apt/sources.list.d# ls -alh total 88K drwxr-xr-x 2 root root 4.0K Aug 3 13:49 . drwxr-xr-x 8 root root 4.0K Aug 3 13:49 .. -rw-r--r-- 1 root root 228 Aug 3 14:12 archive_uri-https_developer_download_nvidia_com_compute_cuda_repos_ubuntu2204_x86_64_-jammy.list -rw-r--r-- 1 root root 228 Aug 3 14:11 archive_uri-https_developer_download_nvidia_com_compute_cuda_repos_ubuntu2204_x86_64_-jammy.list.distUpgrade -rw-r--r-- 1 root root 228 Mar 20 2024 archive_uri-https_developer_download_nvidia_com_compute_cuda_repos_ubuntu2204_x86_64_-jammy.list.save -rw-r--r-- 1 root root 148 Aug 3 14:12 deadsnakes-ubuntu-ppa-jammy.list -rw-r--r-- 1 root root 148 Aug 3 14:11 deadsnakes-ubuntu-ppa-jammy.list.distUpgrade -rw-r--r-- 1 root root 148 Mar 20 2024 deadsnakes-ubuntu-ppa-jammy.list.save -rw-r--r-- 1 root root 190 Aug 3 14:12 google-chrome.list -rw-r--r-- 1 root root 190 Aug 3 14:11 google-chrome.list.distUpgrade -rw-r--r-- 1 root root 190 Mar 20 2024 google-chrome.list.save -rw-r--r-- 1 root root 160 Aug 3 14:12 graphics-drivers-ubuntu-ppa-jammy.list -rw-r--r-- 1 root root 160 Aug 3 14:11 graphics-drivers-ubuntu-ppa-jammy.list.distUpgrade -rw-r--r-- 1 root root 160 Mar 20 2024 graphics-drivers-ubuntu-ppa-jammy.list.save -rw-r--r-- 1 root root 107 Aug 3 14:12 kitware.list -rw-r--r-- 1 root root 107 Aug 3 14:11 kitware.list.distUpgrade -rw-r--r-- 1 root root 107 Mar 20 2024 kitware.list.save -rw-r--r-- 1 root root 150 Aug 3 14:12 mozillateam-ubuntu-ppa-jammy.list -rw-r--r-- 1 root root 150 Aug 3 14:11 mozillateam-ubuntu-ppa-jammy.list.distUpgrade -rw-r--r-- 1 root root 150 Mar 20 2024 mozillateam-ubuntu-ppa-jammy.list.save -rw-r--r-- 1 root root 203 Mar 20 2024 vscode.list.save -rw-r--r-- 1 root root 290 Aug 3 13:20 vscode.sources ################################################## I have also taken a look through /var/log/dist-upgrade main.log and apt.log. DEBUG Installing 'linux-oracle' (linux metapackage may have been accidentally uninstalled) 2025-08-03 14:12:25,103 DEBUG none of the '['ubuntu-desktop', 'kubuntu-desktop', 'xubuntu-core', 'xubuntu-desktop', 'ubuntustudio-desktop', 'lubuntu-desktop', 'ubuntu-gnome-desktop', 'ubuntu-mate-core', 'ubuntu-mate-desktop', 'ubuntukylin-desktop', 'ubuntu-budgie-desktop']' meta-pkgs installed 2025-08-03 14:12:25,103 DEBUG guessing 'ubuntu-mate-core' as missing meta-pkg 2025-08-03 14:12:25,280 ERROR failed to mark 'ubuntu-mate-core' for install (E:Unable to correct problems, you have held broken packages.) 2025-08-03 14:12:25,417 ERROR Dist-upgrade failed: 'Broken packages after upgrade: ubuntu-mate-core' - - ubuntu-desktop or ubuntu-gnome-desktop would be preferred over ubuntu-mate-core if I have to install one of those. + ubuntu-desktop or ubuntu-gnome-desktop would be preferred over ubuntu- + mate-core if I have to install one of those. + Not sure what I should do in my situation. - Any help would be much appreciated. Thanks! ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: ubuntu-release-upgrader-core 1:22.04.20 ProcVersionSignature: Ubuntu 5.15.0-1045.51-oracle 5.15.122 Uname: Linux 5.15.0-1045-oracle x86_64 ApportVersion: 2.20.11-0ubuntu82.9 Architecture: amd64 CasperMD5CheckResult: pass CrashDB: ubuntu CurrentDesktop: ubuntu:GNOME Date: Sun Aug 3 13:57:39 2025 InstallationDate: Installed on 2022-06-30 (1130 days ago) InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader UpgradeStatus: Upgraded to jammy on 2025-08-03 (0 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2119413 Title: do-release-upgrade 22.04 to 24.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2119413/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
