0

A few days ago I updated two machines from 22.04 to 24.04.1. While it ran through fine on one machine, the upgrading and installing of the packages aborted on the other one.

So I did this, which worked:

sudo apt --fix-broken install
sudo apt full-upgrade
sudo reboot

I also read about this command, but I don't know what it actually does (the man-packages are kind of vague and given that it seems to (re-)configure everything I hesitate to do it):

sudo dpkg --configure -a

Currently the machine "runs fine" (without knowing what hasn't been executed during the upgrade). The noticeable difference to the working machine right now is, that the update notification doesn't appear anymore. In the settings, the subscriber type is greyed out and reads "Custom".

Comparison settings of update notifications

On the file system the file /etc/apt/sources.list exists with all jammy-references commented out and noble-references in place, e.g.:

deb http://mirror.ette.biz/ubuntu/ noble main restricted
# deb-src http://mirror.ette.biz/ubuntu/ jammy main restricted

, but the working machine actually shows this:

root@NAS:~# cat /etc/apt/sources.list
# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
root@NAS:~#

That named file has a completely different structure.

The conclusion is that I have two questions for now:

  • How do I make that update notifier work like on the working machine?
  • How do I figure out what hasn't happened and run that? (that maybe leads to further questions)

Added for @nobody:

sjngm@runlikehell:~$ sudo apt update
Hit:1 http://mirror.ette.biz/ubuntu noble InRelease
Hit:2 http://mirror.ette.biz/ubuntu noble-updates InRelease                   
Hit:3 http://mirror.ette.biz/ubuntu noble-backports InRelease                 
Hit:4 http://mirror.ette.biz/ubuntu noble-security InRelease                  
Ign:5 https://repo.vivaldi.com/stable/deb stable InRelease                     
Hit:6 https://repo.vivaldi.com/stable/deb stable Release                       
Hit:7 https://ppa.launchpadcontent.net/cfgnunes/ppa/ubuntu noble InRelease     
Hit:8 https://ppa.launchpadcontent.net/phoerious/keepassxc/ubuntu noble InRelease
Hit:9 https://download.sublimetext.com apt/stable/ InRelease                   
Reading package lists... Done
W: https://ppa.launchpadcontent.net/cfgnunes/ppa/ubuntu/dists/noble/InRelease: Signature by key 2C484459D5377888A6476651F10B6A45E68D23DC uses weak algorithm (rsa1024)
sjngm@runlikehell:~$ sudo apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://repo.vivaldi.com/stable/deb stable/main amd64 Packages
     release o=Vivaldi Technologies,a=stable,l=Official Vivaldi package repository,c=main,b=amd64
     origin repo.vivaldi.com
 500 https://download.sublimetext.com apt/stable/ Packages
     release o=Sublime Text,a=apt/stable,l=Sublime Text APT Repository,c=
     origin download.sublimetext.com
 500 https://ppa.launchpadcontent.net/phoerious/keepassxc/ubuntu noble/main amd64 Packages
     release v=24.04,o=LP-PPA-phoerious-keepassxc,a=noble,n=noble,l=KeePassXC,c=main,b=amd64
     origin ppa.launchpadcontent.net
 500 https://ppa.launchpadcontent.net/cfgnunes/ppa/ubuntu noble/main amd64 Packages
     release v=24.04,o=LP-PPA-cfgnunes,a=noble,n=noble,l=My open source projects,c=main,b=amd64
     origin ppa.launchpadcontent.net

-- the rest is verbose, all have "release v=24.04,o=Ubuntu" --

 500 http://mirror.ette.biz/ubuntu noble-security/multiverse i386 Packages
 500 http://mirror.ette.biz/ubuntu noble-security/multiverse amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble-security/universe i386 Packages
 500 http://mirror.ette.biz/ubuntu noble-security/universe amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble-security/restricted i386 Packages
 500 http://mirror.ette.biz/ubuntu noble-security/restricted amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble-security/main i386 Packages
 500 http://mirror.ette.biz/ubuntu noble-security/main amd64 Packages
 100 http://mirror.ette.biz/ubuntu noble-backports/universe i386 Packages
 100 http://mirror.ette.biz/ubuntu noble-backports/universe amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble-updates/multiverse i386 Packages
 500 http://mirror.ette.biz/ubuntu noble-updates/multiverse amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble-updates/universe i386 Packages
 500 http://mirror.ette.biz/ubuntu noble-updates/universe amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble-updates/restricted i386 Packages
 500 http://mirror.ette.biz/ubuntu noble-updates/restricted amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble-updates/main i386 Packages
 500 http://mirror.ette.biz/ubuntu noble-updates/main amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble/multiverse i386 Packages
 500 http://mirror.ette.biz/ubuntu noble/multiverse amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble/universe i386 Packages
 500 http://mirror.ette.biz/ubuntu noble/universe amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble/restricted i386 Packages
 500 http://mirror.ette.biz/ubuntu noble/restricted amd64 Packages
 500 http://mirror.ette.biz/ubuntu noble/main i386 Packages
 500 http://mirror.ette.biz/ubuntu noble/main amd64 Packages
Pinned packages:
sjngm@runlikehell:~$ sudo apt -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gnome-desktop3-data libboost-regex1.74.0 libodbccr2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
sjngm@runlikehell:~$ 

Additional answer (I can't add my own):

The actual helpful command seems to be

sudo apt dist-upgrade
sjngm
  • 107

1 Answers1

0

For the warning for weak key please follow here

Then please run sudo -H software-properties-gtk und change to main server for download. Tab (ubuntu software). Sorry german text.

Make sure you have enough space free (especially if you have own boot filesystem) If you have unfree drivers like nvidia or others control with

dkms status

If dkms is working.

software

sudo apt update && sudo apt full-upgrade
nobody
  • 5,792