On 1/12/06, Alexis Gallagher <[EMAIL PROTECTED]> wrote: > I've googled and checked out the FAQ and the documentation, but I'm > quite lost on this and would appreciate any advice. My fink install has > become corrupted and I'm not sure how to fix it. > > Here's what I see: > > sudo fink index -- runs fine, produces no errors > > sudo fink scanpackages -- runs fine, produces no errors > > sudo fink selfupdate -- Seems to run fine, until I get this error: > > <quote> > Reading Package Lists... > E: Unable to parse package file /sw/var/lib/dpkg/status (1) > E: The package lists or status file could not be parsed or opened. > ### execution of /sw/bin/apt-get-lockwait failed, exit code 100 > WARNING: Failure while downloading indexes.Running 'fink scanpackages' > may fix this. > </quote> > > Needless to say running scanpackages, and regressing status to > status-old, do not help. > > Is this a common problem? > > alexis > > >
No, usually when this has happened one the status-old file is adequate to restore a functional fink installation. (The message to run scanpackages is a red herring--it shows up whenever there is a problem relating to the binary tools.) Unfortunately, unless somebody else here on the list comes up with a better idea, I fear that you're going to need to rename your /sw directory and start anew. You'll be able to reinstall anything you've already built from its binary archive by setting up /sw/etc/apt/sources.list to point at your old /sw, e.g. deb /sw.old/fink/10.4-transitional/ (this isn't supposed to look the same as the lines for your real Fink tree; consult "man sources.list") -- Alexander K. Hansen Fink Documenter [Day Job] Levitated Dipole Experiment http://psfcwww2.psfc.mit.edu/ldx/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Fink-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
