[Bug 510046] New: removal of outdated kernel rpms fails @ "error: %postun(kernel-...) scriptlet failed"
http://bugzilla.novell.com/show_bug.cgi?id=510046 Summary: removal of outdated kernel rpms fails @ "error: %postun(kernel-...) scriptlet failed" Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@novell.com ReportedBy: pgnet.dev@gmail.com QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 having zypper-upgraded to, rpm -qa | grep kernel | grep "\-27" kernel-xen-base-2.6.27.23-27.1 kernel-source-2.6.27.23-27.1 kernel-default-extra-2.6.27.23-27.1 kernel-xen-2.6.27.23-27.1 kernel-xen-extra-2.6.27.23-27.1 kernel-default-base-2.6.27.23-27.1 kernel-default-2.6.27.23-27.1 uname -ri 2.6.27.23-27-xen x86_64 with, zypper se -s | grep -i bootloader | grep ^i i | perl-Bootloader | package | 0.5.2-2.1 | x86_64 | YastHEAD i | perl-Bootloader | patch | 395 | noarch | OS11-update i | yast2-bootloader | package | 2.18.8-3.9 | x86_64 | YastHEAD i | yast2-bootloader | patch | 814 | noarch | OS11-update i | yast2-bootloader | patch | 459 | noarch | OS11-update the installer failed to rm outdated kernel(s), rpm -qa | grep kernel | egrep -v "\-27|nfs|headers" kernel-xen-base-2.6.27.23-18.1 kernel-default-base-2.6.27.23-18.1 attempting to remove, rpm -e `rpm -qa | grep kernel | egrep -v "\-27|nfs|headers"` i get, error: %postun(kernel-default-base-2.6.27.23-18.1.x86_64) scriptlet failed, exit status 1 Kernel image: /boot/vmlinuz-2.6.27.23-18-xen Initrd image: /boot/initrd-2.6.27.23-18-xen Root device: /dev/vg0/LV_ROOT (mounted on / as ext3) Resume device: /dev/vgS/LV_SWAP FATAL: Module raid0 not found. WARNING: no dependencies for kernel module 'raid0' found. ... Kernel Modules: jbd dm-mod mbcache ext3 edd xennet cdrom xenblk crc-t10dif scsi_mod sd_mod usbcore ohci-hcd uhci-hcd ehci-hcd Features: dm block usb md lvm2 resume.userspace resume.kernel Bootsplash: No bootsplash for kernel flavor xen 25664 blocks Can't locate object method "info" via package "Bootloader::Logger" at /usr/lib/perl5/vendor_perl/5.10.0/Bootloader/Tools.pm line 346. error: %postun(kernel-xen-base-2.6.27.23-18.1.x86_64) scriptlet failed, exit status 1 and, apparently, rm failed, rpm -qa | grep kernel | egrep -v "\-27|nfs|headers" kernel-xen-base-2.6.27.23-18.1 kernel-default-base-2.6.27.23-18.1 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=510046 User jsrain@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=510046#c1 Jiri Srain <jsrain@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvancura@novell.com AssignedTo|jsrain@novell.com |jreidinger@novell.com --- Comment #1 from Jiri Srain <jsrain@novell.com> 2009-06-05 02:04:24 MDT --- Looks like two bugs to me. FATAL: Module raid0 not found. Can't locate object method "info" via package "Bootloader::Logger" at /usr/lib/perl5/vendor_perl/5.10.0/Bootloader/Tools.pm line 346. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=510046 User pgnet.dev@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=510046#c2 --- Comment #2 from pgnet Dev <pgnet.dev@gmail.com> 2009-06-05 11:31:37 MDT --- (In reply to comment #1)
Looks like two bugs to me.
FATAL: Module raid0 not found.
i've been told this is not a bug, rather that http://lists.opensuse.org/opensuse-kernel/2009-05/msg00039.html " ... it's a sideeffect of splitting of the -base package which has very few drivers ... " like i said there, and in keeping with your own reposnse above, given that "FATAL ..." (which i suggested is somewhat misleading), it sure _looks_ like a bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=510046 User pgnet.dev@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=510046#c3 --- Comment #3 from pgnet Dev <pgnet.dev@gmail.com> 2009-06-05 12:09:10 MDT --- just fyi, there _seems_ to be a dependence on _what_ is rm'd, e.g., removing, rpm -e kernel-default-extra-2.6.27.23-27.1 Kernel image: /boot/vmlinuz-2.6.27.23-27-default Initrd image: /boot/initrd-2.6.27.23-27-default Root device: /dev/vg0/LV_ROOT (mounted on / as ext3) Resume device: /dev/vgS/LV_SWAP Kernel Modules: raid0 raid1 xor async_tx async_memcpy async_xor raid456 jbd dock scsi_mod libata sata_nv pata_amd ata_generic ide-core amd74xx ide-pci-generic dm-mod crypto_blkcipher dm-crypt dm-snapshot mbcache ext3 xfs aes_generic aes-x86_64 sha1_generic sha256_generic sha512_generic mii usbcore pegasus usbnet hwmon thermal_sys processor thermal fan edd cpuid crc-t10dif sd_mod ohci-hcd uhci-hcd ehci-hcd ff-memless hid usbhid linear Features: dm block usb md lvm2 resume.userspace resume.kernel Bootsplash: openSUSE (1280x1024) 30191 blocks Can't locate object method "info" via package "Bootloader::Logger" at /usr/lib/perl5/vendor_perl/5.10.0/Bootloader/Tools.pm line 346. but, rpm -e kernel-default-base-2.6.27.23-27.1 error: %postun(kernel-default-base-2.6.27.23-27.1.x86_64) scriptlet failed, exit status 1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=510046 User pgnet.dev@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=510046#c4 --- Comment #4 from pgnet Dev <pgnet.dev@gmail.com> 2009-06-05 12:13:16 MDT --- fwiw, atm, i've managed to successfully rm all my errant versions (always getting the "Can't locate ..." message), except for (@ '-->') rpm -qa | grep ^kernel kernel-source-2.6.27.23-28.1 kernel-default-base-2.6.27.23-28.1 kernel-xen-base-2.6.27.23-28.1 kernel-default-2.6.27.23-28.1 kernel-default-extra-2.6.27.23-28.1 kernel-xen-2.6.27.23-28.1 kernel-xen-extra-2.6.27.23-28.1 --> kernel-xen-base-2.6.27.23-27.1 --> kernel-xen-base-2.6.27.23-18.1 --> kernel-default-base-2.6.27.23-18.1 --> kernel-default-base-2.6.27.23-27.1 the marked rpms all return the same "%postun ..." error. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=510046 User jreidinger@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=510046#c5 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #5 from Josef Reidinger <jreidinger@novell.com> 2009-06-08 01:20:18 MDT --- My mistake, bad logging channel (but it appear only in one specific case, so it is not easy to catch it in my test environment). *** This bug has been marked as a duplicate of bug 510037 *** http://bugzilla.novell.com/show_bug.cgi?id=510037 -- Configure bugmail: http://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