On 02-Nov-2015, Ben Finney wrote: > Thanks. How will the automatic upgrade work, though, if the existing > package ‘elpa-magit’ version 2.2.2-3 always fails its pre-remove > step?
The answer is: ===== remove/magit-2.2.2: Handling removal of emacsen flavor emacs24 dh-elpa: purging flavor specific files for emacs24 find: `/usr/share/emacs24/site-lisp/elpa/magit-2.2.2': No such file or directory ERROR: remove script from elpa-magit package failed dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... […] ===== > Does this point to a bug in the ‘emacs24’ package in being unable to > automatically handle upgrades of these packages in Debian built > against an older ELPA? So, no. The upgrade process will instruct ‘dpkg’ to try the pre-removal script from the to-be-installed package, which (with a corrected ‘elpa-magit’ package) will succeed, allowing the upgrade to proceed automatically. Apologies for the noise. Thanks for your maintenance work! -- \ “I must have a prodigious quantity of mind; it takes me as much | `\ as a week sometimes to make it up.” —Mark Twain, _The Innocents | _o__) Abroad_ | Ben Finney <b...@benfinney.id.au>
signature.asc
Description: PGP signature