Comment 2 for bug 1488453

Revision history for this message
Robie Basak (racb) wrote : Re: package openhpid 2.14.1-1.3ubuntu2 failed to install/upgrade: underprocessen installerade post-installation-skript gav felkod 1

Thank you for taking the time to report this bug and helping to make Ubuntu better.

It looks like openhpid is not expected to work until it is configured. The package ships OPENHPI_UNCONFIGURED = "YES" in /etc/openhpi/openhpi.conf. This causes a maintainer script failure on first install of the package. I think this has probably happened since the systemd switch and that the previous Sys V init script was probably just a noop.

To fix this problem, you should adjust /etc/openhpi/openhpi.conf to your needs and then run "sudo dpkg --configure -a" to restart the daemon and fix the package installation.

So this bug is part user error since /etc/openhpi/openhpi.conf needs configuring manually, but also part packaging bug because the package will never install successfully the first time.