Unable to upgrade Kubuntu 22.04 LTS to 24.04 LTS, "Could not calculate the upgrade"

Ubuntu Version:
Kubuntu 22.04.5 LTS x86_64

Desktop Environment:
KDE Plasma

Problem Description:
I’m trying to upgrade my Kubuntu from 22.04.5 LTS (according to neofetch) to 24.04. The upgrade fails and I’m told I should check both main.log and apt.log. Main.log reports the following:

https://paste.ubuntu.com/p/rzZZ8Y8YG9/

Of note is the following:

ERROR Dist-upgrade failed: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'

Apt.log reports several broken packages.

https://paste.ubuntu.com/p/QN2VM8dhP7/

These are the broken packages

Broken coreutils:amd64 Breaks on usrmerge:amd64 < 25ubuntu2 @ii mK > (< 39)
Broken python3:amd64 Conflicts on python3-distutils:amd64 < 3.10.8-1~22.04 @ii mK Ib >
Broken nodejs:amd64 Breaks on libnode72:amd64 < 12.22.9~dfsg-1ubuntu3.6 @ii mK > (< 13)
Broken libtss2-mu-4.0.1-0t64:amd64 Conflicts on libtss2-mu0:amd64 < 3.2.0-1ubuntu1.1 @ii mK >
Broken libkwinglutils14:amd64 Breaks on libkwinglutils13:amd64 < 4:5.24.7-0ubuntu0.2 @ii mK >
Broken libkf5screen-data:amd64 Breaks on libkf5screen7:amd64 < 4:5.24.4-0ubuntu1 @ii mK > (< 4:5.27.0~)
Broken libkwineffects14:amd64 Breaks on libkwineffects13:amd64 < 4:5.24.7-0ubuntu0.2 @ii mK Ib >
Broken wireplumber:amd64 Conflicts on pipewire-media-session:amd64 < 0.4.1-2ubuntu1 @ii gK Ib >
Broken libpcre3:amd64 Breaks on libpcre3:i386 < 2:8.39-13ubuntu0.22.04.1 @ii gK Ib > (!= 2:8.39-15build1)
Broken libtss2-tctildr0t64:amd64 Depends on libtss2-tcti-libtpms0t64:amd64 < none | 4.0.1-7.1ubuntu5.1 @un umH >
Broken libiw30t64:amd64 Conflicts on libiw30:amd64 < 30~pre9-13.1ubuntu4 @ii mK > (< 30~pre9-16.1ubuntu2)
Broken libkpmcore12:amd64 Breaks on libkpmcore11:amd64 < 21.12.3-0ubuntu1 @ii mK >
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken libk3b8:amd64 Breaks on libk3b7:amd64 < 21.12.3-0ubuntu1 @ii mK >
Broken libgs-common:amd64 Breaks on libgs9-common:amd64 < 9.55.0~dfsg1-0ubuntu5.11 @ii mK > (< 10)
Broken libk3b-extracodecs:amd64 Breaks on libk3b7-extracodecs:amd64 < 21.12.3-0ubuntu1 @ii mK Ib >
Broken libstb0t64:amd64 Breaks on libstb0:i386 < 0.0~git20210910.af1a5bc+ds-1 @ii mK > (< 0.0~git20230129.5736b15+ds-1.2)
Broken libvkd3d1:amd64 Breaks on libvkd3d1:i386 < 1.1-5 @ii mK Ib > (!= 1.2-15build1)
Broken libfaudio0:amd64 Breaks on libfaudio0:i386 < 22.02-1 @ii mK Ib > (!= 24.02+dfsg-1build2)
Broken libgs9:amd64 Depends on libgs9-common:amd64 < 9.55.0~dfsg1-0ubuntu5.11 @ii mR > (= 9.55.0~dfsg1-0ubuntu5.11)
Broken python3.10-venv:amd64 Depends on python3.10-distutils:amd64 < none @un mH >
Broken libpulsedsp:amd64 Depends on libpulse0:amd64 < 1:15.99.1+dfsg1-1ubuntu2.2 -> 1:16.1+dfsg1-2ubuntu10.1 @ii umU > (= 1:15.99.1+dfsg1-1ubuntu2.2)
Broken libfwupdplugin5:amd64 Depends on libfwupd2:amd64 < 1.7.9-1~22.04.3 -> 1.9.28-0ubuntu1~24.04.1 @ii umU > (= 1.7.9-1~22.04.3)
Broken libgnustep-base1.28:amd64 Depends on gnustep-base-common:amd64 < 1.28.0-4build1 -> 1.29.0-7ubuntu4 @ii umU > (= 1.28.0-4build1)
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken libopenconnect5:amd64 Depends on libtss2-tctildr0t64:amd64 < none | 4.0.1-7.1ubuntu5.1 @un umH > (>= 3.0.1)
Broken plasma-nm:amd64 Depends on libopenconnect5:amd64 < 8.20-1 | 9.12-1build5 @ii umR > (>= 9.00)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken openconnect:amd64 Depends on libopenconnect5:amd64 < 8.20-1 | 9.12-1build5 @ii umR > (>= 9.12)
Broken network-manager-openconnect:amd64 Depends on openconnect:amd64 < none | 9.12-1build5 @un uH >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >
Broken fontconfig-config:amd64 Breaks on kubuntu-settings-desktop:amd64 < 1:22.04.10 | 1:24.04.13 @ii umH > (< 1:23.04.3)
Broken kubuntu-settings-desktop:amd64 Conflicts on desktop-base:amd64 < 11.0.3ubuntu1 -> 12.0.6+nmu1ubuntu1 @ii umU >

