[debhelper-devel] Bug#734531: dh_installemacsen: can create incorrect "hybrid" packages.

Rob Browning rlb at defaultvalue.org
Sun Jan 12 22:58:35 UTC 2014


Rob Browning <rlb at defaultvalue.org> writes:

> Oh, and if there's not already, it would be handy to have some way to
> opt-out of dh_installemacsen processing entirely since emacsen-common
> will appear to be a likely candidate, but is in fact a special case.

And finally, I just uploaded 2.0.6, which has two new requirements for
add-on packages (see debian-emacs-policy 5B):

  --- a/debian-emacs-policy
  +++ b/debian-emacs-policy
  @@ -176,6 +176,8 @@ First, for the purposes of this policy, some terminology:
          fi

        postinst:
  +       mkdir -p 0755 /var/lib/emacsen-common/state/package/installed
  +       touch /var/lib/emacsen-common/state/package/installed/<package>
          if test -e /var/lib/emacsen-common/state/package/installed/emacsen-common
          then
            /usr/lib/emacsen-common/emacs-package-install --postinst <package>
  @@ -186,6 +188,7 @@ First, for the purposes of this policy, some terminology:
          then
            /usr/lib/emacsen-common/emacs-package-remove --prerm <package>
          fi
  +       rm -f /var/lib/emacsen-common/state/package/installed/<package>

        The postinst call must not be made until the package is
        completely configured and otherwise ready for use, and the prerm

This should fix a problem caused when add-on packages were being
installed at the same time as emacsen-common.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




More information about the debhelper-devel mailing list