On Fri, Nov 19, 2010 at 09:10:03 +0100, Ralf Treinen wrote: > The version of aribas in squeeze does not depend on emacsen-common, > the one in lenny does. Both of these versions install fine, however > when upgrading a lenny system (wihout any emacsen installed) to > squeeze we get the following: > > Preparing to replace aribas 1.63-2 (using .../aribas_1.64-3_amd64.deb) ... > ERROR: emacsen-common being used before being configured. > ERROR: This is likely a bug in the aribas package, which needs to > ERROR: add one of the appropriate dependencies. > ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz > ERROR: for details. > dpkg: warning: subprocess old pre-removal script returned error exit status > 2 > > Now this might be due to some overly eager check of dpkg. I didn't try to > investigate this; the change in aribas_1.64-4 fixes this for the squeeze > release without having to touch dpkg. As soon as we do not have to care > anymore for that particular upgrade path we can turn the Pre-Depends back > to Depends. > If the old prerm fails, dpkg should call new-prerm failed-upgrade. Can't the error be handled there?
Cheers, Julien
signature.asc
Description: Digital signature