i tried to update a Lenovo Thinkpad which had an Ubuntu Mate 20.04.1 installed.
I did "apt-get update" and "apt-get upgrade" which brought some new packages.
One reboot later "apt-get dist-upgrade" did nothing. It says nothing to upgrade ...
The files /etc/lsb-release and /etc/os-release still show version 20.04.1 LTS
even uname -a thinks i am still on #42-20.04.1-Ubuntu
When i try update-manager -d it says "nothing to update"
As this is not my first update/upgrade of Ubuntu i am a bit confused.
Can someone help here?
As @111 has indicated, there are times when you need to use apt full-upgrade. A quick man apt will show the reference manual page for the command and shows
upgrade (apt-get(8))
upgrade is used to install available upgrades of all packages currently installed on the system from the sources
configured via sources.list(5). New packages will be installed if required to satisfy dependencies, but existing
packages will never be removed. If an upgrade for a package requires the removal of an installed package the
upgrade for this package isn't performed.
full-upgrade (apt-get(8))
full-upgrade performs the function of upgrade but will remove currently installed packages if this is needed to
upgrade the system as a whole.
Note: I'm not running focal (20.04) but jammy, so there is a tiny chance the text of my paste differs on your system, but I doubt it.
Not all 20.04.1 indications get upgraded; as they mean different things to the point release (service level) you've upgraded too. I'd just rely on what you get from lsb_release -a. Sorry I don't have a focal system handy to confirm or show what you'd expect to see.
thank you for your explanation, but even "apt full-upgrade" did not do the trick.
root@LRH06:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
root@LRH06:~# uname -a
Linux LRH06 5.11.0-38-generic #42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
(I updated the kernel manualy....)
And then i do "apt full-upgrade"
root@LRH06:~# apt full-upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
**0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.**
As this is not a private Machine i have to stay with the LTS version.
The sources.list is simply the standard one, no changes.
As of now this is no disaster, but i would like to understand whats going on, where the problem is.