Bug 270685

Summary: Enabling/disabling repositories with KPackageKit is very slow
Product: [Frameworks and Libraries] kpackagekit Reporter: Thomas Goettlicher <tgoettlicher>
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED NOT A BUG    
Severity: normal CC: dantti12
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Goettlicher 2011-04-11 14:34:48 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

The original bug report was: 
https://bugzilla.novell.com/show_bug.cgi?id=685445

Enabling/disabling repositories with KPackageKit is very slow

Reproducible: Always

Steps to Reproduce:
1. Add http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_11.4/ to
your repository list.

2. Start KPackageKit

3. At "Preferences" disable this repository again.
Actual Results:  
This action is VERY slow.

A left-click on the systray icon, choosing "Refreshing package cache/Generate
package list" in the menu, displays a window "Generate package list" which is
progressing very slow. This action takes about 10 minutes.

Expected Results:  
Enabling/disabling repositories with KPackageKit should be as fast as with
YaST. With YaST is doesn't take more than 30 seconds.

Reproducible: Didn't try
Comment 1 Daniel Nicoletti 2011-07-28 15:10:36 UTC
Yes, the problem is that your backend (zypp) refreshes the cache on each operation which makes this process really slow, please ask them to fix it.