2016-09-09 13:45 GMT+02:00 Duncan Mac-Vicar P.:
René Krell writes:
When updating the kernel, if it has just been recompiled due to a dependency change, zypper removes old packages, but just some of them, not all. This requires further manual steps to clean up.
Example:
The following 4 NEW packages are going to be installed: kernel-default 4.7.2-2.2 kernel-default-devel 4.7.2-2.2 kernel-devel 4.7.2-2.2 kernel-syms 4.7.2-2.2
...
The following 2 packages are going to be REMOVED: kernel-default 4.7.2-2.1 kernel-default-devel 4.7.2-2.1
Is there a logical reason for this? Why not remove also kernel-devel-4.7.2-2.1 and kernel-syms-4.7.2-2.1 for the above example, if there are the newer packages installed?
René
Please look into /etc/zypp/zypp.conf the multiversion.kernels option. Mine is setup as:
multiversion.kernels = latest,latest-1,running
Mine is the same: multiversion.kernels = latest,latest-1,running I haven't changed the default setting.
And then make sure the service purge-kernels is enabled:
systemctl status purge-kernels
Old kernels are removed on boot IIRC, or by running /sbin/purge-kernels
This command shows: purge-kernels.service - Purge old kernels Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service; disabled; vendor preset: enabled) Active: inactive (dead) Cannot remember to have this changed manually, although it looks like that. Please note the problem is the PARTIAL deletion, not whether it deletes or not. Is this still a problem of purge-kernels.service? Thanks so far, René -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org