[opensuse] zypper up not showing updates that YaST2 does
When I open YaST2 Software Management after a fresh install and after adding a few repos, including Packman, I have about 20 updates, mostly libs, such as libavcodec52 from Packman, preset as automatic updates. If I do zypper up, I get "Nothing to do". Why are they behaving differently and how can I get zypper to match YaST2? I am creating a few scripts for streamlined installation in my lab computers and I am counting with zypper to by-pass the GUI. Thanks. -- Carlos F Lange -- Recursive: Adj. See Recursive. -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Jul 23, 2010 at 1:26 PM, Carlos F Lange <carlos.lange@ualberta.ca> wrote:
When I open YaST2 Software Management after a fresh install and after adding a few repos, including Packman, I have about 20 updates, mostly libs, such as libavcodec52 from Packman, preset as automatic updates.
If I do zypper up, I get "Nothing to do".
Why are they behaving differently and how can I get zypper to match YaST2?
I am creating a few scripts for streamlined installation in my lab computers and I am counting with zypper to by-pass the GUI.
Thanks.
Zypper up will not look at alternate repos for an already installed package. So if packman has newer versions of a package than the oss or -non-oss repo "zypper up" will ignore the packman version. I think "zypper patch" loosens those restrictions somewhat and is closer to what Yast is doing. FYI: "zypper patch" is the recommended command to apply security patches via zypper. zypper dup will ignore that criteria altogether and pull packages from where ever it finds them. Thus zypper dup should be run with some amount of care. But it is used heavily by the devs as they work with the factory repos, so they tend to talk about it / recommend it. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 23 July 2010 19:37:46 Greg Freemyer wrote:
On Fri, Jul 23, 2010 at 1:26 PM, Carlos F Lange
<carlos.lange@ualberta.ca> wrote:
When I open YaST2 Software Management after a fresh install and after adding a few repos, including Packman, I have about 20 updates, mostly libs, such as libavcodec52 from Packman, preset as automatic updates.
If I do zypper up, I get "Nothing to do".
Why are they behaving differently and how can I get zypper to match YaST2?
I am creating a few scripts for streamlined installation in my lab computers and I am counting with zypper to by-pass the GUI.
Thanks.
Zypper up will not look at alternate repos for an already installed package. So if packman has newer versions of a package than the oss or -non-oss repo "zypper up" will ignore the packman version.
Yes, per default the resolver does not automatically change the vendor or architecture of an installed package. You can relax this policy by setting 'solver.allowVendorChange = true' in /etc/zypp/zypp.conf. This should apply to both, zypper and YaST. While zypper follows the policies, YaST (Package->All Packages->Update if newer version available) ignores it and brute force selects higher versions. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres ZYPP Development ma@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/23/2010 12:26 PM, Carlos F Lange pecked at the keyboard and wrote:
When I open YaST2 Software Management after a fresh install and after adding a few repos, including Packman, I have about 20 updates, mostly libs, such as libavcodec52 from Packman, preset as automatic updates.
If I do zypper up, I get "Nothing to do".
Why are they behaving differently and how can I get zypper to match YaST2?
I am creating a few scripts for streamlined installation in my lab computers and I am counting with zypper to by-pass the GUI.
Thanks.
You might want to try zypper dup instead if the installed packages need to change from one repo to another. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Carlos F Lange
-
Greg Freemyer
-
Ken Schneider - openSUSE
-
Michael Andres