[opensuse] zypper
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. -- 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
* 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" -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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
On Tue, Feb 21, 2012 at 08:53:28AM -0500, Ken Schneider - openSUSE wrote:
Is there a reason why zypper needs to refresh when doing:
zypper se -i <some package>
No, the refresh could be optimized away.
As I only want to search for an *installed* package there is no reason to refresh the repos.
True. For now, use: zypper --no-refresh se -i ... Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Greg Freemyer
-
Ken Schneider - openSUSE
-
Michael Schroeder
-
Patrick Shanahan