https://bugzilla.novell.com/show_bug.cgi?id=439181 Summary: /usr/lib/bootloader/bootloader_entry: line 304: [: 0: unary operator expected Product: openSUSE 11.1 Version: Beta 3 Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: jreidinger@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de Found By: --- I tried to update the kernel while the first stage was inst-sys:~ # mount -vonoatime /dev/system_mac_sda/mac_110b3 /mnt/ mount: you didn't specify a filesystem type for /dev/mapper/system_mac_sda-mac_110b3 I will try type ext3 /dev/mapper/system_mac_sda-mac_110b3 on /mnt type ext3 (rw,noatime) inst-sys:~ # for i in dev proc sys ; do mount -v --bind /$i /mnt/$i ; done /dev on /mnt/dev type none (rw,bind) /proc on /mnt/proc type none (rw,bind) /sys on /mnt/sys type none (rw,bind) inst-sys:~ # chroot /mnt su - rpm -mac:~ # rpm -Uvh /tmp/kernel-ppc64-2.6.27.4-20081027_4KB.ppc64.rpm error: Failed dependencies: kernel-ppc64-base = 2.6.27.4-20081027_4KB is needed by kernel-ppc64-2.6.27.4-20081027_4KB.ppc64 kernel-ppc64 = 2.6.27.1-2.1 is needed by (installed) kernel-ppc64-extra-2.6.27.1-2.1.ppc mac:~ # sync mac:~ # rpm -Uvh /tmp/kernel-ppc64-2.6.27.4-20081027_4KB.ppc64.rpm /tmp/kernel-ppc64-base-2.6.27.4-20081027_4KB.ppc64.rpm error: Failed dependencies: kernel-ppc64 = 2.6.27.1-2.1 is needed by (installed) kernel-ppc64-extra-2.6.27.1-2.1.ppc mac:~ # sync mac:~ # rpm -Uvh /tmp/kernel-ppc64-2.6.27.4-20081027_4KB.ppc64.rpm /tmp/kernel-ppc64-base-2.6.27.4-20081027_4KB.ppc64.rpm /tmp/kernel-ppc64-extra-2.6.27.4-20081027_4KB.ppc64.rpm error: failed to open /etc/mtab: No such file or directory Preparing... ########################################### [100%] 1:kernel-ppc64-base ########################################### [ 33%] Setting up /lib/modules/2.6.27.4-20081027_4KB-ppc64 Kernel image: /boot/vmlinux-2.6.27.4-20081027_4KB-ppc64 Initrd image: /boot/initrd-2.6.27.4-20081027_4KB-ppc64 Root device: /dev/system_mac_sda/mac_110b3 (mounted on / as ext3) WARNING Cannot determine dependencies of kernel module 'linear'. Does it exist? If it does, try depmod -a. Continuing without linear. Kernel Modules: dm-mod crc-t10dif scsi_mod sd_mod uhci-hcd Features: dm block usb lvm2 resume.userspace resume.kernel 26324 blocks grep: /etc/mtab: No such file or directory /usr/lib/bootloader/bootloader_entry: line 304: [: 0: unary operator expected 2:kernel-ppc64 ########################################### [ 67%] Setting up /lib/modules/2.6.27.4-20081027_4KB-ppc64 Kernel image: /boot/vmlinux-2.6.27.4-20081027_4KB-ppc64 Initrd image: /boot/initrd-2.6.27.4-20081027_4KB-ppc64 Root device: /dev/system_mac_sda/mac_110b3 (mounted on / as ext3) Kernel Modules: scsi_mod libata sata_svw dm-mod dm-snapshot crc-t10dif sd_mod uhci-hcd linear Features: dm block usb lvm2 resume.userspace resume.kernel 28085 blocks .. mac:~ # sed -n '304 p' /usr/lib/bootloader/bootloader_entry if [ `grep -c "^[^#[:space:]]\+[[:space:]]\+/boot[[:space:]]" /etc/fstab` -ne \ mac:~ # .. Please, no /etc/mtab usage. I guess /proc/mounts should work as well. -- 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.