Hi folks: I’ve been using fink for well over 10 years now, but am having problems for the first time that I just can’t seem to get around. This has happened several times now, typically after a power failure due to the crumbling neglected University of California, albeit Santa Cruz infrastructure. The only way I have found to recover from this is to reinstall fink from scratch. There has to be a better way...
I'm getting errors of the form: % sudo apt-get install fink Reading Package Lists... Done Building Dependency Tree... Done 1 packages upgraded, 0 newly installed, 0 to remove and 36 not upgraded. 1 packages not fully installed or removed. Need to get 0B/993kB of archives. After unpacking 0B will be used. (Reading database ... 255459 files and directories currently installed.) Preparing to replace fink 0.38.4-91 (using .../fink_0.38.5-91_darwin-x86%5f64.deb) ... dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... /sw/bin/dpkg: error processing /sw/var/cache/apt/archives/fink_0.38.5-91_darwin-x86%5f64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: /sw/var/cache/apt/archives/fink_0.38.5-91_darwin-x86%5f64.deb E: Sub-process /sw/bin/dpkg returned an error code (1) I tried everything I could think of with "apt-get" and with "fink rebuild" to no avail. Initially, the file /sw/var/lib/dpkg/status had these lines: 9125 Package: fink-buildlock-fink-0.38.4-91 9126 Status: deinstall reinstreq half-installed 9127 Section: unknown 9128 Architecture: darwin-x86_64 9129 Version: 2015.05.24-06.33.53 I changed the Status line to this: purge ok not-installed as suggested in the wiki This change persists, but so does the error. I also tried sudo cp /sw/var/lib/dpkg/status-old /sw/var/lib/dpkg/status as suggested in FAQ 6.13 but to no avail. % fink --version Package manager version: 0.38.4 % sw_vers ProductName: Mac OS X ProductVersion: 10.10.4 BuildVersion: 14E17e Latest xcode, command-line tools, X11. Any suggestions? Bill ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ 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