On Wed, 4 Nov 2015 08:20:10 +1100 Ben Finney <ben+deb...@benfinney.id.au> wrote:
On 03-Nov-2015, Rémi Vanicat wrote:
> Current elpa-magit prerm script just call a perl script from the
> emacsen-common package. What version of emacsen-common do you have?
> If it isn't 2.0.8 or latter, could you upgrade it and try again?
It is:
=====
$ dpkg-query --show elpa-magit emacs24 emacsen-common
elpa-magit 2.2.2-3
emacs24 24.5+1-2
emacsen-common 2.0.8
=====
That's part of the problem, as I understand it. Emacs is only partly
upgraded; when âemacs24â tries to upgrade, it attempts to upgrade
âelpa-magitâ.
When that fails, the system is left in an inconsistent state:
âelpa-magitâ cannot move beyond 2.2.2-3, but âemacs24â requires that
before its upgrade is complete.
Meanwhile âemacsen-commonâ is already at version 2.0.8, which causes
âelpa-magitâ to fail its pre-remove (whether version 2.2.2-3 or
version 2.3.0-2). And around we go again :-)
--
\ å¾·ä¸å¤ãå¿
æé°ã (The virtuous are not abandoned, |
`\ they shall surely have neighbours.) |
_o__) âå夫å Confucius (551 BCE â 479 BCE) |
Ben Finney <b...@benfinney.id.au>
I'm affected by this bug as well.
I guess problem is in file:
/usr/lib/emacsen-common/packages/remove/elpa-magit
line:
find ${elc_dir} -type l -delete
if ${elc_dir} doesn't exist, find fails. Solution:
[ -e ${elc_dir} ] && find ${elc_dir} -type l -delete
Problem is also with other elpa packages: elpa-git-commit, elpa-magit-popup,
elpa-with-editor