PDA

View Full Version : using zypper to patch



KeN Etter
03-May-2013, 15:16
# cat /etc/*release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"

For OES, Novell has a recommended zypper command line to keep the
server updated. I'm not finding the recommended command line for SLES
in the docs. For the above listed server, should I be using zypper
patch, zypper up, or something else?

KBOYLE
03-May-2013, 17:13
KeN Etter wrote:

> # cat /etc/*release
> SUSE Linux Enterprise Server 11 (x86_64)
> VERSION = 11
> PATCHLEVEL = 2
> LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-
> x86_64:core-3.2-x86_64:core-4.0-x86_64"
>
> For OES, Novell has a recommended zypper command line to keep the
> server updated. I'm not finding the recommended command line for SLES
> in the docs. For the above listed server, should I be using zypper
> patch, zypper up, or something else?

See:
SLES 11 Administration Guide
6.1 Using Zypper
https://www.suse.com/documentation/sles11/book_sle_admin/?page=/documentation/sles11/book_sle_admin/data/sec_zypper.html

--
Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...

KeN Etter
03-May-2013, 21:52
On Fri, 03 May 2013 16:13:12 GMT, "KBOYLE"
<KBOYLE@no-mx.forums.suse.com> wrote:

>KeN Etter wrote:
>
>> # cat /etc/*release
>> SUSE Linux Enterprise Server 11 (x86_64)
>> VERSION = 11
>> PATCHLEVEL = 2
>> LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-
>> x86_64:core-3.2-x86_64:core-4.0-x86_64"
>>
>> For OES, Novell has a recommended zypper command line to keep the
>> server updated. I'm not finding the recommended command line for SLES
>> in the docs. For the above listed server, should I be using zypper
>> patch, zypper up, or something else?
>
>See:
>SLES 11 Administration Guide
>6.1 Using Zypper
>https://www.suse.com/documentation/sles11/book_sle_admin/?page=/documentation/sles11/book_sle_admin/data/sec_zypper.html

I already read that prior to posting. Just gives me a bunch of
options, but I'm new enough to linux that it doesn't really help.
For OES, Novell was kind enough to provide the recommended command
line. I don't see that for SLES.

smflood
03-May-2013, 22:41
KeN Etter wrote:

> I already read that prior to posting. Just gives me a bunch of
> options, but I'm new enough to linux that it doesn't really help.
> For OES, Novell was kind enough to provide the recommended command
> line. I don't see that for SLES.

Well OES is an add-on for SLES and zypper is a package provided with SLES
not OES ...

HTH.
--
Simon
SUSE Knowledge Partner

Magic31
04-May-2013, 09:35
# cat /etc/*release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"

For OES, Novell has a recommended zypper command line to keep the
server updated. I'm not finding the recommended command line for SLES
in the docs. For the above listed server, should I be using zypper
patch, zypper up, or something else?

For SLES servers I've simply been using "zypper ref" followed by "zypper up". This should result in having the same updates applied that YaST's Online Update module would have you do.

Cheers,
Willem

Magic31
04-May-2013, 10:28
For SLES servers I've simply been using "zypper ref" followed by "zypper up". This should result in having the same updates applied that YaST's Online Update module would have you do.

Cheers,
Willem

And to bring some nuance in what I said, always go over the list of packages that will be updated and possibly added or removed (the one to be watchful of).
"zypper up" differs with "zypper patch" in that way that it will update all packages available, but without a change of vendor of the current package (and there are some more rules).

Adding a specific product (like OES) onto SLES can change how one's required to update the system and there can be different results depending on which method has been used to update the system. Still, "zypper up" should be a safe method, and the same goes for using YaST's YOU (which is supported with OES, starting OES 11). That is, talking it you are also using officially supported 7 required repositories that are in a correct working state.

Cheers,
Willem

KeN Etter
06-May-2013, 13:37
On Fri, 03 May 2013 21:41:27 GMT, Simon Flood
<smflood@no-mx.forums.suse.com> wrote:

>KeN Etter wrote:
>
>> I already read that prior to posting. Just gives me a bunch of
>> options, but I'm new enough to linux that it doesn't really help.
>> For OES, Novell was kind enough to provide the recommended command
>> line. I don't see that for SLES.
>
>Well OES is an add-on for SLES and zypper is a package provided with SLES
>not OES ...

I understand that. It is just that Novell states in their docs the
specific zypper command line to use when updating an OES server. I'm
assuming they did so because they knew that there would be admins such
as myself who are making the transition from NetWare to Linux and
would need to know exactly how to use zypper. When I look at the
zypper docs for SLES, it talks about the options, but doesn't explain
well enough for me to know which method to use.

KeN Etter
06-May-2013, 13:38
On Sat, 04 May 2013 09:34:01 GMT, Magic31
<Magic31@no-mx.forums.suse.com> wrote:

>
>Magic31;13461 Wrote:
>> For SLES servers I've simply been using "zypper ref" followed by "zypper
>> up". This should result in having the same updates applied that YaST's
>> Online Update module would have you do.
>>
>> Cheers,
>> Willem
>
>And to bring some nuance in what I said, always go over the list of
>packages that will be updated and possibly added or removed (the one to
>be watchful of).
>"zypper up" differs with "zypper patch" in that way that it will update
>all packages available, but without a change of vendor of the current
>package (and there are some more rules).
>
>Adding a specific product (like OES) onto SLES can change how one's
>required to update the system and there can be different results
>depending on which method has been used to update the system. Still,
>"zypper up" should be a safe method, and the same goes for using YaST's
>YOU (which is supported with OES, starting OES 11). That is, talking it
>you are also using officially supported 7 required repositories that are
>in a correct working state.

Thanks Willem, that is what I was after!