I assume multiple broken packages are holding back the upgrade, and I have reduced the number of Broken packages by uninstalling GIMP (it worked just fine, but it was listed in apt.log, so I removed it and it no longer shows up as an issue). I am really scared of deleting packages that appeared to just show up on my computer after two years of user, so I would appreciate some guidance. Specially considering that fontconfig-config and kubuntu-settings-desktop appear multiple times and they seem to be pretty mayor packages.

Relevant System Information:

The only external source I have is the Google Chrome repo.

Screenshots or Error Messages:

Screenshot_20250329_200255

What I’ve Tried:

Removed all unnecessary repos from source list
Used ppa-purge tool as suggested
Reinstalled fontconfig-config with the following command:

sudo apt-get install --reinstall --purge fontconfig-config

The following prompts return nothing at all:

sudo dpkg -C
sudo dpkg --configure -a

Hello mrfrancho - Welcome to Ubuntu Discourse :smiley:

Let’s start this fault isolation procedure with a look at what the package manager thinks.
Post back the outputs of terminal commands - between code tags (</>):

sudo apt update
sudo apt upgrade

-see where we jump to-

Hello! Thanks for the warm welcome

Results of sudo apt update (the docker repo does NOT show up in my source list. Weird)

francho@francho-ROG-Zephyrus-M16-GU603HE:~$ sudo apt update
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease     
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:6 http://archive.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Fetched 257 kB in 2s (143 kB/s)   
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

Results of sudo apt upgrade

udo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  vlc-plugin-qt libvlc5 libzvbi-common vlc-data python3-tornado libvlccore9
  libzbar0 libheif1 vlc imagemagick vlc-bin libpathplan4 vlc-l10n node-ip
  graphviz libavdevice58 libgvpr2 libgvc6 ffmpeg libopenexr25 libpostproc55
  libcgraph6 libmagickcore-6.q16-6-extra vlc-plugin-samba zbar-tools libcdt5
  libavcodec58 libmagickwand-6.q16-6 vlc-plugin-notify libavutil56
  imagemagick-6.q16 libswscale5 libeditorconfig0 libmagickcore-6.q16-6
  vlc-plugin-access-extra vlc-plugin-skins2 vlc-plugin-video-splitter
  liblab-gamut1 libswresample3 imagemagick-6-common vlc-plugin-video-output
  libavformat58 libzvbi0 libde265-0 libvlc-bin vlc-plugin-base
  vlc-plugin-visualization libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Hummm – Looks good
Apt seems in a happy state. Not at all though what I had expected.

Broken packages - that apt does not see ?
what now results -

sudo dpkg -C

If dpkg see no problems will simply return to prompt.

-sometimes i wonder; other times I do not know-

Sadly, the sudo dpkg -C command returns to prompt

sadly not - a good thing that dpkg also sees no broken packages.

I am at a loss to explain all that debug output.
For cheap insurance before going further.
what results:

sudo dpkg --configure -a

-still a wonder-ing-

Again, nothing. It’s returning to prompt again. I will edit the main post to include all of these steps, again, thank you!

Help is what we do

