27.01.2018 16:14, Thomas Wagner пишет:
Hi @all!
I have Leap 42.3 with the Kernel:stable repository enabled.
/sbin/purge-kernels should remove old kernel version. However it fails to remove one particular kernel version (and subsequently does not remove anything).
zypper -se -i -v reports that said kernel version is not installed. rpm -qa reports that said kernel version is installed. rpm -ql reports that said kernel version is not installed. Checking /boot/ and /lib/modules/ shows that said kernel is indeed not installed.
Why can rpm -qa report a package which is not installed?
RPM database can be corrupted. You can misinterpret output of commands. As you do not show actual commands and their output you can only expect pure guesswork answers.
Can /sbin/purge-kernels use other sources of installed packages than rpm -qa?
Program that attempts to remove package should check for this package in package database, should not it? Or do you have other suggestion? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org