
Cons Brouerius van Nidek wrote:
Have followed the ongoing discusion with interrest because I have more or less the same problem.
I have the following default kernels:
kernel-default-5.3.12-2.2.x86_64 kernel-default-5.4.7-1.1.x86_64 kernel-default-5.3.12-1.1.x86_64 kernel-default-5.4.12-1.1.x86_64 kernel-default-5.4.10-1.1.x86_64 kernel-default-5.4.13-1.1.x86_64 kernel-default-5.4.14-1.1.x86_64
None of the mentioned solutions to clean up my mess works up to now.
"rpm -e kernel-default-5etc.will end with a complaint about the rpm.lock.
What message exactly? Can you not just remove that lock file (as root)?
"zypper purge-kernels" starts and ends after 5% and does not proceed from there.
It might re-run dracut, which can take a while. How long did you wait? Any other messages in the syslog? I have changed my /usr/lib/systemd/system/purge-kernels.service to ExecStart=/usr/bin/zypper --non-interactive purge-kernels and it did successfully remove my old kernels on last boot....
What would be my next move in order the get the kernel problem to an end.
could I somehow overcome the rpm lock?
It probably is /var/lib/rpm/.rpm.lock, but that should be mentioned in the error message, no? And you *do* have to run it as root/via sudo of course. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org