1

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?

Sathyajith Bhat
  • 61,504
  • 38
  • 179
  • 264
n0pe
  • 16,472
  • 18
  • 71
  • 102

2 Answers2

4

Zypper auto-refreshes the repos when you run it. Disable it.

Head over to YaST, click on Software and then Software Repositories.

enter image description here

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

enter image description here

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.

End result enter image description here

LMSingh
  • 857
  • 6
  • 14