At this point i make the suggestion to
grab this bull by the horns and jump - see if we ride

sudo do-release-upgrade

-in for a penny-

I’m so glad I found someone like you, frankly I’ve been racking my brain for months now!

Here’s the result from the command

Get:1 Upgrade tool signature [833 B]                                                                                                         
Get:2 Upgrade tool [1.277 kB]                                                                                                                
Fetched 1.278 kB in 0s (0 B/s)                                                                                                               
authenticate 'noble.tar.gz' against 'noble.tar.gz.gpg' 
extracting 'noble.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Hit https://download.docker.com/linux/ubuntu jammy InRelease                                                                                 
Hit https://dl.google.com/linux/chrome/deb stable InRelease                                                                                  
Hit http://archive.ubuntu.com/ubuntu jammy InRelease                                                                                         
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]                                                                      
Hit http://archive.ubuntu.com/ubuntu jammy-backports InRelease                                                                               
Get:2 http://archive.ubuntu.com/ubuntu jammy-security InRelease [129 kB]                                                                     
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1.196 kB]                                                      
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [762 kB]                                                         
Fetched 2.215 kB in 0s (0 B/s)                                                                                                               
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

Checking for installed snaps

Calculating snap size requirements

Updating repository information

Third party sources disabled 

Some third party entries in your sources.list were disabled. You can 
re-enable them after the upgrade with the 'software-properties' tool 
or your package manager. 

To continue please press [ENTER]

