Bug#984931: git-el,elpa-magit: fails to install: /usr/lib/emacsen-common/packages/install/git emacs failed at /usr/lib/emacsen-common/lib.pl line 19, <TSORT> line 7.
On Thu, 11 Mar 2021 15:17:39 -0400 David Bremner
> David Bremner writes:
> > As far as I can see, the problem is that the setup for
> > git-el both call "emacs", but that does not exist
> > update-alternatives is called. So there seems to be a
> > here where emacs-gtk (or whatever is providing
/usr/bin/emacs) needs to
> > run its postinst before any add-on package wanting to
> > compilation.
> > Somewhat to my surprise I could duplicate this failure
> > $ sudo schroot -r -c test apt install git-el
> > where test is an up to date sid chroot.
> Another thing I noticed is that git-el does not depend on
> per  (5), I think it should. I don't know if this has
I maintain the psgml add-on package and worked through a similar
issue in this release cycle.
According to the Emacs policy (5A and 5C), this package should
not only add a dependency on "emacsen-common" but also remove the
dependency on "emacs". That would have the positive practical
impact of not trying to byte compile the files until Emacs was
completely installed, according to (5B). For psgml, I added the
dependency on "emacsen-common" and changed the dependency on
"emacs25" to a recommendation of "emacs".