On Monday, October 7, 2002, at 05:45  AM, Max Horn wrote:

> At 11:01 Uhr -0600 05.10.2002, Samuel M. Smith wrote:
>> I did a clean install of fink on OSX 10.2.1 as per the directions 
>> given on http://fink.sourceforge.net/news/jag-bootstrap.php.
>>
>> I inadvertently skipped step 4 which is to add unstable/main and 
>> unstable/crypto to the Trees: line in fink.conf
>>
>> everything installed fine however.
>>
>> I caught my mistake however at the first prompt while running
>> fink selfupdate-cvs
>>
>> I updated fink.conf to add the unstable trees but repeated 
>> invocations of
>> fink selfupdate-cvs
>> fink updateall
>> fink list
>> did not ever show any of the unstable packages.
>> finally based on comments on a previous post, I moved the 
>> unstable/main and unstable/crypto to the front of the trees line in 
>> fink.conf
>> subsequent invocations of fink list then showed the  the unstable 
>> packages.
>>
>> Seems like weird behavior to me, maybe a bug?
>
> Possible. Try if a "fink index" fixes the problem. If it does, I think 
> I know what the problem is, if not, then I'm inclined to believe it's 
> a problem local to your system.
>
>

I have seen this problem several times after the update.

The selfupdate-cvs in the upgrade script can fail in some strange ways, 
leaving an incomplete set of packages. The upgrade script does not stop 
if this happens. This prevents some users from updating and they might 
not notice the correct errors. AFAICT, the best way to fix is to remove 
all the 'CVS' directories under /sw/fink so the selfupdate-cvs can be 
re-initialized.

Max, do you think a "fink clean-cvs" command would be useful? Currently 
there is no way for Fink to re-initialize the CVS user, etc that is 
used by selfupdate-cvs, giving you the initial selfupdate-cvs user 
question.

This command could do something like:

find /sw/fink -name 'CVS' -type d -exec rm -rf {} \;

Some of the ways selfupdate-cvs fails that this fixes include:

  "CVS/Entries": no such file or directory (don't know what causes this)
as well as the
  "missing password" one that is the .cvspass problem. (in list 
archives.. I think caused if you user changes. a "cvs login" can fix of 
course, a fink command would be cleaner)

and probably some others.

-Ben



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to