Hello, On Sat 24 May 2025 at 04:37am -07, Xiyue Deng wrote:
> This sounds interesting. I think another possible fix is to let > emacsen-common do `emacs-remove $FLAVOR' on preinst, so that the elpa > directory of the old version of addon is cleaned up; and `emacs-install > $FLAVOR' on postinst to handle the current version of the addon (could > be old if the newer version is not yet unpacked). This requires that an > addon is not configured/set-up before emacsen-common, which seems to be > the case during my testing because an addon Depends on emacsen-common, I > guess. Would be good if someone can confirm this behavior from from > `apt upgrade'. We don't need to do this by experimentation :) Everything about what maintscripts may and may not assume is written down in Policy. Please take another look. -- Sean Whitton
signature.asc
Description: PGP signature