Hit https://download.docker.com/linux/ubuntu jammy InRelease                                                                                 
Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]                                                                    
Get:2 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]                                                                              
Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [711 kB]                                                          
Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]                                                                      
Get:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]                                                                    
Get:6 http://security.ubuntu.com/ubuntu noble-security/main i386 Packages [253 kB]                                                           
Get:7 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1.401 kB]                                                                  
Get:8 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [136 kB]                                                          
Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 DEP-11 Metadata [8.996 B]                                                  
Get:10 http://security.ubuntu.com/ubuntu noble-security/main DEP-11 48x48 Icons [10,0 kB]                                                    
Get:11 http://security.ubuntu.com/ubuntu noble-security/main DEP-11 64x64 Icons [14,8 kB]                                                    
Get:12 http://security.ubuntu.com/ubuntu noble-security/main DEP-11 64x64@2 Icons [29 B]                                                     
Get:13 http://security.ubuntu.com/ubuntu noble-security/main DEP-11 128x128 Icons [28,5 kB]                                                  
Get:14 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [7.068 B]                                                  
Get:15 http://security.ubuntu.com/ubuntu noble-security/restricted i386 Packages [15,6 kB]                                                   
Get:16 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [810 kB]                                                   
Get:17 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [164 kB]                                                   
Get:18 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 DEP-11 Metadata [212 B]                                             
Get:19 http://security.ubuntu.com/ubuntu noble-security/restricted DEP-11 48x48 Icons [29 B]                                                 
Get:20 http://security.ubuntu.com/ubuntu noble-security/restricted DEP-11 64x64 Icons [29 B]                                                 
Get:21 http://security.ubuntu.com/ubuntu noble-security/restricted DEP-11 64x64@2 Icons [29 B]                                               
Get:22 http://security.ubuntu.com/ubuntu noble-security/restricted DEP-11 128x128 Icons [29 B]                                               
Get:23 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 c-n-f Metadata [468 B]                                              
Get:24 http://security.ubuntu.com/ubuntu noble-security/universe i386 Packages [510 kB]                                                      
Get:25 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [822 kB]                                                     
Get:26 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [177 kB]                                                     
Get:27 http://security.ubuntu.com/ubuntu noble-security/universe amd64 DEP-11 Metadata [52,0 kB]                                             
Get:28 http://archive.ubuntu.com/ubuntu noble/main i386 Packages [1.041 kB]                                                                  
Get:29 http://security.ubuntu.com/ubuntu noble-security/universe DEP-11 48x48 Icons [45,0 kB]                                                
Get:30 http://security.ubuntu.com/ubuntu noble-security/universe DEP-11 64x64 Icons [70,7 kB]                                                
Get:31 http://security.ubuntu.com/ubuntu noble-security/universe DEP-11 64x64@2 Icons [29 B]                                                 
Get:32 http://security.ubuntu.com/ubuntu noble-security/universe DEP-11 128x128 Icons [146 kB]                                               
Get:33 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [17,0 kB]                                              
Get:34 http://archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]                                                                   
Get:35 http://archive.ubuntu.com/ubuntu noble/main amd64 DEP-11 Metadata [464 kB]                                                            
Get:36 http://security.ubuntu.com/ubuntu noble-security/multiverse i386 Packages [2.896 B]                                                   
Get:37 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [17,6 kB]                                                  
Get:38 http://archive.ubuntu.com/ubuntu noble/main DEP-11 48x48 Icons [106 kB]                                                               
Get:39 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [3.792 B]                                                  
Get:40 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 DEP-11 Metadata [208 B]                                             
Get:41 http://archive.ubuntu.com/ubuntu noble/main DEP-11 64x64 Icons [156 kB]                                                               
Get:42 http://archive.ubuntu.com/ubuntu noble/main DEP-11 64x64@2 Icons [21,8 kB]                                                            
Get:43 http://archive.ubuntu.com/ubuntu noble/main DEP-11 128x128 Icons [328 kB]                                                             
Get:44 http://archive.ubuntu.com/ubuntu noble/main amd64 c-n-f Metadata [30,5 kB]                                                            
Get:45 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [93,9 kB]                                                            
Get:46 http://archive.ubuntu.com/ubuntu noble/restricted i386 Packages [14,7 kB]                                                             
Get:47 http://archive.ubuntu.com/ubuntu noble/restricted Translation-en [18,7 kB]                                                            
Get:48 http://security.ubuntu.com/ubuntu noble-security/multiverse DEP-11 48x48 Icons [29 B]                                                 
Get:49 http://security.ubuntu.com/ubuntu noble-security/multiverse DEP-11 64x64 Icons [29 B]                                                 
Get:50 http://security.ubuntu.com/ubuntu noble-security/multiverse DEP-11 64x64@2 Icons [29 B]                                               
Get:51 http://security.ubuntu.com/ubuntu noble-security/multiverse DEP-11 128x128 Icons [29 B]                                               
Get:52 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [380 B]                                              
Get:53 http://archive.ubuntu.com/ubuntu noble/restricted amd64 c-n-f Metadata [416 B]                                                        
Get:54 http://archive.ubuntu.com/ubuntu noble/universe i386 Packages [8.514 kB]                                                              
Get:55 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15,0 MB]                                                              
Get:56 http://archive.ubuntu.com/ubuntu noble/universe Translation-en [5.982 kB]                                                             
Get:57 http://archive.ubuntu.com/ubuntu noble/universe amd64 DEP-11 Metadata [3.871 kB]                                                      
Get:58 http://archive.ubuntu.com/ubuntu noble/universe DEP-11 48x48 Icons [3.717 kB]                                                         
Get:59 http://archive.ubuntu.com/ubuntu noble/universe DEP-11 64x64 Icons [7.747 kB]                                                         
Get:60 http://archive.ubuntu.com/ubuntu noble/universe DEP-11 64x64@2 Icons [75,0 kB]                                                        
Get:61 http://archive.ubuntu.com/ubuntu noble/universe DEP-11 128x128 Icons [12,4 MB]                                                        
Get:62 http://archive.ubuntu.com/ubuntu noble/universe amd64 c-n-f Metadata [301 kB]                                                         
Get:63 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [269 kB]                                                             
Get:64 http://archive.ubuntu.com/ubuntu noble/multiverse i386 Packages [126 kB]                                                              
Get:65 http://archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB]                                                             
Get:66 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 DEP-11 Metadata [35,0 kB]                                                     
Get:67 http://archive.ubuntu.com/ubuntu noble/multiverse DEP-11 48x48 Icons [56,1 kB]                                                        
Get:68 http://archive.ubuntu.com/ubuntu noble/multiverse DEP-11 64x64 Icons [186 kB]                                                         
Get:69 http://archive.ubuntu.com/ubuntu noble/multiverse DEP-11 64x64@2 Icons [904 B]                                                        
Get:70 http://archive.ubuntu.com/ubuntu noble/multiverse DEP-11 128x128 Icons [279 kB]                                                       
Get:71 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 c-n-f Metadata [8.328 B]                                                      
Get:72 http://archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [444 kB]                                                            
Get:73 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [960 kB]                                                           
Get:74 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [213 kB]                                                           
Get:75 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 DEP-11 Metadata [151 kB]                                                    
Get:76 http://archive.ubuntu.com/ubuntu noble-updates/main DEP-11 48x48 Icons [31,3 kB]                                                      
Get:77 http://archive.ubuntu.com/ubuntu noble-updates/main DEP-11 64x64 Icons [44,5 kB]                                                      
Get:78 http://archive.ubuntu.com/ubuntu noble-updates/main DEP-11 64x64@2 Icons [29 B]                                                       
Get:79 http://archive.ubuntu.com/ubuntu noble-updates/main DEP-11 128x128 Icons [99,4 kB]                                                    
Get:80 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [13,5 kB]                                                    
Get:81 http://archive.ubuntu.com/ubuntu noble-updates/restricted i386 Packages [15,8 kB]                                                     
Get:82 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [842 kB]                                                     
Get:83 http://archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [170 kB]                                                     
Get:84 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 DEP-11 Metadata [212 B]                                               
Get:85 http://archive.ubuntu.com/ubuntu noble-updates/restricted DEP-11 48x48 Icons [29 B]                                                   
Get:86 http://archive.ubuntu.com/ubuntu noble-updates/restricted DEP-11 64x64 Icons [29 B]                                                   
Get:87 http://archive.ubuntu.com/ubuntu noble-updates/restricted DEP-11 64x64@2 Icons [29 B]                                                 
Get:88 http://archive.ubuntu.com/ubuntu noble-updates/restricted DEP-11 128x128 Icons [29 B]                                                 
Get:89 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 c-n-f Metadata [492 B]                                                
Get:90 http://archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [633 kB]                                                        
Get:91 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1.044 kB]                                                     
Get:92 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [263 kB]                                                       
Get:93 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 DEP-11 Metadata [365 kB]                                                
Get:94 http://archive.ubuntu.com/ubuntu noble-updates/universe DEP-11 48x48 Icons [222 kB]                                                   
Get:95 http://archive.ubuntu.com/ubuntu noble-updates/universe DEP-11 64x64 Icons [344 kB]                                                   
Get:96 http://archive.ubuntu.com/ubuntu noble-updates/universe DEP-11 64x64@2 Icons [29 B]                                                   
Get:97 http://archive.ubuntu.com/ubuntu noble-updates/universe DEP-11 128x128 Icons [743 kB]                                                 
Get:98 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [26,0 kB]                                                
Get:99 http://archive.ubuntu.com/ubuntu noble-updates/multiverse i386 Packages [3.648 B]                                                     
Get:100 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [21,5 kB]                                                   
Get:101 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [4.788 B]                                                   
Get:102 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 DEP-11 Metadata [940 B]                                              
Get:103 http://archive.ubuntu.com/ubuntu noble-updates/multiverse DEP-11 48x48 Icons [1.867 B]                                               
Get:104 http://archive.ubuntu.com/ubuntu noble-updates/multiverse DEP-11 64x64 Icons [2.497 B]                                               
Get:105 http://archive.ubuntu.com/ubuntu noble-updates/multiverse DEP-11 64x64@2 Icons [29 B]                                                
Get:106 http://archive.ubuntu.com/ubuntu noble-updates/multiverse DEP-11 128x128 Icons [29 B]                                                
Get:107 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 c-n-f Metadata [592 B]                                               
Get:108 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [39,1 kB]                                                       
Get:109 http://archive.ubuntu.com/ubuntu noble-backports/main i386 Packages [31,8 kB]                                                        
Get:110 http://archive.ubuntu.com/ubuntu noble-backports/main Translation-en [8.676 B]                                                       
Get:111 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 DEP-11 Metadata [7.084 B]                                                
Get:112 http://archive.ubuntu.com/ubuntu noble-backports/main DEP-11 48x48 Icons [9.518 B]                                                   
Get:113 http://archive.ubuntu.com/ubuntu noble-backports/main DEP-11 64x64 Icons [11,2 kB]                                                   
Get:114 http://archive.ubuntu.com/ubuntu noble-backports/main DEP-11 64x64@2 Icons [29 B]                                                    
Get:115 http://archive.ubuntu.com/ubuntu noble-backports/main DEP-11 128x128 Icons [21,2 kB]                                                 
Get:116 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 c-n-f Metadata [272 B]                                                   
Get:117 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 DEP-11 Metadata [216 B]                                            
Get:118 http://archive.ubuntu.com/ubuntu noble-backports/restricted DEP-11 48x48 Icons [29 B]                                                
Get:119 http://archive.ubuntu.com/ubuntu noble-backports/restricted DEP-11 64x64 Icons [29 B]                                                
Get:120 http://archive.ubuntu.com/ubuntu noble-backports/restricted DEP-11 64x64@2 Icons [29 B]                                              
Get:121 http://archive.ubuntu.com/ubuntu noble-backports/restricted DEP-11 128x128 Icons [29 B]                                              
Get:122 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 c-n-f Metadata [116 B]                                             
Get:123 http://archive.ubuntu.com/ubuntu noble-backports/universe i386 Packages [13,8 kB]                                                    
Get:124 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [26,4 kB]                                                   
Get:125 http://archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [16,3 kB]                                                   
Get:126 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 DEP-11 Metadata [15,8 kB]                                            
Get:127 http://archive.ubuntu.com/ubuntu noble-backports/universe DEP-11 48x48 Icons [17,4 kB]                                               
Get:128 http://archive.ubuntu.com/ubuntu noble-backports/universe DEP-11 64x64 Icons [24,3 kB]                                               
Get:129 http://archive.ubuntu.com/ubuntu noble-backports/universe DEP-11 64x64@2 Icons [29 B]                                                
Get:130 http://archive.ubuntu.com/ubuntu noble-backports/universe DEP-11 128x128 Icons [37,7 kB]                                             
Get:131 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 c-n-f Metadata [1.304 B]                                             
Get:132 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 DEP-11 Metadata [212 B]                                            
Get:133 http://archive.ubuntu.com/ubuntu noble-backports/multiverse DEP-11 48x48 Icons [29 B]                                                
Get:134 http://archive.ubuntu.com/ubuntu noble-backports/multiverse DEP-11 64x64 Icons [29 B]                                                
Get:135 http://archive.ubuntu.com/ubuntu noble-backports/multiverse DEP-11 64x64@2 Icons [29 B]                                              
Get:136 http://archive.ubuntu.com/ubuntu noble-backports/multiverse DEP-11 128x128 Icons [29 B]                                              
Get:137 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 c-n-f Metadata [116 B]                                             
Fetched 74,5 MB in 6s (6.837 kB/s)                                                                                                           

