I'm out of ideas, myself--it's a shame dpkg can't just be told to forget
about the old package and skip running the prerm script.  You might try
renaming /sw to something else before starting over,if you have the space,
so that you can install packages from your existing deb files (with dpkg).

--
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 9:43 AM, "Alexander Hansen" <[EMAIL PROTECTED]> wrote:
>
> > dpkg -i --force-overwrite
> > /sw/fink/dists/unstable/main/binary-darwin-powerpc/editors/emacsen-common-1.4.
> > 13-2
>
>
> The name wasn't quite right. Once corrected I get:
>
> [powerbook:/usr/local] rskoss# dpkg -i --force-overwrite
> /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:
> [powerbook:/usr/local] rskoss#
> [powerbook:/usr/local] rskoss#
>
>
>
> So I'm wondering if I should just remove /sw and do a complete reinstall of
> fink?
>
>
>
>
>
> --
> 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

Reply via email to