[opensuse] zypper and multiversion(kernel)
Since four version of kernels I run it in zypp.conf with "multiversion=provides:multiversion(kernel). That gives me a full functioning kernel with updates which will have a look at all kernels. At this moment I have for kernels from which to choose and I think it is time to delete some of them. How could I do that with zypper? -- Linux User 183145 using LXDE on a Pentium IV , powered by openSUSE 11.3 (i586) Kernel: 2.6.35.1-3.2-default LXDE WM & KDE Development Platform: 4.5.00 (KDE 4.5.0) 21:02pm up 4:03, 2 users, load average: 0.48, 0.77, 0.88 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 08/24/2010 04:17 PM, C. Brouerius van Nidek wrote:
Since four version of kernels I run it in zypp.conf with "multiversion=provides:multiversion(kernel). That gives me a full functioning kernel with updates which will have a look at all kernels. At this moment I have for kernels from which to choose and I think it is time to delete some of them. How could I do that with zypper?
$ zypper rm kernel-<flavor>-<version> -- cheers, jano Ján Kupec YaST team ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz ---------------------------------------------------------(EOF)---
On Tue, Aug 24, 2010 at 09:17:08PM +0700, C. Brouerius van Nidek wrote:
Since four version of kernels I run it in zypp.conf with "multiversion=provides:multiversion(kernel). That gives me a full functioning kernel with updates which will have a look at all kernels. At this moment I have for kernels from which to choose and I think it is time to delete some of them. How could I do that with zypper?
rpm -qf --last /boot/vmlinux-* or rpm -qa --last kernel-\* This reports the installed kernel packages. You next remove the superfluous packages by calling zypper rm kernel-default-2.6.34-13.1 kernel-default-base-2.6.34-13.1 for example. It's a missing feature to handle multiple kernels "correctly". Which kernels are no longer needed or which are needed? The last working one should always be kept to have a fall back. There is^ware also open feature request for this feature. Vote now! 309205: Remove old kernel package only after the new one successfully bootededit 309360: Bootloader cleanup idea 308936: Install defaults to Allow_Kernel_Updates=NO 306971: keep the previous kernel after update process I'm sure we filed a more or better explaining feature request. But due to my limited skills I'm not able to find it on the feature cemetery. :/ Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Tuesday, August 24, 2010 10:25:04 pm Lars Müller wrote:
On Tue, Aug 24, 2010 at 09:17:08PM +0700, C. Brouerius van Nidek wrote:
Since four version of kernels I run it in zypp.conf with "multiversion=provides:multiversion(kernel). That gives me a full functioning kernel with updates which will have a look at all kernels. At this moment I have for kernels from which to choose and I think it is time to delete some of them. How could I do that with zypper?
rpm -qf --last /boot/vmlinux-*
or
rpm -qa --last kernel-\*
This reports the installed kernel packages.
You next remove the superfluous packages by calling
zypper rm kernel-default-2.6.34-13.1 kernel-default-base-2.6.34-13.1
for example.
It's a missing feature to handle multiple kernels "correctly".
Which kernels are no longer needed or which are needed?
The last working one should always be kept to have a fall back.
There is^ware also open feature request for this feature. Vote now!
309205: Remove old kernel package only after the new one successfully bootededit
309360: Bootloader cleanup idea
308936: Install defaults to Allow_Kernel_Updates=NO
306971: keep the previous kernel after update process
I'm sure we filed a more or better explaining feature request. But due to my limited skills I'm not able to find it on the feature cemetery. :/
Dear Lars, Where do I find the feature cemetery? -- Linux User 183145 using LXDE on a Pentium IV , powered by openSUSE 11.3 (i586) Kernel: 2.6.35.1-3.2-default LXDE WM & KDE Development Platform: 4.5.00 (KDE 4.5.0) 22:49pm up 5:51, 2 users, load average: 0.74, 0.97, 1.06 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 24, 2010 at 10:52:05PM +0700, C. Brouerius van Nidek wrote: [ 8< ]
Where do I find the feature cemetery?
At https://features.opensuse.org/ Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Tue, 24 Aug 2010, Lars Müller wrote:
On Tue, Aug 24, 2010 at 10:52:05PM +0700, C. Brouerius van Nidek wrote: [ 8< ]
Where do I find the feature cemetery?
I just attempted to post a comment to feature 306971 suggesting adding a parameter to the /etc/zypp/zypp.conf file to specify the number of kernels to retain when using multiversioning. To retain one kernel after updating, make the default of this new parameter 2. I prefer 3 myself. Thank you for posting the commands to check/remove older kernels here. I had seven versions on my laptop but now am down to three.
Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
Thank you, Lucky Leavell
participants (4)
-
C. Brouerius van Nidek
-
Jano Kupec
-
Lars Müller
-
Lucky Leavell