Checking package manager
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

Calculating the changes

Calculating the changes

Could not calculate the upgrade 

An unresolvable problem occurred while calculating the upgrade. 

This was likely caused by: 
* Unofficial software packages not provided by Ubuntu 
Please use the tool 'ppa-purge' from the ppa-purge 
package to remove software from a Launchpad PPA and 
try the upgrade again. 

If none of this applies, then please report this bug using the 
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If 
you want to investigate this yourself the log files in 
'/var/log/dist-upgrade' will contain details about the upgrade. 
Specifically, look at 'main.log' and 'apt.log'. 


Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

So… no luck

Here there are lots like me — nothing special here.
We believe in open source – and the system(s) of choice is 'Buntu :smiley:

Let us take the upgrade manager’s hint and have a look.

cat /etc/apt/sources.list
tail -v -n +1 /etc/apt/sources.list.d/* 

-maybe we see where the stink comes from-

Awesome!

Here’s the result of the first command

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu jammy main restricted
# deb-src http://ar.archive.ubuntu.com/ubuntu/ jammy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted
# deb-src http://ar.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://archive.ubuntu.com/ubuntu jammy universe
# deb-src http://ar.archive.ubuntu.com/ubuntu/ jammy universe
deb http://archive.ubuntu.com/ubuntu jammy-updates universe
# deb-src http://ar.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://archive.ubuntu.com/ubuntu jammy multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://archive.ubuntu.com/ubuntu jammy-updates multiverse
# deb-src http://ar.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://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
deb http://archive.ubuntu.com/ubuntu jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
deb http://archive.ubuntu.com/ubuntu jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

And here’s the result of the second

==> /etc/apt/sources.list.d/docker.list <==
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu   jammy stable

==> /etc/apt/sources.list.d/docker.list.distUpgrade <==
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu   jammy stable

==> /etc/apt/sources.list.d/docker.list.save <==
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu   jammy stable

==> /etc/apt/sources.list.d/google-chrome.list <==
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

==> /etc/apt/sources.list.d/google-chrome.list.distUpgrade <==
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

==> /etc/apt/sources.list.d/google-chrome.list.save <==
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

Hummmm —

All in the sources I can point a finger at is the extra white space between “linux/ubuntu jammy” - and that is only a maybe - as I do know how the file is parsed – in a YAML file the spacing is critical.
/etc/apt/sources.list.d/docker.list
Nor can I see this as a source of the warnings we see.

However - fix it to one space and run:

sudo apt update
sudo apt dist-upgrade

dist-upgrade is but a different invocation for apt to fetch.
for my instance:

sysop@Xm2404:~$ sudo apt update
<snip>
All packages are up to date.
sysop@Xm2404:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libzvbi-common libavcodec-extra libcjson1 libpostproc57 libzvbi0t64
  libavcodec-extra60 libavutil58 libswscale7 libswresample4 libavformat60
  libavfilter9
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sysop@Xm2404:~$

Maybe dist-upgrade will tell us something different.

-I got my doubts about it ♪-

Hello. I’m learning Linux and Ubuntu. Reading about errors and solutions is one way to do this. So I took a look at your ‘Main.log’ and was wondering about the error(s) reported in line 130 and 131 (gpg error and unavailable public keys). What are those about?

Just curious …

Kind Regards
Gerhard

I’ve removed the extra spaces in the docker source list and this is now how it looks

francho@francho-ROG-Zephyrus-M16-GU603HE:~$ tail -v -n +1 /etc/apt/sources.list.d/* 
==> /etc/apt/sources.list.d/docker.list <==
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu jammy stable

==> /etc/apt/sources.list.d/docker.list.distUpgrade <==
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu jammy stable

==> /etc/apt/sources.list.d/docker.list.save <==
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu jammy stable

==> /etc/apt/sources.list.d/google-chrome.list <==
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

==> /etc/apt/sources.list.d/google-chrome.list.distUpgrade <==
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

==> /etc/apt/sources.list.d/google-chrome.list.save <==
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

I then ran

francho@francho-ROG-Zephyrus-M16-GU603HE:~$ sudo apt update
[sudo] password for francho: 
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease               
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease                      
Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

francho@francho-ROG-Zephyrus-M16-GU603HE:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  vlc-plugin-qt libvlc5 libzvbi-common vlc-data python3-tornado libvlccore9
  libzbar0 libheif1 vlc imagemagick vlc-bin libpathplan4 vlc-l10n node-ip
  graphviz libavdevice58 libgvpr2 libgvc6 ffmpeg libopenexr25 libpostproc55
  libcgraph6 libmagickcore-6.q16-6-extra vlc-plugin-samba zbar-tools libcdt5
  libavcodec58 libmagickwand-6.q16-6 vlc-plugin-notify libavutil56
  imagemagick-6.q16 libswscale5 libeditorconfig0 libmagickcore-6.q16-6
  vlc-plugin-access-extra vlc-plugin-skins2 vlc-plugin-video-splitter
  liblab-gamut1 libswresample3 imagemagick-6-common vlc-plugin-video-output
  libavformat58 libzvbi0 libde265-0 libvlc-bin vlc-plugin-base
  vlc-plugin-visualization libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Nothing different I don’t think :upside_down_face:

apt dist-upgrade does NOT upgrade your system to a new release but just updating all packages.
To upgrade your system to a new release you must use
do-release-upgrade
https://www.reddit.com/r/Ubuntu/comments/i4tzrn/apt_distupgrade_vs_doreleaseupgrade_vs/?rdt=33108

That was the initial issue :wink: do-release-upgrade failed due to out of sync third party packages …

1 Like

I’ve tried to update again and nothing is fixed. I’d really appreciate some help! Or even just a pointer to know WHAT to do or where to begin.

Sorry for repetition: Did you check the reported errors in ‘Main.log’ on lines 130 and 131?

Ohh, sorry. I didn’t update the log files. I have since removed all those sources, here’s the updated main and apt logs

Main.log:
https://paste.ubuntu.com/p/D5jtQQn72y/

Apt.log:
https://paste.ubuntu.com/p/xvgJtTY2Xy/

Problem>> Considering desktop-base:amd64 1 as a solution to kubuntu-settings-desktop:amd64 1

  MarkKeep kubuntu-settings-desktop:amd64 < 1:22.04.10 -> 1:24.04.13 @ii umU Ib > FU=0
  Holding Back kubuntu-settings-desktop:amd64 rather than change desktop-base:amd64
Done

I’m still reading the logs.

2 Likes