Rajko M. wrote:
> On Tuesday 30 October 2007 07:57:22 am Igor Jagec wrote:
>> On Tue, 2007-10-30 at 11:44 +0100, Aniruddha wrote:
>>> I have noticed this behavior on multiple machines. It takes a lot of
>>> time to finish "Cleaning repository 'Packman Repository' cache". Any
>>> ideas what might be the problem?
>> Yeah, I noticed that too. Especially when I want to do some trivial
>> stuffs with Yast2 (such as changing date and time), since Yast2
>> sometimes reads package database. Anyway, maybe your question is for
>> Packman mailing list.
>>
>> BTW a question to Yast developers, why Yast2 does that? Sometimes that
>> can be very annoying.
>>
>> Cheers!
> 
> Is that 10.2 or 10.3. 
> 
> In 10.2 I can confirm behavior, but in 10.3 I can't recall. 
> 
> Though, I can't say for date and time module in 10.2, as that is kept in sync 
> with 'xntpd'. 
> 
> Apropos Packman. 
> So far I recall they had a problem that is fixed, but 
>   /var/cashe/zypp/zypp.db 
> might be in bad shape. Can you delete it and run YaST > Software Management 
> or 
>   zypper refresh
> to create new zypp.db and then check is it slow again. 
> 

I'll agree with Rajko. 10.2 was God awful slow. 10.3 is relatively fast
compared to 10.2. But, what you have to remember is that with "refresh"
set to on in yast, yast must download the xml index of all the rpms
contained at the repository and then compare that list to the list of
rpms installed on your system. When the index contains "new" versions of
files, Yast/zypper need to clean the master index that lives on your
computer to get rid of the old version information and add the new
information.

If it get way to slow, then you can delete your local index files and
let zypper rebuild them. This has been mentioned in several threads. The
question is how slow is slow in your case 30-90 seconds? Or is it start
software management, go get a cup of coffee, and just check back to see
if it is done yet slow? If the latter, then you might consider wiping
your indexes and letting them be rebuilt.

Gurus, chime in if you have better numbers on how slow is too slow.

-- 
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to