I just tried using dpkg to remove wxmaxima-mac, and this is what it said:
sudo dpkg --purge wxmaxima-mac
/sw/bin/dpkg: error processing wxmaxima-mac (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
wxmaxima-mac
So, I give up. I'm going to erase the Fink install and start from scratch,
making sure to remove that directory in /Applications/
Could you add a configuration option to keep fink confined to its install dir?
I like the convenience of being able to uninstall by erasing /sw/. If that's
not possible, then some sort of "uninstall all of fink" command that handles
all of the package removal scripts automatically would be helpful.
Thanks,
Sean Lake
> On Jun 9, 2016, at 21:41, Sean Lake wrote:
>
> Hello all,
>
> The installation of wxmaxima-mac is failing on one of my systems. Here's the
> error text:
>
> sudo fink reinstall wxmaxima-mac
> Information about 9367 packages read in 1 seconds.
> The following package will be reinstalled:
> wxmaxima-mac
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i
> /sw/fink/dists/stable/main/binary-darwin-x86_64/sci/wxmaxima-mac_16.04.0-1_darwin-x86_64.deb
> (Reading database ... 220679 files and directories currently installed.)
> Preparing to replace wxmaxima-mac 16.04.0-1 (using
> .../wxmaxima-mac_16.04.0-1_darwin-x86_64.deb) ...
> install-info(wxmaxima.info): no entry for file `wxmaxima'.
> rm: /sw/Applications/wxMaxima.app/Contents/PkgInfo: No such file or directory
> dpkg: warning - old pre-removal script returned error exit status 1
> dpkg - trying script from the new package instead ...
> install-info(wxmaxima.info): no entry for file `wxmaxima'.
> rm: /sw/Applications/wxMaxima.app/Contents/PkgInfo: No such file or directory
> /sw/bin/dpkg: error processing
> /sw/fink/dists/stable/main/binary-darwin-x86_64/sci/wxmaxima-mac_16.04.0-1_darwin-x86_64.deb
> (--install):
> subprocess new pre-removal script returned error exit status 1
> * wxMaxima: (wxMaxima). A gui for a computer algebra system.
> install-info(/sw/share/info/wxmaxima.info): replacing existing dir entry for
> `wxMaxima'
> Errors were encountered while processing:
> /sw/fink/dists/stable/main/binary-darwin-x86_64/sci/wxmaxima-mac_16.04.0-1_darwin-x86_64.deb
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> Failed: can't install package wxmaxima-mac-16.04.0-1
>
> I've tried various combinations of purging, rebuilding, installing, etc the
> package, but nothing works. I've even tried deleting the file that gets left
> sitting around, the symlink at /Applications/Fink/wxMaxima.app. The current
> status of the package is:
>
> Status: install reinstreq half-configured
>
> The output of fink --version is:
> Package manager version: 0.39.3
> Distribution version: selfupdate-rsync Thu Jun 9 21:12:45 2016, 10.10, x86_64
> Trees: local/main stable/main
>
> I think the origin of this problem lies in the fact that when software
> against which I build gets updated (eg XCode, X11), I delete the entire /sw/
> tree and start from scratch. The problem is that I forget to delete
> /Applications/Fink, too, and that causes an install failure for wxmaxima-mac.
> On another system, I was able to delete the detritus in /Applications/, and
> the install worked fine. I'm not sure why that step is failing on this other
> machine.
>
> Thanks,
> Sean Lake
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users