In the hope this might help someone...
Background:
Bitten by the "selfupdate-cvs / update-all" bug, I had an unusable
Gnome 2 install. To restore Gnome 1, I moved /sw out of the way and
copied /sw from a backup made with Carbon Copy Cloner. It seemed all
was well, but then I discovered that "fink list" wasn't listing all the
packages.
My message to the list asked about repairing/rebuilding the database
(rather than replacing it) and through the help of Alexander Hansen
(et. al.) I found that /sw/fink/dists was supposed to be symbolically
linked to /sw/fink/10.2 but wasn't. Moving the dists directory and
creating the link again seemed to correct my problems.
However, a new problem soon appeared. Every time a fink action was
invoked, an error message (Use of uninitialized value in bitwise and
(&) at /System/Library/Perl/darwin/Fcntl.pm line 193, <SW_VERS> line 2)
was generated. The fink actions appeared to proceed normally; I could
install, list, and at first, self-update. Then a new problem appeared-
selfupdate-cvs failed with messages about permission problems. I had
run (and ran again) Apple's Disk Utility permission "first aid" but saw
nothing related to the /sw directory.
Latest solution:
I moved aside the 10.2 and CVS directories from /sw/fink and ran
selfupdate-cvs. It appears that all was rebuilt and now is again
working. The error message referred to above has not reappeared. Fink
still knows about all installed packages.
Perhaps the answer to my original question was too obvious- replacing
the database seems much simpler than trying to repair it! I am even
more impressed with the forethought which has gone into the Fink
project.
Stan
-------------------------------------------------------
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
