[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



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

It fails in this manner:

Preparing to unpack .../6-emacs-goodies-el_40.0_all.deb ...
Remove emacs-goodies-el for emacs25
remove/emacs-goodies-el: purging byte-compiled files for emacs25
Unpacking emacs-goodies-el (40.0) over (39.0) ...

Install emacs-goodies-el for emacs25
install/emacs-goodies-el: Handling emacs25, logged in /tmp/elc_D2D0Aw.log
Building autoloads for emacs25 in /usr/share/emacs25/site-lisp/emacs-goodies-el
ERROR: install script from emacs-goodies-el package failed
dpkg: error processing package emacs-goodies-el (--configure):
 installed emacs-goodies-el package post-installation script subprocess returned error exit status 1

emacs25 -batch --no-site-file --multibyte --eval (setq load-path (cons "." load-path)) -l autoload --eval (setq generated-autoload-file (expand-file-name "emacs-goodies-loaddefs.el")) --eval (setq make-backup-files nil) -f batch-update-autoloads .
Warning (initialization): Ignoring obsolete arg --multibyte
align-string.el:0:0: error: file-error: (Opening input file No such file or directory /usr/share/emacs25/site-lisp/emacs-goodies-el/align-string.el)

Most of the symlinks are broken, not only align-string.el:

# ls -lL /usr/share/emacs25/site-lisp/emacs-goodies-el/ 2>/dev/null
total 188
l????????? ? ?    ?        ?            ? align-string.el
-rw-r--r-- 1 root root  7045 Aug  1 01:58 all.el
l????????? ? ?    ?        ?            ? apache-mode.el
l????????? ? ?    ?        ?            ? ascii.el
l????????? ? ?    ?        ?            ? bar-cursor.el
l????????? ? ?    ?        ?            ? boxquote.el
l????????? ? ?    ?        ?            ? browse-huge-tar.el
l????????? ? ?    ?        ?            ? button-lock.el
l????????? ? ?    ?        ?            ? clipper.el
l????????? ? ?    ?        ?            ? coffee.el
l????????? ? ?    ?        ?            ? color-theme-library.el
l????????? ? ?    ?        ?            ? color-theme.el
l????????? ? ?    ?        ?            ? color-theme_seldefcustom.el
l????????? ? ?    ?        ?            ? ctypes.el
l????????? ? ?    ?        ?            ? dedicated.el
l????????? ? ?    ?        ?            ? df.el
-rw-r--r-- 1 root root  7428 Aug  1 01:58 dir-locals.el
l????????? ? ?    ?        ?            ? edit-env.el
l????????? ? ?    ?        ?            ? egocentric.el
-rw-r--r-- 1 root root  1631 Aug  1 01:58 emacs-goodies-custom.el
-rw-r--r-- 1 root root  3720 Aug  1 01:58 emacs-goodies-el.el
-rw-r--r-- 1 root root   104 Aug  3 07:57 emacs-goodies-loaddefs.el
-rw-r--r-- 1 root root 45619 Aug  1 01:58 ff-paths.el
l????????? ? ?    ?        ?            ? floatbg.el
l????????? ? ?    ?        ?            ? initsplit.el
l????????? ? ?    ?        ?            ? joc-toggle-buffer.el
l????????? ? ?    ?        ?            ? joc-toggle-case.el
l????????? ? ?    ?        ?            ? keydef.el
l????????? ? ?    ?        ?            ? keywiz.el
l????????? ? ?    ?        ?            ? lcomp.el
l????????? ? ?    ?        ?            ? map-lines.el
l????????? ? ?    ?        ?            ? maplev.el
l????????? ? ?    ?        ?            ? marker-visit.el
l????????? ? ?    ?        ?            ? miniedit.el
l????????? ? ?    ?        ?            ? mutt-alias.el
-rw-r--r-- 1 root root 54765 Aug  1 01:58 muttrc-mode.el
l????????? ? ?    ?        ?            ? pack-windows.el
l????????? ? ?    ?        ?            ? perldoc.el
l????????? ? ?    ?        ?            ? pp-c-l.el
-rw-r--r-- 1 root root  9819 Aug  1 01:58 projects.el
l????????? ? ?    ?        ?            ? protbuf.el
l????????? ? ?    ?        ?            ? setnu.el
l????????? ? ?    ?        ?            ? shell-command.el
l????????? ? ?    ?        ?            ? silly-mail.el
l????????? ? ?    ?        ?            ? slang-mode.el
l????????? ? ?    ?        ?            ? tc.el
l????????? ? ?    ?        ?            ? tlc.el
-rw-r--r-- 1 root root 11446 Aug  1 01:58 tld.el
l????????? ? ?    ?        ?            ? todoo.el
l????????? ? ?    ?        ?            ? toggle-option.el
-rw-r--r-- 1 root root 10745 Aug  1 01:58 twiddle.el
l????????? ? ?    ?        ?            ? under.el
-rw-r--r-- 1 root root 19643 Aug  1 01:58 xrdb-mode.el

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, powerpc

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages emacs-goodies-el depends on:
ii  bash               4.4.18-3.1
ii  dpkg               1.19.0.5+b1
ii  emacs25 [emacsen]  25.2+1-6+b3
ii  emacsen-common     2.0.8
ii  install-info       6.5.0.dfsg.1-4

Versions of packages emacs-goodies-el recommends:
pn  elpa-apache-mode        <none>
pn  elpa-bar-cursor         <none>
pn  elpa-bm                 <none>
pn  elpa-boxquote           <none>
pn  elpa-browse-kill-ring   <none>
pn  elpa-csv-mode           <none>
ii  elpa-debian-el          37.5
ii  elpa-devscripts         40.1
pn  elpa-diminish           <none>
ii  elpa-dpkg-dev-el        37.4
pn  elpa-eproject           <none>
pn  elpa-graphviz-dot-mode  <none>
pn  elpa-htmlize            <none>
pn  elpa-initsplit          <none>
pn  elpa-markdown-mode      <none>
pn  elpa-pod-mode           <none>
pn  elpa-session            <none>
pn  elpa-tabbar             <none>
ii  perl-doc                5.26.2-6
ii  wget                    1.19.5-1

emacs-goodies-el suggests no packages.

-- no debconf information


Reply to: