Sujet : Re: 25 kernels
De : jaworski1978 (at) *nospam* adres.pl (🇵🇱Jacek Marcin Jaworski🇵🇱)
Groupes : comp.os.linux.advocacyDate : 23. May 2025, 12:40:26
Autres entêtes
Organisation : Energo Kod
Message-ID : <m9b55aFfvltU2@mid.individual.net>
References : 1 2
User-Agent : Mozilla Thunderbird
W dniu 23.05.2025 o 11:06, 🇵🇱Jacek Marcin Jaworski🇵🇱 pisze:
W dniu 17.05.2025 o 14:29, Chris Ahlstrom pisze:
So I do an update of Debian Sid, and it starts updating initrd images, and
continues, continues, continues.... 25 kernels from 6.10.11 to 6.12.27.
>
Purged 22 of them. FTS. FFS.
Personally, I always use oldest available kernel, and newer update it. List of kernels I can get with command:
apt list | grep -P 'linux-image-\d+.*'
In the case version 5.4.0-26 is oldest, I install it with command:
sudo apt install $(apt list | grep 'linux-[^-]*-5.4.0-26-generic' | cut -d '/' -f1 | tr '\n' ' ')
don't forget about X Window, which require following package to work:
sudo apt install linux-modules-extra-5.4.0-26-generic
Then I stop update kernel with command:
sudo apt-mark hold linux-*
And of course: reboot with oldest kernel, and remove all rest of them.