Hi,

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 "$ "):

$ sudo fink remove --recursive auctex
Password:
Information about 5144 packages read in 3 seconds.
/sw/bin/apt-get-lockwait remove auctex
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  auctex
0 packages upgraded, 0 newly installed, 1 to remove and 0  not upgraded.
Need to get 0B of archives. After unpacking 1536kB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 48962 files and directories currently installed.)
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
install/auctex: Byte-compiling for emacs21... done.
Checking /sw/var/lib/auctex/emacs21/...
Done (Total of 0 files compiled)
* AUCTeX: (auctex). A much enhanced LaTeX mode for GNU Emacs.
install-info(/sw/share/info/auctex): replacing existing dir entry for `auctex'
Errors were encountered while processing:
auctex
E: Sub-process /sw/bin/dpkg returned an error code (1)
### execution of /sw/bin/apt-get-lockwait failed, exit code 100
Failed: can't remove package auctex
$
$ sudo dpkg --remove auctex
Password:
(Reading database ... 48962 files and directories currently installed.)
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
install/auctex: Byte-compiling for emacs21... done.
Checking /sw/var/lib/auctex/emacs21/...
Done (Total of 0 files compiled)
* AUCTeX: (auctex). A much enhanced LaTeX mode for GNU Emacs.
install-info(/sw/share/info/auctex): replacing existing dir entry for `auctex'
Errors were encountered while processing:
auctex
$

I am running MacOS X 10.4 with all updates installed. I have run "fink selfupdate" and "fink update-all" before removing auctex. Actually, the reason why I want to remove auctex is because the above problem caused the update-all to fail.

Is there anything short of "rm -rf /sw" and reinstalling all to solve this problem?

Thanks in advance!



-------------------------------------------------------
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