Bug#603966: aribas: request to unblock
On Fri, Nov 19, 2010 at 02:23:03PM +0100, Julien Cristau wrote:
> 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?
Possibly. Initially I was assuming that the error was thrown by dpkg,
but that is not the case. In fact it is well known issue with emacsen-common:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=153860
(yes it is that old). I'll have closer look at how his can be fixed.
-Ralf.
Reply to: