Whenever I open the terminal to install something from the repositories, it takes like 1 minute to 'build' them and all that junk. I recently switched from Ubuntu and apt never had this issue. What can I do to reduce this?
Asked
Active
Viewed 1,374 times
2 Answers
4
Zypper auto-refreshes the repos when you run it. Disable it.
Head over to YaST, click on Software and then Software Repositories.

Next,Select the repo, and ensure that Automatically refresh is disabled.

Sathyajith Bhat
- 61,504
- 38
- 179
- 264
-
thanks! is it safe to remove auto refresh on all repos? – n0pe Apr 01 '11 at 12:05
-
2@MaxMackie - yes, it is. I generally disable them since my 'net connection is slow. Just remember to do `zypper ref` before checking for updates to your packages. – Sathyajith Bhat Apr 01 '11 at 12:07
1
A modification on Sathyajith Bhat's answer is a command line to hit them all at once. Thanks @SathyajithBhat
sudo zypper modifyrepo -a -R
-R is legacy. -F should also work. If no name is specified, the action is done on all repos.
LMSingh
- 857
- 6
- 14
