Mailinglist Archive: opensuse-factory (667 mails)

< Previous Next >
Re: [opensuse-factory] tumbleweed: purge-kernels stopped working
Il 03/06/2013 20:54, Benoît Monin ha scritto:

I am running tumbleweed with multiversion enabled for the kernel.
Since a few kernel releases, purge-kernels stopped working, I have
to remove old kernel packages with zypper. I have configured
multiversion to keep the latest and the running kernel. After a reboot,
the previous kernel should be removed, since the purge-kernels service
is enabled. But even if I run purge-kernels manually, nothing happens
and purge-kernels complains that the running kernel is not installed.
It might be because the kernel name and the package name differ:
There is an additionnal ".1" in the package name.

Anyone else seeing this ?

Below is the output of commands related to this problem :

# zypper se -si kernel-desktop
Loading repository data...
Reading installed packages...

S | Name | Type | Version | Arch | Repository
i | kernel-desktop | package | 3.9.3-10.1.g06ad9d8 | x86_64 | (System Packages)
i | kernel-desktop | package | 3.9.4-11.1.g51bf0ff | x86_64 | tumbleweed

# uname -r

# grep ^multiversion /etc/zypp/zypp.conf
multiversion = provides:multiversion(kernel)
multiversion.kernels = latest,running

# systemctl status purge-kernels.service
purge-kernels.service - Purge old kernels
Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service;
Active: inactive (dead) since Mon, 2013-06-03 18:49:06 CEST; 55min
Main PID: 455 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/purge-kernels.service

# purge-kernels
/sbin/purge-kernels: Running kernel 3.9.4-11.g51bf0ff-x86_64/desktop not
NOT removing any packages for flavor x86_64/desktop.
/sbin/purge-kernels: Nothing to do.

It's a known bug:

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

< Previous Next >
Follow Ups