Alexander K. Hansen wrote:

All right.  I didn't want to have to go this route, but it may be necessary
to go for the big guns:

sudo dpkg --remove --force-all emacs21

(emacs20 for Felix)

sudo dpkg --remove --force-all emacsen-common

I think you need even bigger guns, namely to edit directly some stuff in the dpkg database. I cannot say exactly what it takes (probably best to nuke all of the emacs files in /sw/var/lib/dpkg/), but I remember having been in this same situation a long time ago. It was such a traumatic experience that I decided to never touch Fink's emacs packages again. Xemacs is a different story, I use it all the time.
[]
dpkg: error processing emacsen-common (--remove):
  Package is in a very bad inconsistent state - you should
  reinstall it before attempting a removal.
[]
emacs-package-remove: Couldn't open /sw/var/lib/emacsen-common/installed-flavors at /sw/lib/emacsen-common/emacs-package-remove line 36.
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
emacs-package-remove: Couldn't open /sw/var/lib/emacsen-common/installed-flavors at /sw/lib/emacsen-common/emacs-package-remove line 36.
dpkg: error processing /sw/var/cache/apt/archives/emacsen-common_1.4.13-2_darwin-powerpc.deb (--unpack):
subprocess new pre-removal script returned error exit status 2
emacs-package-install: Couldn't open /sw/var/lib/emacsen-common/installed-flavors at /sw/lib/emacsen-common/emacs-package-install line 36.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2

-- Martin




------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to