On Sun, Oct 25, 2015 at 03:43:36PM +0100, Hilko Bengen wrote: > 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 > `----
Works for me: ... Preparing to unpack .../emacs24_24.5+1-7.1+b1_amd64.deb ... Remove gnu-smalltalk-el for emacs24 remove/gnu-smalltalk-el: purging byte-compiled files for emacs24 Remove emacsen-common for emacs24 emacsen-common: Handling removal of emacsen flavor emacs24 Unpacking emacs24 (24.5+1-7.1+b1) over (24.5+1-7.1) ... ... Setting up emacs24 (24.5+1-7.1+b1) ... Install emacsen-common for emacs24 emacsen-common: Handling install of emacsen flavor emacs24 Wrote /etc/emacs24/site-start.d/00debian-vars.elc Wrote /usr/share/emacs24/site-lisp/debian-startup.elc Install gnu-smalltalk-el for emacs24 install/gnu-smalltalk-el: Handling install for emacsen flavor emacs24 Processing triggers for libc-bin (2.24-8) ... > 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. Are you able to reproduce this? My first guess whould be that something went wrong with the removal, and that the actual problem might be there? > Cheers, > -Hilko cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed