Public bug reported:

Binary package hint: dpkg

While looking at a upgrade failure report I noticed that dpkg does not
report trigger failures as real errors via the status-fd or via the
terminal output. Here is a example:

term.log
...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-27-generic
cpio: ./etc/modprobe.d/arch-aliases: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.24-27-generic
dpkg: subprocess installed post-installation script returned error exit status 1
....

status:
2010-03-17 01:05:55,527 INFO cache.commit()
2010-03-17 01:43:24,349 ERROR got an error from dpkg for pkg: 'dmsetup': 
'dependency problems - leaving unconfigured
'

This error on the status-fd is a subsequent error that happens because
initramfs-tools is now in half-configured state because the trigger
failed. This is misleading and conceptually it should be the same kind
of error as a normal postinst failure.

** Affects: dpkg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
trigger failures not reported on --status-fd and not properly in the terminal 
log
https://bugs.launchpad.net/bugs/540252
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to