[Yum-devel] yum api kernel install weirdness
Tim Lauridsen
tim.lauridsen at googlemail.com
Tue Oct 27 17:08:52 UTC 2009
Hi
i am trying to track down a issue, where kernel installed by yumex generate
postinstall scriptlet errors
$ uname -r
2.6.31.1-56.fc12.i686.PAE
$ sudo rpm -e kernel-PAE-2.6.31.5-96.fc12.i686
initrdfile is /boot/initrd-2.6.31.5-96.fc12.i686.PAE.img
removing modules.dep info for 2.6.31.5-96.fc12.i686.PAE
removing initrd /boot/initrd-2.6.31.5-96.fc12.i686.PAE.img
removing 2.6.31.5-96.fc12.i686.PAE from /boot/grub/grub.conf
/etc/lilo.conf does not exist, not running grubby
$ yum list updates kernel-PAE
Loaded plugins: presto, refresh-packagekit
Updated Packages
kernel-PAE.i686 2.6.31.5-96.fc12
rawhide
Running a very simple yum api test script (attached)
$ sudo python test.py
..
..
initrdfile is /boot/initramfs-2.6.31.5-96.fc12.i686.PAE.img
making it the default based on config
running depmod for 2.6.31.5-96.fc12.i686.PAE
/sbin/new-kernel-pkg: line 292: /sbin/depmod: Permission denied
creating initrd: /sbin/dracut -f
/boot/initramfs-2.6.31.5-96.fc12.i686.PAE.img 2.6.31.5-96.fc12.i686.PAE
/usr/bin/ldd: line 126: /sbin/udevd: Permission denied
found /boot/initramfs-2.6.31.5-96.fc12.i686.PAE.img and using it with grubby
adding 2.6.31.5-96.fc12.i686.PAE to /boot/grub/grub.conf
/etc/lilo.conf does not exist, not running grubby
initrdfile is /boot/initrd-2.6.31.5-96.fc12.i686.PAE.img
yum-cli works without errors.
$ sudo yum update kernel-PAE
..
..
Running Transaction
Warning: RPMDB has been altered since the last yum transaction.
Installing :
kernel-PAE-2.6.31.5-96.fc12.i686 1/1
initrdfile is /boot/initramfs-2.6.31.5-96.fc12.i686.PAE.img
making it the default based on config
running depmod for 2.6.31.5-96.fc12.i686.PAE
creating initrd: /sbin/dracut -f
/boot/initramfs-2.6.31.5-96.fc12.i686.PAE.img 2.6.31.5-96.fc12.i686.PAE
W: Possible missing firmware ql8100_fw.bin for module qla2xxx.ko
W: Possible missing firmware aic94xx-seq.fw for module aic94xx.ko
found /boot/initramfs-2.6.31.5-96.fc12.i686.PAE.img and using it with grubby
adding 2.6.31.5-96.fc12.i686.PAE to /boot/grub/grub.conf
/etc/lilo.conf does not exist, not running grubby
initrdfile is /boot/initrd-2.6.31.5-96.fc12.i686.PAE.img
Installed:
kernel-PAE.i686
0:2.6.31.5-96.fc12
Complete!
*Anybody there can see what goes wrong here ?*
I have modified the /sbin/new-kernel-pkg script called by the kernel
postinstall scriptlet and
changed
verbose=""
to
verbose="-v"
to get some extra verbose output
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20091027/4f7db973/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: application/octet-stream
Size: 233 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20091027/4f7db973/attachment.obj>
More information about the Yum-devel
mailing list