On 02/21/2012 10:44 AM, Greg Freemyer pecked at the keyboard and wrote:
On Tue, Feb 21, 2012 at 10:22 AM, Ken Schneider - openSUSE <suse-list3@bout-tyme.net> wrote:
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,
I making an assumption based on how zypper se -s works, but if you are logged in as a normal user:
zypper se -i # search installed with no refresh sudo zypper se -i # search installed with refresh
So as a normal user, you have to proactively allow a refresh to occur.
Greg
PLEASE keep replies to the list. And no, using gmail is *not* an excuse. Why the frack people cannot understand that using the list automatically sends a copy to the list members and you have to be a list member to post to the list. -- 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