Package: dash-el
Version: 2.13.0-1
Severity: normal

  $ cat /var/log/apt/term.log
  ...
  Install dash-el for emacs21
  install/dash-el: Handling install for emacsen flavor emacs21
  ...
  Loading 50dash-el (source)...
  Error while loading 50dash-el: Wrong number of arguments: #<subr defalias>, 3
  ...
  While compiling toplevel forms in file 
/usr/share/emacs21/site-lisp/dash-el/dash-functional.el:
    !! Wrong number of arguments ((#<subr defalias> 3))
  Wrote /usr/share/emacs21/site-lisp/dash-el/dash.elc
  Done
  ERROR: install script from dash-el package failed
  dpkg: error processing package dash-el (--configure):
   subprocess installed post-installation script returned error exit status 1
  ...

To fix replace:

  $ cat /usr/lib/emacsen-common/packages/install/dash-el
  ...
  if [ ${FLAVOR} = emacs ]; then exit 0; fi
  if [ ${FLAVOR} = xemacs21 ]; then exit 0; fi
  ...

with:

  case ${FLAVOR} in emacs|*xemacs*|emacs2[1-3]) exit 0;; esac

-- System Information:
Debian Release: stretch/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages dash-el depends on:
ii  emacs           46.1
ii  emacsen-common  2.0.8

dash-el recommends no packages.

dash-el suggests no packages.

-- no debconf information

-- 
http://defun.work/

Reply via email to