[Yaird-devel] Bug#342905: yaird: barfs when dpkg tries to recover
after earlier failure
Frans Pop
aragorn at tiscali.nl
Sun Dec 11 16:12:28 UTC 2005
Package: yaird
Version: 0.0.12-1
Severity: important
When configuration of a package fails, dpkg in some cases tries to recover
by running the postinst scripts again. For yaird this resulted in the
following error:
yaird error: destination /boot/initrd.img-2.6.14-2-sparc64.new already
exists (fatal)
This probably also indicates that yaird fails to clean up after itself
when it fails.
Relevant part of log follows (separate bug filed for the "legacy device"
error).
Cheers,
FJP
Setting up kernel-package (10.017) ...
Setting up yaird (0.0.12-1) ...
Installing new version of config file /etc/yaird/Default.cfg ...
Installing new version of config file /etc/yaird/Templates.cfg ...
Setting up linux-image-2.6.14-2-sparc64 (2.6.14-5) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
yaird error: unrecognised legacy device: /sys/devices/serio1
Failed to create initrd image.
dpkg: error processing linux-image-2.6.14-2-sparc64 (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
linux-image-2.6.14-2-sparc64
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-2.6.14-2-sparc64 (2.6.14-5) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
yaird error: destination /boot/initrd.img-2.6.14-2-sparc64.new already
exists (fatal)
Failed to create initrd image.
dpkg: error processing linux-image-2.6.14-2-sparc64 (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
linux-image-2.6.14-2-sparc64
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/yaird-devel/attachments/20051211/3b81a7ec/attachment.pgp
More information about the Yaird-devel
mailing list