I've recently broken my system in some ways, and from dpkg.log
and my memory I can reconstruct that it broke after the first reboot after an apt upgrade
. (/var/log/apt/history.log
says that it was triggered by an unattended upgrade.)
This is one of the packages as seen in dpkg.log
:
2021-08-09 12:00:00 upgrade linux-generic-hwe-20.04:amd64 5.8.0.63.71~20.04.45 5.11.0.25.27~20.04.10
I'm interpreting this as "5.8... has been replaced by 5.11...".
But when I'm looking at the cache, I'm not seeing the old version of the package any more:
$ sudo apt-cache madison linux-image-generic-hwe-20.04
linux-image-generic-hwe-20.04 | 5.11.0.25.27~20.04.10 | http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
linux-image-generic-hwe-20.04 | 5.11.0.25.27~20.04.10 | http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
linux-image-generic-hwe-20.04 | 5.4.0.26.32 | http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
Installing it consequently fails:
$ sudo apt install linux-generic-hwe-20.04=5.8.0.63.71~20.04.45
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '5.8.0.63.71~20.04.45' for 'linux-generic-hwe-20.04' was not found
How can I do a rollback to the old version now?