I'd guess that you can't do the reinstall because your old deb has been
replaced, and the scripts aren't the same between the two. Try this:
dpkg -r --force-remove-reinstreq
Here's the description:
remove-reinstreq: Remove a package, even if it's
broken and marked to require reinstallation. This
may, for example, cause parts of the package to
remain on the system, which will then be forgotten
by dpkg.
Then you should just be able to install emacsen-common, at the cost of a
few unused files laying around. Try doing 'dpkg -L emacsen-common' before
doing the remove to see where your current files are, and then do it again
afterwards--you can remove any files that are only in the first list.
--
Alexander K. Hansen
Associate Research Scientist, Columbia University visiting MIT Plasma
Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA 02139-4213
On Thu, 26 Sep 2002, Bob Koss wrote:
> On 9/26/02 8:16 AM, "Alexander Hansen" <[EMAIL PROTECTED]> wrote:
>
> > Try removing emacsen-common, as well.
>
> Didn't work. I tried to reinstall, as the error messages indicated, and that
> didn't work either. I seem to have a real mess here. Errors follow:
>
>
>
> [powerbook:/usr/local] rskoss# fink remove emacsen-common
> Information about 1498 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
> ### execution of dpkg failed, exit code 1
> Failed: can't remove package emacsen-common
> [powerbook:/usr/local] rskoss#
>
>
> [powerbook:/usr/local] rskoss# fink reinstall emacsen-common
> Information about 1498 packages read in 1 seconds.
>
> The following package will be reinstalled:
> emacsen-common
> dpkg -i
> /sw/fink/dists/unstable/main/binary-darwin-powerpc/editors/emacsen-common_1.
> 4.13-2_darwin-powerpc.deb
> Selecting previously deselected package emacsen-common.
> (Reading database ... 28347 files and directories currently installed.)
> Preparing to replace emacsen-common 1.4.13-2 (using
> .../emacsen-common_1.4.13-2_darwin-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/emacsen-common_1.
> 4.13-2_darwin-powerpc.deb (--install):
> subprocess new pre-removal script returned error exit status 2
> chmod: /usr/local/share/emacs: No such file or directory
> dpkg: error while cleaning up:
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> /sw/fink/dists/unstable/main/binary-darwin-powerpc/editors/emacsen-common_1
> .4.13-2_darwin-powerpc.deb
> ### execution of dpkg failed, exit code 1
> Failed: Can't call method "get_fullname" without a package or object
> reference at /sw/lib/perl5/Fink/PkgVersion.pm line 1648.
> [powerbook:/usr/local] rskoss#
>
>
> --
> Robert Koss, Ph.D. | Training, Mentoring, Contract Development
> Senior Consultant | Object Oriented Design, C++, Java
> www.objectmentor.com | Extreme Programming
>
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners