[EMAIL PROTECTED] writes:

> I have a problem trying to remove the binary installation of auctex.
> Neither "fink remove" nor "dpkg --remove" have the desired effect.
> The output looks as follows (my commands are preceded by "$ "):

[snip]

> Removing auctex ...
> remove/auctex: Removing for emacs21... rmdir: illegal option -- -
> usage: rmdir [-p] directory ...
> emacs-package-remove: /sw/lib/emacsen-common/packages/remove/auctex
> emacs21 emacs21 failed at /sw/lib/emacsen-common/emacs-package-remove
> line 30.
> /sw/bin/dpkg: error processing auctex (--remove):
> subprocess pre-removal script returned error exit status 1

This is a bug in auctex remove script that occurs if you don't have
fileutils installed. You have two options:

1) Do what the PostRmScript is supposed to do by hand (do the same for
   emacs20 and emacs22 if you have them installed):

   rm -rf /sw/share/emacs21/site-lisp/auctex
   rm -rf /sw/var/lib/auctex/emacs21

   and then remove the remove/auctex script:

   rm -f /sw/lib/emacsen-common/packages/remove/auctex

   Finally remove auctex with fink remove auctex.

2) Alternatively you can install fileutils and then remove auctex with
   fink remove auctex.

Sébastien




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to