[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Progress on linux-image-...postinst Perl problems



Hi,

remember that linux-image_2.6.15...postinst, a Perl script, failed
strangely on my system, and could be fixed by changing the script to
"exit 0" very soon, run once, and after that even dpkg-reconfigure would
work with the original script?

Things are considerably better with 2.6.16:

Setting up linux-image-2.6.16-1-686 (2.6.16-9bpo1) ...

 Hmm. The package shipped with a symbolic link /lib/modules/2.6.16-1-686/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.16-1-686/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
Running postinst hook /usr/local/sbin/kernel_grub_conf.sh.
dpkg: error processing linux-image-2.6.16-1-686 (--configure):
 subprocess post-installation script returned error exit status 128
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
 linux-image-2.6-686 depends on linux-image-2.6.16-1-686 (= 2.6.16-9bpo1); however:
  Package linux-image-2.6.16-1-686 is not configured yet.
dpkg: error processing linux-image-2.6-686 (--configure):
 dependency problems - leaving unconfigured
Setting up mplayer-skin-blue (1.5-0.5) ...
Errors were encountered while processing:
 linux-image-2.6.16-1-686
 linux-image-2.6-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
Setting up linux-image-2.6.16-1-686 (2.6.16-9bpo1) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
initrd.img(/boot/initrd.img-2.6.16-1-686) points to /boot/initrd.img-2.6.16-1-686 (/boot/initrd.img-2.6.16-1-686) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.16-1-686.postinst line 579.
vmlinuz(/boot/vmlinuz-2.6.16-1-686) points to /boot/vmlinuz-2.6.16-1-686 (/boot/vmlinuz-2.6.16-1-686) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.16-1-686.postinst line 579.
Running postinst hook /usr/local/sbin/kernel_grub_conf.sh.
dpkg: error processing linux-image-2.6.16-1-686 (--configure):
 subprocess post-installation script returned error exit status 128

Looks nearly the same, except the "doing nothing" warnings which are
new.  Immediately after that:

riesling:~# dpkg --configure -a
Setting up linux-image-2.6.16-1-686 (2.6.16-9bpo1) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
initrd.img(/boot/initrd.img-2.6.16-1-686) points to /boot/initrd.img-2.6.16-1-686 (/boot/initrd.img-2.6.16-1-686) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.16-1-686.postinst line 579.
vmlinuz(/boot/vmlinuz-2.6.16-1-686) points to /boot/vmlinuz-2.6.16-1-686 (/boot/vmlinuz-2.6.16-1-686) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.16-1-686.postinst line 579.
Running postinst hook /usr/local/sbin/kernel_grub_conf.sh.

Setting up linux-image-2.6-686 (2.6.16-9bpo1) ...
riesling:~# 

Fine!

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)



Reply to: