I posted this on debian-user; I'm not a cross-poster by nature or habit, but this has me, and debian-user, stumped!
>>>>> Forwarded message from Bob Bernstein <[EMAIL PROTECTED]> Date: Sat, 15 May 1999 20:14:44 +0000 (GMT) To: [email protected] From: Bob Bernstein <[EMAIL PROTECTED]> Subject: Get thee behind me emacs20! X-Mailer: Ishmail 1.3.3-990123-linux <http://www.ishmail.com> MIME-Version: 1.0 Content-Type: text/plain I have never got the install of emacs20 (the deb package) right on this machine. Since it was cluttering up every use of apt, I decided to put emacs19 on the machine and remove emacs20. I can't remove it. A typescript of the remove attempt is provided. Here's what 'dpkg --list' shows for these creatures: ii emacs19 19.34-21 The GNU Emacs editor. ii emacs19-el 19.34-21 GNU Emacs LISP (.el) files. rF emacs20 20.3-7 The GNU Emacs editor. ii emacsen-common 1.4.8 Common facilities for all emacsen. So, is there either a) a way to fudge the status of the package so that apt will not attempt on every use to straighten it out, or b) a way to 'force' dpkg to remove it? Here's the 'dpkg -r' run; sorry about the length... === snip === (Reading database ... 58270 files and directories currently installed.) Removing emacs20 ... Checking available versions of ctags, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving ctags (/usr/bin/ctags) pointing to /usr/bin/ctags.xemacs20. Leaving ctags.1.gz (/usr/man/man1/ctags.1.gz) pointing to /usr/man/man1/ctags.xemacs20.1.gz. Checking available versions of etags, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving etags (/usr/bin/etags) pointing to /usr/bin/etags.xemacs20. warning: /usr/man/man1/etags.1.gz is supposed to be a slave symlink to /etc/alternatives/etags.1.gz, or nonexistent; however, readlink failed: Invalid argument Leaving etags.1.gz (/usr/man/man1/etags.1.gz) pointing to /usr/man/man1/etags.xemacs20.1.gz. Checking available versions of b2m, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving b2m (/usr/bin/b2m) pointing to /usr/bin/b2m.xemacs20. Leaving b2m.1.gz (/usr/man/man1/b2m.1.gz) pointing to /usr/man/man1/b2m.xemacs20.1.gz. Checking available versions of emacsclient, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving emacsclient (/usr/bin/emacsclient) pointing to /usr/bin/emacsclient.emacs19. Checking available versions of rcs-checkin, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving rcs-checkin (/usr/bin/rcs-checkin) pointing to /usr/bin/rcs-checkin.xemacs20. Leaving rcs-checkin.1.gz (/usr/man/man1/rcs-checkin.1.gz) pointing to /usr/man/man1/rcs-checkin.xemacs20.1.gz. Checking available versions of emacs, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving emacs (/usr/bin/emacs) pointing to /usr/bin/emacs-19.34. warning: /usr/man/man1/emacs.1.gz is supposed to be a slave symlink to /etc/alternatives/emacs.1.gz, or nonexistent; however, readlink failed: Invalid argument Leaving emacs.1.gz (/usr/man/man1/emacs.1.gz) pointing to /usr/man/man1/emacs.1emacs19.gz. emacs-remove emacs20 remove/auctex: Removing for emacs20...rmdir: /usr/share/emacs20/site-lisp/auctex//style: No such file or directory rmdir: /usr/share/emacs20/site-lisp/auctex: No such file or directory done. remove/bbdb: Handling removal of emacsen flavor emacs20 remove/bbdb: remove Info links for emacs20 remove/bbdb: purging byte-compiled files for emacs20 remove/calc: Handling removal of emacsen flavor emacs20 remove/calc: remove Info links for emacs20 remove/calc: purging byte-compiled files for emacs20 remove/elib: Handling removal of emacsen flavor emacs20 remove/elib: remove Info links for emacs20 remove/elib: purging byte-compiled files for emacs20 emacsen-common: Handling removal of emacsen flavor emacs20 emacsen-common: purging byte-compiled files for emacs20 remove/gettext: Purging byte-compiled files for emacs20 remove/hyperlatex: Handling removal of emacsen flavor emacs20 emacsen-common: purging byte-compiled files for emacs20 install/octave: Purging byte-compiled files for flavour emacs20 rmdir: /usr/share/emacs20/site-lisp/octave: No such file or directory emacs-remove: /usr/lib/emacsen-common/packages/remove/octave emacs20 emacs19 xemacs20 failed at /usr/lib/emacsen-common/emacs-remove line 28. dpkg: error processing emacs20 (--remove): subprocess pre-removal script returned error exit status 29 Checking available versions of ctags, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving ctags (/usr/bin/ctags) pointing to /usr/bin/ctags.xemacs20. Leaving ctags.1.gz (/usr/man/man1/ctags.1.gz) pointing to /usr/man/man1/ctags.xemacs20.1.gz. Checking available versions of etags, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving etags (/usr/bin/etags) pointing to /usr/bin/etags.xemacs20. warning: /usr/man/man1/etags.1.gz is supposed to be a slave symlink to /etc/alternatives/etags.1.gz, or nonexistent; however, readlink failed: Invalid argument Leaving etags.1.gz (/usr/man/man1/etags.1.gz) pointing to /usr/man/man1/etags.xemacs20.1.gz. Checking available versions of b2m, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving b2m (/usr/bin/b2m) pointing to /usr/bin/b2m.xemacs20. Leaving b2m.1.gz (/usr/man/man1/b2m.1.gz) pointing to /usr/man/man1/b2m.xemacs20.1.gz. Checking available versions of emacsclient, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving emacsclient (/usr/bin/emacsclient) pointing to /usr/bin/emacsclient.emacs19. Checking available versions of rcs-checkin, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving rcs-checkin (/usr/bin/rcs-checkin) pointing to /usr/bin/rcs-checkin.xemacs20. Leaving rcs-checkin.1.gz (/usr/man/man1/rcs-checkin.1.gz) pointing to /usr/man/man1/rcs-checkin.xemacs20.1.gz. Checking available versions of emacs, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Alternative /usr/bin/emacs-20.1 for emacs not registered, not removing. Leaving emacs (/usr/bin/emacs) pointing to /usr/bin/emacs-19.34. warning: /usr/man/man1/emacs.1.gz is supposed to be a slave symlink to /etc/alternatives/emacs.1.gz, or nonexistent; however, readlink failed: Invalid argument Leaving emacs.1.gz (/usr/man/man1/emacs.1.gz) pointing to /usr/man/man1/emacs.1emacs19.gz. Checking available versions of emacs, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Alternative /usr/bin/emacs-20.2 for emacs not registered, not removing. Leaving emacs (/usr/bin/emacs) pointing to /usr/bin/emacs-19.34. warning: /usr/man/man1/emacs.1.gz is supposed to be a slave symlink to /etc/alternatives/emacs.1.gz, or nonexistent; however, readlink failed: Invalid argument Leaving emacs.1.gz (/usr/man/man1/emacs.1.gz) pointing to /usr/man/man1/emacs.1emacs19.gz. Checking available versions of emacs, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Leaving emacs (/usr/bin/emacs) pointing to /usr/bin/emacs-19.34. warning: /usr/man/man1/emacs.1.gz is supposed to be a slave symlink to /etc/alternatives/emacs.1.gz, or nonexistent; however, readlink failed: Invalid argument Leaving emacs.1.gz (/usr/man/man1/emacs.1.gz) pointing to /usr/man/man1/emacs.1emacs19.gz. Update-menus: waiting for dpkg to finish (forking to background) Update-menus: (checking /var/lib/dpkg/lock) emacs-install emacs20 install/tm: Handling install of emacsen flavor emacs20 install/tm: byte-compiling for emacs20 emacs-install: /usr/lib/emacsen-common/packages/install/tm emacs20 emacs19 xemacs20 failed at /usr/lib/emacsen-common/emacs-install line 28. dpkg: error while cleaning up: subprocess post-installation script returned error exit status 29 Errors were encountered while processing: emacs20 === snip === -- Bob Bernstein [EMAIL PROTECTED] at Esmond, R.I., USA -------------- this space intentionally left empty ------- << End forwarded message

