PDA

View Full Version : SLES 11 SP4 Patches bundle since release of SLES SP 4



humaaa0f
08-May-2017, 11:24
Is there a way to download all patches released after SLES 11 SP4 GA?

ab
08-May-2017, 13:05
If you mean to download them all so they can be used over and over without
re-downloading them again and again per-server, this is basically what
SUSE Manager (or Subscription Management Tool (SMT)) is meant to do,
though it also does a ton more than that. The basic idea is to create a
local version of the update server which pulls everything down and lets
SLES (among other things) subscribe to it directly, rather than to the
main SUSE update site. As a result, you can see the patches per
repository nicely too.


--
Good luck.

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

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

humaaa0f
12-May-2017, 22:14
Thanks for your reply.
We don't have a server that is on the internet to be an SMT server. So I created a VM server on my laptop and now I have 6.9 GB of SLES 11 SP4 updates downloaded. I plan to copy the downloaded rpms and use zypper to update my hosts.

One thing I noticed is that it downloaded all versions of the packages since the SLES 11 SP4 release. Is there a way to download the latest release only of each rpm?

ab
12-May-2017, 22:55
I do not think so, other than a bit of scripting now that you have SMT
caught up, though how you prevent re-downloads (if it will even try that)
i do not know.

--
Good luck.

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

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

ab
12-May-2017, 22:56
It may be helpful to understand WHY you want just the latest. I can think
of a couple good reasons, but if you can explain your entire business case
(if not business) that may help to find other solutions, like using SUSE
Studio to build new systems instead of building them, from your own
repositories and then updating, at your place.

--
Good luck.

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

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

humaaa0f
13-May-2017, 05:45
Because you always want to update to the latest release of a package. Specially security related fixes.


It may be helpful to understand WHY you want just the latest. I can think
of a couple good reasons, but if you can explain your entire business case
(if not business) that may help to find other solutions, like using SUSE
Studio to build new systems instead of building them, from your own
repositories and then updating, at your place.

--
Good luck.

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

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

ab
13-May-2017, 13:46
Well sure; I guess I wasn't clear enough in what I meant, which is my
fault. I was curious why you wanted the latest but not anything else, and
your answer provides that, but I wondered if maybe disk space prevented
you from getting the others, or if you just wanted to maintain as little
as possible, or if you were in the end trying to build new VMs that always
started out with the latest rather than building them normally and then
patching right away (which the installer actually does in realtime if you
have a source available, including using SMT or SUSE Manager), etc.

Other than doing things manually, I think your best bet is what you have
going now. SMT is a pretty simple thing, so if you wanted you could pull
packages into it and then have something grab the latest, mirror them
somewhere, and delete old packages from that mirror, but I think it's a
waste of time. 6-8 GiB of space after a couple years of packages is
pretty reasonable to me; any old USB stick you get for free these days
should probably be able to hold it, after all.

Thank-you for taking the time to post. If you find a way to trim back old
packages, it would be interesting to hear. If you would like you could
also submit an enhancement request against SMT or SUSE Manager in order to
add that functionality.

--
Good luck.

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

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

humaaa0f
13-May-2017, 21:41
There are multiple reasons:

You save bandwidth, space and time if you get the latest version only.

The bandwidth is a bigger impact on SUSE servers since there are many users.

It just makes more sense. When you update, you are most likely looking for the latest.

We are not a suse shop so allow me to ask:
I now have the files and I will put them on our SLES11SP4 server.
I will create a local repo and I will use zypper to update from it.
Is there a way to identify security fixes from local repo?
I see there is a command to do that from online update but I tried the same command on my local repo with no luck.