Martin Costabel wrote:
Robert T Wyatt wrote:
[]
What's /sw/var/db supposed to be like?
$ ls -alF /sw/var/db
total 176
drwxr-xr-x 3 root admin 102 24 Jan 23:11 ./
drwxr-xr-x 28 root admin 952 25 Feb 00:19 ../
-rw-r--r-- 1 root admin 88942 24 Jan 23:09 finkapt.db
There should be the main fink database, some 20 megabytes long.
Usually it is called "fink.db" (see also "man fink"), and it is
updated whenever you run "fink index" or "fink selfupdate" or some
such command, except when you have the apt-ftparchive package
installed. Then it is called "apt-ftparchive.db" and it is updated at
each full moon or something like that.
Don't ask me about it; I have never understood this database stuff. I
have no idea who writes there, fink, apt, or dpkg, and when and where
and why (or why not in your case). Maybe we should petition fink-core
to document some of it?
The "finkapt.db" was something that existed for a while in November
2004 when the --use-binary-dist stuff was first introduced. Why it is
there in your case, and almost contemporary, I have no idea. Do you
have an old fink version from cvs installed, perhaps? What version of
fink do you have, in fact?
Yesterday I was running fink_0.24.99.cvs-20060225.0335 until I updated
to fink_0.24.99.cvs-20060226.0113. This morning I'm trying to pick up
Dave V's bug fix, but I'm having trouble getting it to install due to
the bug itself. I just woke up though, by the time I get some coffee in
me I should have it figured out.
Then there are, depending on your fink version, also a couple of *.db
files in /sw/var/lib/fink. And of course apt and dpkg have their own
databases which could be missing or corrupt in your case.
bash-3.00$ ls -alF /sw/var/lib/fink
total 9040
drwxr-xr-x 10 root admin 340 26 Feb 08:24 ./
drwxr-xr-x 12 root admin 408 25 Feb 16:16 ../
drwxr-xr-x 4 root admin 136 25 Feb 19:15 finkinfodb/
-rw-r--r-- 1 root admin 2010777 26 Feb 08:21 index.db
-rw-r--r-- 1 root admin 0 25 Feb 19:14 index.db.lock
-rw-r--r-- 1 root admin 113 26 Feb 08:24 override.db
drwxr-xr-x 4 root admin 136 25 Feb 19:14 path-prefix-g++-3.3/
drwxr-xr-x 4 root admin 136 25 Feb 19:14 path-prefix-g++-4.0/
drwxr-xr-x 10 root admin 340 25 Feb 19:34 prebound/
-rw-r--r-- 1 root admin 2610704 26 Feb 08:21 proxies.db
bash-3.00$
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users