On 02/21/2012 09:41 AM, Patrick Shanahan pecked at the keyboard and wrote:
* Ken Schneider - openSUSE<suse-list3@bout-tyme.net> [02-21-12 08:54]:
Is there a reason why zypper needs to refresh when doing:
zypper se -i<some package>
As I only want to search for an *installed* package there is no reason to refresh the repos.
If you have repos configured to auto refresh, they will whenever you access zypper to do a search or up or dup after a length of time since last refresh settable in /etc/zypp/zypp.conf.
You *can* set the repos to only refresh when you tell them to:
zypper mr -Ra
now to "zypper up" you need to "zypper ref;zypper up"
I understand all of this *but* when doing a search that *only* refers to *installed* packages *no* refresh is required. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org