Univention Bugzilla – Bug 32867
Image Postinst fails without error message or exitcode != 0
Last modified: 2014-06-12 09:19:39 CEST
As described here http://forum.univention.de/viewtopic.php?f=64&t=2935&p=10202, the postinst of the image packages is not executed with set -e ; that leads to an exit code 0 for postinst even if the subprocess (in this case the image download failed) exits!= 0. Maybe this was desirable in order to prevent failing installations in cases where dns lookups doesn't work or things like that. Anyway this should be intercepted.
Check for 1.1
This is no longer as relevant as we have an image module in the UMC with UCC 2.0.
UCC 2.0 will introduce an image management module in the Univention Management Console which will take care of the downloads. If the image download is incomplete or failed, a error message will be flagged there. Aborting the installation in the meta package itself is problematic, since it leads a "corrupted" status in the dpkg package installation database.
UCC 2.0 has been released: http://docs.univention.de/release-notes-ucc-2.0.html If this error occurs again, please use "Clone This Bug".