[opensuse] deleting kernels, purge-kernel does not work]
My system, updated 13.1 Tumbleweed, is overcrowded with default kernels as shown below with "rpm -qa kernel-\*" kernel-firmware-20130714git-5.1.noarch kernel-default-3.13.1-12.1.gfc9498b.i586 kernel-default-3.11.6-4.1.i586 kernel-default-3.13.2-13.2.g97cc2ff.i586 kernel-default-3.13.2-13.1.g97cc2ff.i586 kernel-default-3.13.1-11.1.g5531b68.i586 kernel-default-3.13.2-14.1.gb59b809.i586 After using " systemctl start purge-kernels.service" and a reboot I found that nothing has changed. After a look into Yast> Service manager under purge-kernel> show details I got following info: purge-kernel purge-kernels.service - Purge old kernels Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service; enabled) Active: inactive (dead) start condition failed at Wed 2014-02-12 15:05:52 WIB; 20min ago ConditionPathExists=/boot/do_purge_kernels was not met Feb 12 15:05:47 linux-4i6w systemd[1]: Stopped Purge old kernels. Feb 12 15:05:52 linux-4i6w systemd[1]: Started Purge old kernels What went wrong? Why is " systemctl start purge-kernels.service" notworking? What is this kernel-firmware-20130714git-5.1.noarch doing on my kernel list? -- Linux User 183145 using KDE4 and LXDE on a Pentium IV , powered by openSUSE 13.1 (i586) Kernel: 3.13.2-14.gb59b809-default KDE Development Platform: 4.12.2 15:34pm up 0:29, 3 users, load average: 2.97, 5.49, 4.10 ___________________________________________________________ indomail - Your everyday mail - http://indomail.indo.net.id ___________________________________________________________ indomail - Your everyday mail - http://indomail.indo.net.id -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Sat, 15 Feb 2014 09:36:02 +0700 (WIT)
My system, updated 13.1 Tumbleweed, is overcrowded with default kernels as shown below with "rpm -qa kernel-\*" kernel-firmware-20130714git-5.1.noarch kernel-default-3.13.1-12.1.gfc9498b.i586 kernel-default-3.11.6-4.1.i586 kernel-default-3.13.2-13.2.g97cc2ff.i586 kernel-default-3.13.2-13.1.g97cc2ff.i586 kernel-default-3.13.1-11.1.g5531b68.i586 kernel-default-3.13.2-14.1.gb59b809.i586
After using " systemctl start purge-kernels.service" and a reboot I found that nothing has changed. After a look into Yast> Service manager under purge-kernel> show details I got following info: purge-kernel purge-kernels.service - Purge old kernels Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service; enabled) Active: inactive (dead) start condition failed at Wed 2014-02-12 15:05:52 WIB; 20min ago ConditionPathExists=/boot/do_purge_kernels was not met Feb 12 15:05:47 linux-4i6w systemd[1]: Stopped Purge old kernels. Feb 12 15:05:52 linux-4i6w systemd[1]: Started Purge old kernels
What went wrong? Why is " systemctl start purge-kernels.service" notworking?
It quite clearly says it in status output - because to actually make it do anything file /boot/do_purge_kernels must be created first. This file is created by kernel RPM.
What is this kernel-firmware-20130714git-5.1.noarch doing on my kernel list?
You did not query for "kernel list". You queried for packages with name starting with "kernel-". You got exactly for you asked for. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, February 15, 2014 09:43:51 AM Andrey Borzenkov wrote:
В Sat, 15 Feb 2014 09:36:02 +0700 (WIT)
пишет: My system, updated 13.1 Tumbleweed, is overcrowded with default kernels as shown below with "rpm -qa kernel-\*" snip What went wrong? Why is " systemctl start purge-kernels.service" notworking?
It quite clearly says it in status output - because to actually make it do anything file /boot/do_purge_kernels must be created first. This file is created by kernel RPM.
You lost me there. As far as I remeber this command should be followed by a reboot in order to work. What should I do in order to build /boot/do_purge_kernels ?
What is this kernel-firmware-20130714git-5.1.noarch doing on my kernel list?
You did not query for "kernel list". You queried for packages with name starting with "kernel-". You got exactly for you asked for.
Ok -- Linux User 183145 using KDE4 and LXDE on a Pentium IV , powered by openSUSE 13.1 (i586) Kernel: 3.13.2-14.gb59b809-default KDE Development Platform: 4.12.2 13:49pm up 4:25, 4 users, load average: 4.25, 3.19, 2.20 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/15/2014 10:25 AM, C. Brouerius van Nidek wrote:
You lost me there. As far as I remeber this command should be followed by a reboot in order to work. What should I do in order to build /boot/do_purge_kernels ?
- maybe, simplest, after command : as root # rpm -qa kern* - then have a look at your list of kernels - next, note the kernels you no longer wish to keep, and finally , do : # rpm -e kernel-desktop-3.12.7-7.3.g78b11e9.x86_64 [or whatever you wish to get rid of] ............. regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
[15.02.2014 09:44] [ellanios82]:
On 02/15/2014 10:25 AM, C. Brouerius van Nidek wrote:
You lost me there. As far as I remeber this command should be followed by a reboot in order to work. What should I do in order to build /boot/do_purge_kernels ?
- maybe, simplest, after command : as root
# rpm -qa kern*
I'd suggest you put that into quotation marks, just in case you have a file staring with 'kern' in your current directory... an unquoted * works as shell expansion then. And to have a better view of it, I use rpm -qa 'kernel*' | sort And do the rest the way you described :-) Just my 2¢ -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Sat, 15 Feb 2014 15:25:09 +0700
"C. Brouerius van Nidek"
On Saturday, February 15, 2014 09:43:51 AM Andrey Borzenkov wrote:
В Sat, 15 Feb 2014 09:36:02 +0700 (WIT)
пишет: My system, updated 13.1 Tumbleweed, is overcrowded with default kernels as shown below with "rpm -qa kernel-\*" snip What went wrong? Why is " systemctl start purge-kernels.service" notworking?
It quite clearly says it in status output - because to actually make it do anything file /boot/do_purge_kernels must be created first. This file is created by kernel RPM.
You lost me there. As far as I remeber this command should be followed by a reboot in order to work. What should I do in order to build /boot/do_purge_kernels ?
touch /boot/do_purge_kernels systemctl start purge-kernels Post output of "systemctl status purge-kernels" after that. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, February 15, 2014 12:57:36 PM Andrey Borzenkov wrote:
В Sat, 15 Feb 2014 15:25:09 +0700
"C. Brouerius van Nidek"
пишет: On Saturday, February 15, 2014 09:43:51 AM Andrey Borzenkov wrote:
В Sat, 15 Feb 2014 09:36:02 +0700 (WIT)
пишет: My system, updated 13.1 Tumbleweed, is overcrowded with default kernels as shown below with "rpm -qa kernel-\*"
snip
What went wrong? Why is " systemctl start purge-kernels.service" notworking?
It quite clearly says it in status output - because to actually make it do anything file /boot/do_purge_kernels must be created first. This file is created by kernel RPM.
You lost me there. As far as I remeber this command should be followed by a reboot in order to work. What should I do in order to build /boot/do_purge_kernels ?
touch /boot/do_purge_kernels systemctl start purge-kernels
Post output of "systemctl status purge-kernels" after that.
#systemctl status purge-kernels -l purge-kernels.service - Purge old kernels Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service; enabled) Active: inactive (dead) since Sat 2014-02-15 17:14:34 WIB; 13s ago Process: 9662 ExecStart=/sbin/purge-kernels (code=exited, status=0/SUCCESS) Process: 9661 ExecStartPre=/bin/rm -f /boot/do_purge_kernels (code=exited, status=0/SUCCESS) Main PID: 9662 (code=exited, status=0/SUCCESS) CGroup: /system.slice/purge-kernels.service Feb 15 17:14:34 dhcppc2 purge-kernels[9662]: /sbin/purge-kernels: Running kernel 3.13.2-14.gb59b809-i586/default not installed. Feb 15 17:14:34 dhcppc2 purge-kernels[9662]: /sbin/purge-kernels: Nothing to do. Feb 15 17:14:34 dhcppc2 purge-kernels[9662]: NOT removing any packages for flavor i586/default. Feb 15 17:14:34 dhcppc2 systemd[1]: Started Purge old kernels. #rpm -qa kernel-default\* kernel-default-3.13.2-14.2.gb59b809.i586 kernel-default-3.13.1-12.1.gfc9498b.i586 kernel-default-3.11.6-4.1.i586 kernel-default-3.13.2-13.2.g97cc2ff.i586 kernel-default-3.13.2-13.1.g97cc2ff.i586 kernel-default-3.13.1-11.1.g5531b68.i586 kernel-default-3.13.2-14.1.gb59b809.i586 Could of course start eliminating kernels with Yast or with or with "rpm -e" but only as the last resort. -- Linux User 183145 using KDE4 and LXDE on a Pentium IV , powered by openSUSE 13.1 (i586) Kernel: 3.13.2-14.gb59b809-default KDE Development Platform: 4.12.2 17:03pm up 2:49, 3 users, load average: 0.65, 0.96, 1.02 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Sat, 15 Feb 2014 17:22:28 +0700
"C. Brouerius van Nidek"
#rpm -qa kernel-default\* kernel-default-3.13.2-14.2.gb59b809.i586
There was a problem that purge-kernels was confused by such names. You may want to search bugzilla and either add "me too" or open new bug report. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, February 15, 2014 03:17:51 PM Andrey Borzenkov wrote:
В Sat, 15 Feb 2014 17:22:28 +0700
"C. Brouerius van Nidek"
пишет: #rpm -qa kernel-default\* kernel-default-3.13.2-14.2.gb59b809.i586
There was a problem that purge-kernels was confused by such names. You may want to search bugzilla and either add "me too" or open new bug report.
Thanks. Will do. What I liked most of the output from systemctl status purge-kernels -l, "Running kernel 3.13.2-14.gb59b809-i586/default not installed", is the kernel I am using as shown in my sig. -- Linux User 183145 using KDE4 and LXDE on a Pentium IV , powered by openSUSE 13.1 (i586) Kernel: 3.13.2-14.gb59b809-default KDE Development Platform: 4.12.2 18:37pm up 4:23, 3 users, load average: 1.03, 0.99, 1.66 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Sat, 15 Feb 2014 18:48:56 +0700
"C. Brouerius van Nidek"
On Saturday, February 15, 2014 03:17:51 PM Andrey Borzenkov wrote:
В Sat, 15 Feb 2014 17:22:28 +0700
"C. Brouerius van Nidek"
пишет: #rpm -qa kernel-default\* kernel-default-3.13.2-14.2.gb59b809.i586
There was a problem that purge-kernels was confused by such names. You may want to search bugzilla and either add "me too" or open new bug report.
Thanks. Will do.
What I liked most of the output from systemctl status purge-kernels -l, "Running kernel 3.13.2-14.gb59b809-i586/default not installed", is the kernel I am using as shown in my sig.
Which is correct, because package kernel-default-3.13.2-14.gb59b809 does not exist. It gets confused over release designation (14.2.gb59b809 vs. 14.gb59b809). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, February 15, 2014 04:28:44 PM Andrey Borzenkov wrote:
В Sat, 15 Feb 2014 18:48:56 +0700
"C. Brouerius van Nidek"
пишет: On Saturday, February 15, 2014 03:17:51 PM Andrey Borzenkov wrote:
В Sat, 15 Feb 2014 17:22:28 +0700
"C. Brouerius van Nidek"
пишет: #rpm -qa kernel-default\* kernel-default-3.13.2-14.2.gb59b809.i586
There was a problem that purge-kernels was confused by such names. You may want to search bugzilla and either add "me too" or open new bug report.
Thanks. Will do.
What I liked most of the output from systemctl status purge-kernels -l, "Running kernel 3.13.2-14.gb59b809-i586/default not installed", is the kernel I am using as shown in my sig.
Which is correct, because package kernel-default-3.13.2-14.gb59b809 does not exist. It gets confused over release designation (14.2.gb59b809 vs. 14.gb59b809).
Got confused too. :) Bug 864173 Submitted. -- Linux User 183145 using KDE4 and LXDE on a Pentium IV , powered by openSUSE 13.1 (i586) Kernel: 3.13.2-14.gb59b809-default KDE Development Platform: 4.12.2 21:35pm up 7:20, 3 users, load average: 1.45, 1.05, 1.04 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Andrey Borzenkov
-
C. Brouerius van Nidek
-
constant@indo.net.id
-
ellanios82
-
Werner Flamme