[Bug 730179] New: zypper dup from 12.1RC1 to 12.1 final (?) left system in unbootable state due to non-existent Pod/Usage.pm
https://bugzilla.novell.com/show_bug.cgi?id=730179 https://bugzilla.novell.com/show_bug.cgi?id=730179#c0 Summary: zypper dup from 12.1RC1 to 12.1 final (?) left system in unbootable state due to non-existent Pod/Usage.pm Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: d.a.van.delft@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; nl; rv:1.9.2.23) Gecko/20110920 SUSE/3.6.23-0.2.1 Firefox/3.6.23 During installation of packages kernel-desktop, kernel-default, bootsplash, and suspend, zypper dup gave the following error message: # Can't locate Pod/Usage.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl .) at /sbin/update-bootloader line 5. and a *warning* like # warning: %post(suspend-1.0-10.1.2.x86_64) scriptlet failed, exit status 2 At the end of the zypper dup, there was no indication of a serious problem, in fact all above packages initially were flagged as "installed ok". As I had by chance seen above messages, I decided to inspect the system, without rebooting first; luckily as it would probably have been impossible to boot. It showed that in /boot all the old (rc1) kernels were gone and the new 3.1.0-1.2.1 kernels installed, but /boot/grub/menu.lst had only references to the rc1 kernels (which no longer were present)! I did a zypper in -f on all above failed packages, after wich at least the menu.lst contained the references to the new kernels. The entries to the no longer present ones were also still there, however the default had been changed to the new kernel, so at least it would (and later did) boot. The fault is a wrong order of install of above packages, before the package that contains Pod/Usage.pm was done. Contents of /boot, both before and after the manual forced reinstall: total 50652 drwx------ 2 root root 12288 Oct 8 17:45 lost+found -rw------- 1 root root 512 Oct 8 18:33 backup_mbr -rw-r--r-- 1 root root 1236 Oct 25 19:07 boot.readme -rw-r--r-- 1 root root 128888 Nov 5 11:30 config-3.1.0-1.2-desktop -rw-r--r-- 1 root root 128730 Nov 5 11:31 config-3.1.0-1.2-default -rw-r--r-- 1 root root 2547268 Nov 5 12:28 System.map-3.1.0-1.2-desktop -rw-r--r-- 1 root root 4977392 Nov 5 12:28 vmlinuz-3.1.0-1.2-desktop -rw-r--r-- 1 root root 5807889 Nov 5 12:45 vmlinux-3.1.0-1.2-desktop.gz -rw-r--r-- 1 root root 515 Nov 5 12:45 sysctl.conf-3.1.0-1.2-desktop -rw-r--r-- 1 root root 212271 Nov 5 12:45 symvers-3.1.0-1.2-desktop.gz -rw-r--r-- 1 root root 2445966 Nov 5 13:42 System.map-3.1.0-1.2-default -rw-r--r-- 1 root root 4704816 Nov 5 13:42 vmlinuz-3.1.0-1.2-default -rw-r--r-- 1 root root 5501786 Nov 5 14:04 vmlinux-3.1.0-1.2-default.gz -rw-r--r-- 1 root root 404 Nov 5 14:04 sysctl.conf-3.1.0-1.2-default -rw-r--r-- 1 root root 212358 Nov 5 14:05 symvers-3.1.0-1.2-default.gz lrwxrwxrwx 1 root root 1 Nov 13 21:18 boot -> . -rw-r--r-- 1 root root 441856 Nov 13 21:31 message lrwxrwxrwx 1 root root 25 Nov 13 21:47 vmlinuz -> vmlinuz-3.1.0-1.2-default drwxr-xr-x 2 root root 1024 Nov 13 21:48 grub -rw-r--r-- 1 root root 12544103 Nov 13 21:51 initrd-3.1.0-1.2-default lrwxrwxrwx 1 root root 24 Nov 13 21:51 initrd -> initrd-3.1.0-1.2-default -rw-r--r-- 1 root root 12189855 Nov 13 21:51 initrd-3.1.0-1.2-desktop Contents of /boot/grub/menu.lst, after the forced re-install. After the zypper dup, the first four entries were not present: # Modified by YaST2. Last modification on Sun Nov 13 21:48:23 CET 2011 # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader # For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader default 2 timeout 8 ##YaST - generic_mbr gfxmenu (hd0,0)/message ##YaST - activate ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 12.1 - 3.1.0-1.2 (default) root (hd0,0) kernel /vmlinuz-3.1.0-1.2-default root=/dev/system/root resume=/dev/system/swap splash=silent quiet showopts vga=0x314 initrd /initrd-3.1.0-1.2-default ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 12.1 - 3.1.0-1.2 (default) root (hd0,0) kernel /vmlinuz-3.1.0-1.2-default root=/dev/system/root showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x314 initrd /initrd-3.1.0-1.2-default ###Don't change this comment - YaST2 identifier: Original name: linux### title Desktop -- openSUSE 12.1 - 3.1.0-1.2 root (hd0,0) kernel /vmlinuz-3.1.0-1.2-desktop root=/dev/system/root resume=/dev/system/swap splash=silent quiet showopts vga=0x314 initrd /initrd-3.1.0-1.2-desktop ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 12.1 - 3.1.0-1.2 (desktop) root (hd0,0) kernel /vmlinuz-3.1.0-1.2-desktop root=/dev/system/root showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x314 initrd /initrd-3.1.0-1.2-desktop ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 12.1 RC 1 - 3.1.0-rc9-1 (default) root (hd0,0) kernel /vmlinuz-3.1.0-rc9-1-default root=/dev/system/root resume=/dev/system/swap splash=silent quiet showopts vga=0x314 initrd /initrd-3.1.0-rc9-1-default ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 12.1 RC 1 - 3.1.0-rc9-1 (default) root (hd0,0) kernel /vmlinuz-3.1.0-rc9-1-default root=/dev/system/root showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x314 initrd /initrd-3.1.0-rc9-1-default ###Don't change this comment - YaST2 identifier: Original name: linux### title Desktop -- openSUSE 12.1 RC 1 - 3.1.0-rc9-1 root (hd0,0) kernel /vmlinuz-3.1.0-rc9-1-desktop root=/dev/system/root resume=/dev/system/swap splash=silent quiet showopts vga=0x314 initrd /initrd-3.1.0-rc9-1-desktop ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 12.1 RC 1 - 3.1.0-rc9-1 (desktop) root (hd0,0) kernel /vmlinuz-3.1.0-rc9-1-desktop root=/dev/system/root showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x314 initrd /initrd-3.1.0-rc9-1-desktop ###Don't change this comment - YaST2 identifier: Original name: floppy### title Diskette rootnoverify (fd0) chainloader +1 Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. Actual Results: Probably an unbootable system Expected Results: Well, at least a bootable system. In case the kernel install fails, it should not remove the old kernel. -- 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=730179
https://bugzilla.novell.com/show_bug.cgi?id=730179#c1
--- Comment #1 from Danny van Delft
https://bugzilla.novell.com/show_bug.cgi?id=730179
https://bugzilla.novell.com/show_bug.cgi?id=730179#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=730179
https://bugzilla.novell.com/show_bug.cgi?id=730179#c2
Marc Schütz
https://bugzilla.novell.com/show_bug.cgi?id=730179
https://bugzilla.novell.com/show_bug.cgi?id=730179#c3
--- Comment #3 from Marc Schütz
https://bugzilla.novell.com/show_bug.cgi?id=730179
https://bugzilla.novell.com/show_bug.cgi?id=730179#c4
--- Comment #4 from Marc Schütz
https://bugzilla.novell.com/show_bug.cgi?id=730179
https://bugzilla.novell.com/show_bug.cgi?id=730179#c5
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=730179
https://bugzilla.novell.com/show_bug.cgi?id=730179#c6
--- Comment #6 from Marc Schütz
participants (1)
-
bugzilla_noreply@novell.com