[Bug 826781] New: multiple versions of kernel packages are left installed after updating the kernel
https://bugzilla.novell.com/show_bug.cgi?id=826781 https://bugzilla.novell.com/show_bug.cgi?id=826781#c0 Summary: multiple versions of kernel packages are left installed after updating the kernel Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: i586 OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Ulrich.Windl@rz.uni-regensburg.de QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0 After updating the kernel, obsolete kernel packages (including sources) are not removed, possible visible in the boot menu. For example I have:
rpm -qa kernel\* kernel-syms-3.7.10-1.11.1.i586 kernel-source-3.7.10-1.11.1.noarch kernel-desktop-devel-3.7.10-1.16.1.i686 kernel-devel-3.7.10-1.11.1.noarch kernel-syms-3.7.10-1.16.1.i586 kernel-docs-3.7.10-1.16.1.noarch kernel-default-devel-3.7.10-1.11.1.i586 kernel-default-3.7.10-1.16.1.i586 kernel-pae-devel-3.7.10-1.16.1.i686 kernel-xen-devel-3.7.10-1.11.1.i686 kernel-firmware-20130114git-1.2.1.noarch kernel-devel-3.7.10-1.16.1.noarch kernel-default-devel-3.7.10-1.16.1.i586 kernel-desktop-devel-3.7.10-1.11.1.i686 kernel-xen-devel-3.7.10-1.16.1.i686 kernel-default-3.7.10-1.11.1.i586 kernel-pae-devel-3.7.10-1.11.1.i686 kernel-source-3.7.10-1.16.1.noarch
This is not what the user wants! Seen on three different machines. Reproducible: Always Steps to Reproduce: 1. Run online update, replacing the current kernel 2. Reboot Actual Results: Old kernel(s) are still installed Expected Results: Old kernel should be removed (at least after the next successful boot) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826781 https://bugzilla.novell.com/show_bug.cgi?id=826781#c1 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com --- Comment #1 from Marcus Meissner <meissner@suse.com> 2013-06-26 01:01:51 UTC --- This is intended and configured in /etc/zypp/zypp.conf : multiversion = provides:multiversion(kernel) multiversion.kernels = latest,latest-1,running Run as root: systemctl enable purge-kernels to get the unnecessary kernels removed during booting. (Was incorrectly not enabled during installation.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826781 https://bugzilla.novell.com/show_bug.cgi?id=826781#c2 --- Comment #2 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> 2013-06-26 03:05:59 CEST --- Note: Shouldn't this feature be mentioned in the Release Notes? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826781 https://bugzilla.novell.com/show_bug.cgi?id=826781#c3 --- Comment #3 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> 2013-06-26 03:13:08 CEST --- I wonder: Is this expected output ("enable" seems to fail, while "status" seems to indicate that it should have been done)?: hostname:~ # systemctl enable purge-kernels Failed to issue method call: File exists hostname:~ # less /etc/zypp/zypp.conf hostname:~ # systemctl status purge-kernels purge-kernels.service - Purge old kernels Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service; enabled) Active: inactive (dead) since Wed, 2013-06-19 15:09:31 CEST; 6 days ago Main PID: 743 (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/purge-kernels.service Jun 19 15:09:31 hostname purge-kernels[743]: Removed: Jun 19 15:09:31 hostname purge-kernels[743]: kernel-syms-3.7.10-1.4.1.i586 Jun 19 15:09:31 hostname purge-kernels[743]: kernel-default-3.7.10-1.4.1.i586 Jun 19 15:09:31 hostname purge-kernels[743]: kernel-default-devel-3.7.10-1....6 Jun 19 15:09:31 hostname purge-kernels[743]: kernel-desktop-devel-3.7.10-1....6 Jun 19 15:09:31 hostname purge-kernels[743]: kernel-pae-devel-3.7.10-1.4.1.i686 Jun 19 15:09:31 hostname purge-kernels[743]: kernel-xen-devel-3.7.10-1.4.1.i686 Jun 19 15:09:31 hostname purge-kernels[743]: kernel-devel-3.7.10-1.4.1.noarch Jun 19 15:09:31 hostname purge-kernels[743]: kernel-source-3.7.10-1.4.1.noarch Jun 19 15:09:31 hostname systemd[1]: Started Purge old kernels. hostname:~ # uname -a Linux hostname 3.7.10-1.16-default #1 SMP Fri May 31 20:21:23 UTC 2013 (97c14ba) i686 i686 i386 GNU/Linux Does the feature need more than one reboot to operate? I feel a lack of documentation ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826781 https://bugzilla.novell.com/show_bug.cgi?id=826781#c4 --- Comment #4 from Marcus Meissner <meissner@suse.com> 2013-06-26 03:11:52 UTC --- its a one shot script that runs during reboot. it seems to have removed things. Of all packages only two should be installed per flavour (so 2 kernel-desktop, 2 of each kernel-*-devel etc.) so it looks ok now. If you want just the current one installed, you will need to adjust zypp.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826781 https://bugzilla.novell.com/show_bug.cgi?id=826781#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |meissner@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826781 https://bugzilla.novell.com/show_bug.cgi?id=826781#c5 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Marcus Meissner <meissner@suse.com> 2013-07-17 11:48:52 UTC --- resolved for me -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com