** Description changed: Binary package hint: debconf When reconfiguring a package that uses dpkg-trigger it fails with: dpkg-trigger: dpkg-trigger must be called from a maintainer script (or with a --by-package option) For instance: $ sudo dpkg-reconfigure selinux dpkg-trigger: dpkg-trigger must be called from a maintainer script (or with a --by-package option) Setting DPKG_MAINTSCRIPT_PACKAGE fixes the problem: $ sudo DPKG_MAINTSCRIPT_PACKAGE=selinux dpkg-reconfigure selinux - The usage of dpkg-trigger indicates that this is normally setup by dpkg: + The usage of dpkg-trigger indicates that this is normally setup by dpkg: $dpkg-trigger --help ... - --by-package=<package> Override trigger awaiter (normally set by dpkg). + --by-package=<package> Override trigger awaiter (normally set by dpkg). ... DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)" debconf: - Installed: 1.5.19 - Candidate: 1.5.19 - Version table: - *** 1.5.19 0 - 500 http://us.archive.ubuntu.com hardy/main Packages - 100 /var/lib/dpkg/status + Installed: 1.5.19 + Candidate: 1.5.19 + Version table: + *** 1.5.19 0 + 500 http://us.archive.ubuntu.com hardy/main Packages + 100 /var/lib/dpkg/status Thanks, Caleb
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/198421 Title: DPKG_MAINTSCRIPT_PACKAGE not set by dpkg-reconfigure causing dpkg- trigger to fail To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/198421/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
