Mailinglist Archive: opensuse (527 mails)

< Previous Next >
Re: [opensuse] TW: Zypper dup : removal of previous kernels
On 08/12/2016 03:06 AM, Andrei Borzenkov wrote:
On Fri, Aug 12, 2016 at 9:11 AM, ellanios82 <ellanios82@xxxxxxxxx> wrote:

## Comma separated list of kernel packages to keep installed in parallel, if
## above multiversion variable is set. Packages can be specified as
## - Exact version to keep
## latest - Keep kernel with the highest version number
## latest-N - Keep kernel with the Nth highest version number
## running - Keep the running kernel
## oldest - Keep kernel with the lowest version number (the GA
## oldest+N - Keep kernel with the Nth lowest version number
## Note: This entry is not evaluated by libzypp, but by the
## purge-kernels service (via /sbin/purge-kernels).
## Default: Do not delete any kernels if multiversion =
provides:multiversion(kernel) is set
## Jan 06, 2016 : changed from latest-1 to latest-3
multiversion.kernels = latest,latest-3,running

That does not do what you probably expect. "latest/oldest" refer to
list of currently installed kernel packages. But after it has been
executed the very first time, only at most two packages remain, so
"latest-3" (which means - the third package in the list) will never
match and on next reboot the oldest will be removed as well leaving
you with only one package. From now on you will have at most two
kernel packages ever (assuming you reboot every time new kernel is
installed) so older will always be removed on reboot.

Maybe so, but I have

multiversion.kernels = latest,latest-1,latest-2,running

after I decided to drop the distribution kernel
(the on-disk BtrFS root file system had been updated and the distribution kernel
would not handle it)

However I have one and only one kernel.
As far as I can tell it is the latest from the Kernel_Stable repository.

If God does not write LisP, God writes some code so similar to
LisP as to make no difference.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >