Bug 270685 - Enabling/disabling repositories with KPackageKit is very slow
Summary: Enabling/disabling repositories with KPackageKit is very slow
Status: RESOLVED NOT A BUG
Alias: None
Product: kpackagekit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Steven M. Parrish
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 14:34 UTC by Thomas Goettlicher
Modified: 2011-07-28 15:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.