Thanks for posting. Fortunately this doesn't happen too often, but one of our developers got bitten by it last weekend, too.
As an additional workaround for people who get this, one can edit /sw/etc/fink.conf as a superuser and add AutoScanPackages: false to turn off the automatic scanpackages. As a word of warning: updating Perl to a version not normally associated with your OS version may result in some confusion in fink, as it has certain expectations as to what Perl goes with an OS. -- Alexander Hansen Fink User Liaison Martin Diers wrote: > So typical. I fight a problem for a couple weeks, then post to a list, > and immediately find a fix. > > In case anyone has this problem again, here's the issue and fix: > > Issue: > > /sw/var/lib/fink/scanpackages.db was corrupted. > > The Fix: > > Delete /sw/var/lib/fink/scanpackages.db > run "fink scanpackages" > This will rebuild scanpackages.db from scratch. > > > On Mar 19, 2009, at 11:05 AM, Martin Diers wrote: > > >> After some of Apple's recent security updates killed my Fink, I >> finally started over. This is on Leopard. >> >> Before starting over, however, I did update the Apple Perl install >> to the latest CPAN build, using CPAN itself. >> >> I then moved /sw to /sw2 and installed Fink from stratch, via the >> bootstrap method. >> >> Fink is working fine. However, every time I install something, it >> hangs at the end when it is auto scanning the packages. >> >> >>> Updating the list of locally available binary packages. >>> Scanning dists/unstable/main/binary-darwin-i386 >>> >> At this point, perl is pegging the CPU core it is running on. >> >> The same thing happens if I run fink scanpackages manually: >> >> >>> Updating the list of locally available binary packages. >>> Scanning dists/local/main/binary-darwin-i386 >>> Scanning dists/stable/main/binary-darwin-i386 >>> >> And it freezes and pegs the CPU. I then have to kill the process >> (Ctrl-C usually works). >> >> I have tried running "fink index" a number of times. That works >> fine. Doesn't fix anything. >> >> Not sure what to do next. >> >> I can still install anything through "fink install". I do not >> generally run apt-get directly. >> > > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
