severity 256288 serious
retitle 256288 Missing dependency on emacsen-common
stop

Alex Schroeder <[EMAIL PROTECTED]> wrote:

> Package: emacspeak
> Version: 17.0-1
> Severity: normal
>
>
> Today I decided to remove both emacsen-common and emacspeak.  It seems
> that this allows the system to remove emacsen-common before emacspeak
> is removed, but emacspeak uses a script from emacsen-common...
>
> (Reading database ... 77554 files and directories currently installed.)
> Removing emacsen-common ...
> emacsen-common: Handling removal of emacsen flavor emacs
> Removing emacspeak ...
> /var/lib/dpkg/info/emacspeak.prerm: line 4: 
> /usr/lib/emacsen-common/emacs-package-remove: No such file or directory
> dpkg: error processing emacspeak (--remove):
>  subprocess pre-removal script returned error exit status 1

No wonder. emacspeak has to depend on emacsen-common. This is a
release-critical bug. 

Since I'm going to do an NMU for #291970 anyway, this is the patch I
will use for this one:

--- emacspeak-17.0/debian/control.orig  Thu Jan 27 10:17:59 2005
+++ emacspeak-17.0/debian/control       Thu Jan 27 10:19:22 2005
@@ -8,7 +8,7 @@
 Package: emacspeak
 Architecture: all
 Pre-Depends: emacs20|emacs21
-Depends: tclx8.3|tclx76|tclx, perl-5.005|perl
+Depends: tclx8.3|tclx76|tclx, perl-5.005|perl, emacsen-common
 Conflicts: emacspeak-dt (<= 0.30), emacspeak-ss (<= 1.5)
 Suggests: emacspeak-ss, calc, psgml, xsltproc
 Description: speech output interface to Emacs

I'm ignoring the outdated emacs20, tclx, and perl dependencies, and the
most probably superfluous Pre-Depends, since they aren't
release-critical. 

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer


Reply via email to