[Pkg-emacsen-addons] Bug#850630: elpa-company: Fails to upgrade from 0.8.12-4 when xemacs21 installed
Sean Whitton
spwhitton at spwhitton.name
Sun Jan 8 17:22:09 UTC 2017
Package: elpa-company
Version: 0.8.12-5
Severity: important
Tags: patch
Dear maintainer,
If xemacs21 is installed, apt cannot upgrade from elpa-company 0.8.12-4
to 0.8.12-5.
Steps to reproduce in a minimal sid chroot:
apt-get install xemacs21
apt-get install elpa-company=0.8.12-4
apt-get install elpa-company=0.8.12-5
Sample output:
Preparing to unpack .../elpa-company_0.8.12-5_all.deb ...
Remove elpa-company for xemacs21
remove/company-0.8.12: Skipping unsupported emacs
dh-elpa: purging flavor specific files for xemacs21
find: '/usr/share/xemacs21/site-lisp/elpa/company-0.8.12': No such file or directory
ERROR: remove script from elpa-company package failed
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Remove elpa-company for xemacs21
remove/company-0.8.12: Skipping unsupported emacs
dh-elpa: purging flavor specific files for xemacs21
find: '/usr/share/xemacs21/site-lisp/elpa/company-0.8.12': No such file or directory
ERROR: remove script from elpa-company package failed
dpkg: error processing archive /var/cache/apt/archives/elpa-company_0.8.12-5_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
The attached patch fixes the problem (also available as a branch
'upgrade-fix' in the team git repository). Please consider uploading it
before 0.8.12-5 migrates to stretch.
Thanks to 'cruncher' on #debian-next for help with this fix.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.8.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages elpa-company depends on:
ii emacs 46.1
ii emacs24 [emacsen] 24.5+1-7.1
ii emacs25 [emacsen] 25.1+1-3
ii emacsen-common 2.0.8
elpa-company recommends no packages.
elpa-company suggests no packages.
-- no debconf information
--
Sean Whitton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-d-elpa-company.prerm-to-fix-upgrade-from-4.patch
Type: text/x-diff
Size: 1792 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-emacsen-addons/attachments/20170108/c19eaa1c/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-emacsen-addons/attachments/20170108/c19eaa1c/attachment.sig>
More information about the Pkg-emacsen-addons
mailing list