I am still having problems with this package. Now it doesn't want to be
installed nor to be removed (actually, after jumping through a couple of
hoops that I forgot, but at least involving "sudo touch
/sw/var/lib/emacsen-common/installed-flavors", I got it reinstalled and
then removed. Won't touch it any more, will stay with XEmacs).

% fink update-all
sudo /sw/bin/fink update-all
Information about 1062 packages read in 1 seconds.
The following 4 packages will be installed or updated:
 emacs-carbon mozilla pgplot python
The following additional package will be installed:
 emacsen-common
Do you want to continue? [Y/n] dpkg -i /sw/fink/dists/unstable/main/binary-darwin-p
owerpc/editors/emacsen-common_1.4.13-2_darwin-powerpc.deb
Selecting previously deselected package emacsen-common.
(Reading database ... 62058 files and directories currently installed.)
Preparing to replace emacsen-common 1.4.13-2 (using .../emacsen-common_1.4.13-2_dar
win-powerpc.deb) ...
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/fink/dists/unstable/main/binary-darwin-powerpc/editors/e
macsen-common_1.4.13-2_darwin-powerpc.deb (--install):
 subprocess new pre-removal script returned error exit status 2
emacs-package-install: Couldn't open
/sw/var/lib/emacsen-common/installed-flavors a
t /sw/lib/emacsen-common/emacs-package-install line 36.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 /sw/fink/dists/unstable/main/binary-darwin-powerpc/editors/emacsen-common_1.4.13-2
_darwin-powerpc.deb
### dpkg failed, exit code 1
Failed: can't install package emacsen-common-1.4.13-2

And then, trying to remove:

%fink remove emacsen-common
sudo /sw/bin/fink remove emacsen-common
Information about 1062 packages read in 0 seconds.
dpkg --remove  emacsen-common
dpkg: error processing emacsen-common (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 emacsen-common
### dpkg failed, exit code 1
Failed: can't remove package(s)

So I should reinstall it before removing it, and it can't be
reinstalled, because it refuses to remove it first (why does it run the
*remove script when it is freshly installing, anyway?)

-- 
Martin

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to