[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#905235: emacs-goodies-el failed to install due to old broken symlinks



Hi Göran,

On Fri, Aug 03, 2018 at 10:31:08AM +0200, Göran Weinholt wrote:
> Package: emacs-goodies-el
> Version: 40.0
> Followup-For: Bug #905235
> 
> Hi,
> 
> I ran into this myself today and had a stab at reproducing it. In case
> it doesn't work on your machine, you can try it with Docker:
> 
> $ docker run -it debian:buster-20180716
> 
> # echo deb http://snapshot.debian.org/archive/debian/20180802T205558Z buster main > /etc/apt/sources.list
> # apt update
> # apt -y --no-install-recommends install emacs25-nox=25.2+1-6+b3 emacs-goodies-el=39.0
> # echo deb http://snapshot.debian.org/archive/debian/20180802T205558Z sid main > /etc/apt/sources.list
> # apt update
> # apt -y --no-install-recommends upgrade

Ah, that's what's happening!  Bugs are popping up in various emacs
packages that don't use dh-elpa because users are doing partial
upgrades to sid without installing the new emacsen-common.  It's a bit
heavy-handed, but having packages such as emacs-goodies-el (or w3m-el,
see #903200) declare a hard dependency on emacsen-common >= 3.0.2 will
prevent this issue from triggering.  I confirmed this 3 Aug with
clean chroot upgrades of buster from @/20180802T205558Z to sid.

Russ,

On Sat, 04 Aug 2018 09:41:17 -0700, Russ Allbery wrote:

> Filed as important rather than higher since I think this may be some
> edge case that happened on my system rather than a universal problem,
> since I haven't let the emacs25 -> emacs upgrade happen yet (waiting
> for auctex).

Yes, to my eye that is what's causing this.

On a related issue, it seems a number of users are upgrading
emacs-goodies-el without installing recommends.  At some point
Emacs-goodies-el will become a dummy transitional package that only
contains documentation.  If these dependencies remain as recommends
and users --no-install-recommends then they will lose functionality
that was previously part of goodies—gives users maximum freedom to do
so.

Alternatively, we can make emacs-goodies-el hard depend on this
packages.  This is what a dummy transitional package usually does.  A
side effect of this is that some of the modes have heavier depends
than in the past.  Eg: eproject now depends on helm.

Cheers,
Nicholas


Reply to: