Package: elpa-js2-mode
Version: 0~20150909-1
Severity: grave

Dear maintainer,

while upgrading emacs24, I ran into a series of bugs, some of them
dh-elpa related, including #803344. The second attempt at running a
prerm script for emacs24 eventually failed for elpa-js2-mode, breaking
the upgrade:

,----
| [...]
| dpkg: warning: subprocess old pre-removal script returned error exit status 1
| dpkg: trying script from the new package instead ...
| [...]
| Remove elpa-js2-mode for emacs24
| remove/js2-mode-20150909: Handling removal of emacsen flavor emacs24
| dh-elpa: purging flavor specific files for emacs24
| find: `/usr/share/emacs24/site-lisp/elpa/js2-mode-20150909': No such file or 
directory
| ERROR: remove script from elpa-js2-mode package failed
| dpkg: error processing archive 
/var/cache/apt/archives/emacs24_24.5+1-3_amd64.deb (--unpack):
|  subprocess new pre-removal script returned error exit status 1
`----

The removal script for elpa-js2-mode
(/usr/lib/emacsen-common/packages/remove/elpa-js2-mode) had completed
its task when it was run for the first time but failed the second time
since it had the directory 'js2-mode-20150909' had already been removed.

The emacsen-common/remove template provided dh-elpa has been updated to,
so rebuilding the package should cure this problem.

Cheers,
-Hilko

Reply via email to