Bugzilla – Bug 151214
update_bootloader unknown options --force --refresh
Last modified: 2006-02-15 19:33:49 UTC
I've updated the kernel from SL-OSS-factory and got the following messages: ... Unknown option: force SYNOPSIS: /sbin/update-bootloader {--image file} [--initrd file] [--default] [--previous] {--add|--remove} Unknown option: refresh SYNOPSIS: /sbin/update-bootloader {--image file} [--initrd file] [--default] [--previous] {--add|--remove} error: %post(kernel-xen-2.6.16_rc3-2.x86_64) scriptlet failed, exit status 1 2:kernel-smp ########################################### [ 67%] used RPMs: # rpm -qf /boot/vmlinuz-2.6.16-rc3-2-smp kernel-smp-2.6.16_rc3-2 # rpm -qf /sbin/update-bootloader perl-Bootloader-0.2.7-3
At which point did these errors occurr? Which commands did you invoke? Please be more verbose.
(In reply to comment #1) > At which point did these errors occurr? Which commands did you invoke? Please > be more verbose. > ok, here is "the full story": # rpm -Uhv kernel-smp-2.6.16_rc3-2.x86_64.rpm --force Preparing... ########################################### [100%] 1:kernel-smp ########################################### [100%] Setting up /lib/modules/2.6.16-rc3-2-smp Root device: /dev/sda3 (mounted on / as reiserfs) Module list: amd74xx aic79xx processor thermal fan reiserfs Kernel image: /boot/vmlinuz-2.6.16-rc3-2-smp Initrd image: /boot/initrd-2.6.16-rc3-2-smp Shared libs: lib64/ld-2.3.90.so lib64/libacl.so.1.1.0 lib64/libattr.so.1.1.0 lib64/libc-2.3.90.so lib64/libdl-2.3.90.so lib64/libhistory.so.5.1 lib64/libncurses.so.5.5 lib64/libpthread-2.3.90.so lib64/libreadline.so.5.1 lib64/librt-2.3.90.so lib64/libuuid.so.1.2 Driver modules: ide-disk sd_mod amd74xx aic79xx processor thermal fan Filesystem modules: reiserfs Including: initramfs fsck.reiserfs Bootsplash: SuSE (1024x768), SuSE (1280x1024) 14672 blocks Using grub, re-install of bootloader not required. Unknown option: force SYNOPSIS: /sbin/update-bootloader {--image file} [--initrd file] [--default] [--previous] {--add|--remove} Unknown option: force SYNOPSIS: /sbin/update-bootloader {--image file} [--initrd file] [--default] [--previous] {--add|--remove} Unknown option: refresh SYNOPSIS: /sbin/update-bootloader {--image file} [--initrd file] [--default] [--previous] {--add|--remove} error: %post(kernel-smp-2.6.16_rc3-2.x86_64) scriptlet failed, exit status 1 #
Appears to be a problem with the Kernel RPM.
(In reply to comment #3) > Appears to be a problem with the Kernel RPM. in the mean time drpmsync fetched a new version of perl-Bootloader perl-Bootloader-0.2.11-3.x86_64.rpm which knows about the new options "--force" and "--refresh". now the kernel update works fine, no error messages anymore. sorry for the false report!