Siduction Forum
Siduction Forum => Upgrade Warnings => Topic started by: devil on 2021/01/10, 23:28:35
-
Latest apt has a new policy of removing kernels, which manifests in /etc/apt/apt.conf.d/01autoremove-kernels. If you want to keep your kernels installed, for now you will have to edit /etc/apt/apt.conf.d/01autoremove. There is a section headlined VersionedKernelPackages. You need to put a # in front of "linux-.*";, save the file and apt update.
Das neueste apt hat eine Richtlinie zum Entfernen von Kerneln, die sich in /etc/apt/apt.conf.d/01autoremove-kernels manifestiert. Wenn ihr eure Kernel behalten wollt, müsst ihr /etc/apt/apt.conf.d/01autoremove bearbeiten. Es gibt einen Abschnitt mit der Überschrift VersionedKernelPackages. Dort muss ein # vor "linux-.*"; Dann die Datei sichern und apt update ausführen.
-
richtiger pfad / right path:
/etc/apt/apt.conf.d/01autoremove
-
Thanks for clarification!
Because I did not understand the hint
... set APT::Get::AutomaticRemove::Kernels to false ...
Source:
/usr/share/doc/apt/NEWS.Debian.gz
Vielen Dank für die Klarstellung!
Denn ich habe den Hinweis nicht verstanden
... set APT::Get::AutomaticRemove::Kernels to false ...
Quelle:
/usr/share/doc/apt/NEWS.Debian.gz
-
Well, I added to my apt.conf:
# do not remove kernels automaticly
APT::Get::AutomaticRemove::Kernels false;
and all is okay..
The correct way in siduction is to wait for an update of the "apt-conf-siduction" package, which updates the /etc/apt/apt.conf.d/80siduction file.
EDIT:
If no '/etc/apt/apt.conf.d/80siduction' exists, no 'apt-conf-siduction'' is installed you can create your own, eg /etc/ap/apt.conf.d/80myconf and insert 'APT::Get::AutomaticRemove::Kernels false;
-
apt-listchanges: Changelogs für siductionbox
apt-conf-siduction (0.5.1+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* set APT::Get::AutomaticRemove::Kernels "false"; to prevrent automatic removal of installed old kernels
-- Torsten Wohlfarth <towo@siduction.org> Mon, 11 Jan 2021 11:01:26 +0100
-
So if you don't have apt-conf-siduction installed, you may want to install it now to prevent kernels from being removed. If you had followed my initial advice to put a # in front of "linux-.*"; in /etc/apt/apt.conf.d/01autoremove, you can remove that after installing the package.
-
So if you don't have apt-conf-siduction installed, you may want to install it now to prevent kernels from being removed. If you had followed my initial advice to put a # in front of "linux-.*"; in /etc/apt/apt.conf.d/01autoremove, you can remove that after installing the package.
Thank you all for that :)
-
Thank you devil and hendrikL for the tips.
-
Good to know, probably something I would have missed. Thank you.
-
Thanks for the heads up. Appreciate getting these useful posts.
-
Thanks to everyone for the posts!
-
For me. I don't need Kernel-Remover in the future? apt-get autoremove do that?
-
For me. I don't need Kernel-Remover in the future? apt-get autoremove do that?
1. Install the apt-conf-siduction package.
2. Use # apt autoremove
as before.