Bug 332721

Summary: Wishlist: sensible repository cache updating
Product: [openSUSE] openSUSE 10.3 Reporter: kyle elbert <g2g591>
Component: YaST2Assignee: E-mail List <zypp-maintainers>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 10.3   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description kyle elbert 2007-10-10 18:46:32 UTC
I propose that updating repositories should be done in the background, rather than at yast2 startup. The current behavior is rather intrusive, as I am used to Ubuntu's behavior of updating repositories in the background with a button to manually update the repositories in the package manager. Also perhaps the update interval for the repositories to be more configurable than automatically updating once a day or manual update. I'd like it to be able to be configured to update a specific repository only once every 2 days or so.
Comment 1 Ladislav Slezák 2007-11-22 16:42:36 UTC
Actually the online_update_setup module sets automatic online update interval, it's not intended to do automatic refresh of repositories, that's only part of the process. (I'd say it's a side-effect in this case.)

There is a workaround: You can disable refresh for all sources and refresh them manually in the repository configuration module, but it's quite inconvenient because you have to use two yast modules (one for refreshing and one for installing packages).

(Anyway you can do that manually using cron and zypper.)
Comment 2 kyle elbert 2007-11-23 01:00:52 UTC
thats my point, why should someone have to mess with cron and zypper to get sane package refreshing behavior (by the way I tried and failed to accomplish that) this is one of the two reasons I don't use SUSE. (YAST sucking as a package manager was the other one, though the refreshing is a part of that)
Comment 4 Jiří Suchomel 2007-12-05 15:36:59 UTC
The time after the refresh is needed should be configurable in the zypp settings.
Comment 5 Jozef Uhliarik 2008-04-22 11:25:15 UTC
reassign to zypp-maintainers
Comment 6 Jan Kupec 2008-05-14 10:32:09 UTC
Kyle, try openSUSE 11.0 once it is out (or one of the betas), your speed concerns should be gone :O)