Mailinglist Archive: opensuse (527 mails)

< Previous Next >
Re: [opensuse] TW: Zypper dup : removal of previous kernels
  • From: Andrei Borzenkov <arvidjaar@xxxxxxxxx>
  • Date: Fri, 12 Aug 2016 10:06:55 +0300
  • Message-id: <CAA91j0UOaJvAG=B332wBvsgKNHUPqHHPhXQZCc1cjzV1pqG1bQ@mail.gmail.com>
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
the
## above multiversion variable is set. Packages can be specified as
## 2.6.32.12-0.7 - 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
kernel)
## 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.


......................

Does this attempt look 'workable' ?


See above.

In addition this setting has absolutely nothing to do with your
problem because it is evaluated by purge-kernels service and not by
zypper.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >