Updates/patches with zypper

I get notified of SUSE patches via the security-announce mailing list,
and usually just run ‘zypper up’ to bring things up to snuff. One I
received today mentioned “To bring your system up-to-date, use “zypper
patch”.”

It got me wondering, what’s the difference between that and ‘zypper up’?
I presume that anything that ‘zypper patch’ pulls in will also be
included by ‘zypper up’. Is that correct?

I’d also hazard a guess that these are just security patches and doing a
‘zypper up’ will pull in additional things such as package updates in
addition to security fixes. Am I understanding it correctly?

…Kevin

Kevin Miller - http://www.alaska.net/~atftb
Juneau, Alaska
In a recent survey, 7 out of 10 hard drives preferred Linux
Registered Linux User No: 307357, http://linuxcounter.net

zypper patch
only installs security patches, but it will break package switches you may have made

zypper up will update software and install patches but will not break switches

Hence I only update like this
http://dl.dropbox.com/u/10573557/Software%20Management/system_update.png

On 2011-11-03 06:24, Kevin Miller wrote:

> It got me wondering, what’s the difference between that and ‘zypper up’? I
> presume that anything that ‘zypper patch’ pulls in will also be included by
> ‘zypper up’. Is that correct?

zyper patch just pulls updates from the update repo. Zypper up also pulls
newer versions present on other repos, if they have the same vendor.

The mail list you mention refers to updates in that update repo, only; ie,
to zypper patch. Official updates.

By the way, zyppper patch is similar you YOU, yast online update.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 11/02/2011 10:46 PM, caf4926 wrote:
>
> zypper patch
> only installs security patches, but it will break package switches you
> may have made
>
> zypper up will update software and install patches but will not break
> switches
>
> Hence I only update like this
> http://tinyurl.com/3m4nt2q

Thanks. So is that way different than ‘zypper up’? I just did it per
your screen shot. It pulled in a few updates - some apache2 stuff, etc.
If I’d been thinking I’d have done a dry run with zypper first to see
if it thought anything was pending, but I didn’t think of that until
after I’d already hit the accept button…

By the way, what are you using to diagram the screenshot? Do you suck
it into the GIMP or is there a nifty little annotation tool you use?

…Kevin

Kevin Miller - http://www.alaska.net/~atftb
Juneau, Alaska
In a recent survey, 7 out of 10 hard drives preferred Linux
Registered Linux User No: 307357, http://linuxcounter.net

On 11/03/2011 05:28 AM, Carlos E. R. wrote:
> On 2011-11-03 06:24, Kevin Miller wrote:
>
>> It got me wondering, what’s the difference between that and ‘zypper up’? I
>> presume that anything that ‘zypper patch’ pulls in will also be included by
>> ‘zypper up’. Is that correct?
>
> zyper patch just pulls updates from the update repo. Zypper up also pulls
> newer versions present on other repos, if they have the same vendor.
>
> The mail list you mention refers to updates in that update repo, only; ie,
> to zypper patch. Official updates.
>
> By the way, zyppper patch is similar you YOU, yast online update.

Thanks Carlos…


Kevin Miller - http://www.alaska.net/~atftb
Juneau, Alaska
In a recent survey, 7 out of 10 hard drives preferred Linux
Registered Linux User No: 307357, http://linuxcounter.net

Kevin,

It’s a little more complicated that just saying it’s the same. And how it behaves can depend on how many repos you have.
I prefer the graphical method I posted because it’s easier to see exactly what is happening and it’s definitely easier to manipulate if you don’t like the look of something.
Once you have selected update all if newer version available you can select the ‘Installation Summary’ tab to get a clear look at what is happening.

I basically use the default repos + packman
Some people add many more and that’s where the problems start, especially when they don’t really know how to manage them. And most of the time their addition is just not needed.

Yes. I use Gimp to edit the images.

On 2011-11-04 07:06, caf4926 wrote:
> I prefer the graphical method I posted because it’s easier to see
> exactly what is happening and it’s definitely easier to manipulate if
> you don’t like the look of something.

Absolutely. Me too.

Actually, I seldom do that kind of updates, only for selected applications.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)