[Pkg-gnu-smalltalk-devel] Bug#802954: gnu-smalltalk-el: Prevents upgrade of emacs24

Hilko Bengen bengen at debian.org
Sun Oct 25 14:43:36 UTC 2015


Package: gnu-smalltalk-el
Version: 3.2.5-1
Severity: grave
Tags: patch

Dear maintainer,

while upgrading emacs24 from 24.5+1-2 to 24.5+1-3 today, the postinstall
script failed with the following output:

,----
| [...]
| Install gnu-smalltalk-el for emacs24
| install/gnu-smalltalk-el: Handling install for emacsen flavor emacs24
| cp: cannot create symbolic link ‘./gst-mode.el’ to ‘../../../emacs/site-lisp/gnu-smalltalk-el/gst-mode.el’: File exists
| cp: cannot create symbolic link ‘./smalltalk-mode.el’ to ‘../../../emacs/site-lisp/gnu-smalltalk-el/smalltalk-mode.el’: File exists
| ERROR: install script from gnu-smalltalk-el package failed
| dpkg: error while cleaning up:
|  subprocess installed post-installation script returned error exit status 1
`----

The cause of the error lies in line 28 of /usr/lib/emacsen-common/packages/install/gnu-smalltalk-el:

Replacing

    cp -s ../../../emacs/site-lisp/${PACKAGE}/*.el .

with

    cp -sf ../../../emacs/site-lisp/${PACKAGE}/*.el .

fixed the issue.

Cheers,
-Hilko

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnu-smalltalk-el depends on:
ii  emacs              46.1
ih  emacs24 [emacsen]  24.5+1-2
ii  emacsen-common     2.0.8

gnu-smalltalk-el recommends no packages.

gnu-smalltalk-el suggests no packages.

-- no debconf information



More information about the Pkg-gnu-smalltalk-devel mailing list