At 22:14 Uhr -0400 08.08.2002, Koen van der Drift wrote:
>Hi,
>
>After updating to Fink 0.10, updating the package index after an selfupdate
>is *much* slower: 40-50 sec instead of 3-4 sec what is used to be with
>0.9.12. However the 'fink list' command only takes a few seconds. I have
>done an 'fink index'.

There is a simple reasons for this: when you do a "fink list", it 
uses a package cache which is very fast. When you do a "fink 
selfupdate", it has to rebuild this cache *twice* - once after the 
package list was updated, in order to be able to "see" any changed 
package. And a second time after it updated the Fink package. In 
previous versions of Fink this was *not* done properly when you 
updated to a new Fink package manager version, which led to problems 
if the new Fink version added fields - the package cache would have 
been built by the old Fink versio which didn't know about these new 
fields.

I guess I could conditionalize this cache rebuild to when the "fink" 
package is updated, in other cases only the normal single cache 
rebuild is necessary.


Cheers,

Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890


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

Reply via email to