Package: dpkg
Version: 1.13.11.0.1
Severity: normal
I made a syntax error in an emacs remove script, which caused the next
package installation to fail. The dpkg message said it would try the
smae script in the new package instead. However, fixing the error
there didn't help:
/usr/lib/emacsen-common/packages/remove/emacspeak-ss: line 9: accent: command
not found
sudo debi
(Reading database ... 191714 files and directories currently installed.)
Preparing to replace emacspeak-ss 1.9.1-2 (using emacspeak-ss_1.9.1-2_i386.deb)
...
/usr/lib/emacsen-common/packages/remove/emacspeak-ss: line 9: accent: command
not found
emacs-package-remove: /usr/lib/emacsen-common/packages/remove/emacspeak-ss
emacs emacs20 emacs21 xemacs21 failed at
/usr/lib/emacsen-common/emacs-package-remove line 30.
dpkg: warning - old pre-removal script returned error exit status 9
dpkg - trying script from the new package instead ...
/usr/lib/emacsen-common/packages/remove/emacspeak-ss: line 9: accent: command
not found
emacs-package-remove: /usr/lib/emacsen-common/packages/remove/emacspeak-ss
emacs emacs20 emacs21 xemacs21 failed at
/usr/lib/emacsen-common/emacs-package-remove line 30.
dpkg: error processing emacspeak-ss_1.9.1-2_i386.deb (--install):
subprocess new pre-removal script returned error exit status 9
Errors were encountered while processing:
emacspeak-ss_1.9.1-2_i386.deb
Apparently it just re-ran the old script again. I manually installed
the repaired script so dpkg could replace the package.
Maybe dpkg's script substitution mechanism fails for emacsen removal
scripts?
- Jim Van Zandt
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages dpkg depends on:
ii coreutils [textutils] 5.2.1-2.1 The GNU core utilities
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii textutils 5.2.1-2.1 The GNU text file processing utili
dpkg recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]