PDA

View Full Version : SLES 11 SP4 SUSE Enterprise - Updatesources OpenSuse



MatthiasR
21-Aug-2017, 09:58
Hi guys,

just a little question about updates in SUSE Enterprise.

The server crashed after installing updates.
Our IT service provider told us, that in the update sources of the Suse Enterprise Server, was the update source for OpenSuse (http://download.opensuse.org/distribution/11.2/repo/oss/).
So packages from OpenSuse override the SUSE Enterprise libaries and crashed the server.

I canīt imagine that system critical libraries get overridden by OpenSuse update sources on an Suse Enterprise server. I would say, that YAST see there are new versions for OpenSuse, that does not match for Suse Enterprise and ignores the OpenSuse update source.
Only "common" libaries may get updated from OpenSuse source.

Is this correct?


Kind regards
Matthias

ab
21-Aug-2017, 11:22
By default SUSE Linux Enterprise Server (SLES) will not configure any
openSUSE update sources at all, so the question should be, "Why was your
system configured to point to unofficial update repositories in the first
place?

My experience with updates, based almost entirely on doing them from
'zypper' vs. using Yast, is that it will not change package distributions
(SLES to openSUSE) when applying patches ('zypper patch') but it can do so
if you do an upgrade or distribution-upgrade ('zypper up' or 'zypper dup',
respectively) which is one reason why, generally, you want to use
'zypper patch' only. Even when doing the other commands, it shows all
packages that are changing distributions in their own section so that the
person doing the patching has a warning before the deed is done. Maybe
Yast does not show the details as obviously, but it definitely shows
"Vendor" information for all of the packages it sees out there.

In the future, when adding less/non-official repositories, you may want to
set the priority of those repositories so that they are lower (higher
numerically) than the official repositories. From the 'zypper' manpage:



-p, --priority <positive-integer>
Set priority of the repository. Priority of 1 is the highest, the
higher the number the lower the priority. Default priority is 99. Packages
from repositories with higher priority will be preferred even in case
there is a higher installable version
available in the repository with a lower priority.



You can view the repositories, including URIs and Priorities, using this
commmand:



zypper lr -u -p


--
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.

smflood
22-Aug-2017, 00:08
MatthiasR Wrote in message:

> just a little question about updates in SUSE Enterprise.
>
> The server crashed after installing updates.
> Our IT service provider told us, that in the update sources of the Suse
> Enterprise Server, was the update source for OpenSuse
> (http://download.opensuse.org/distribution/11.2/repo/oss/).
> So packages from OpenSuse override the SUSE Enterprise libaries and
> crashed the server.
>
> I can?t imagine that system critical libraries get overridden by
> OpenSuse update sources on an Suse Enterprise server. I would say, that
> YAST see there are new versions for OpenSuse, that does not match for
> Suse Enterprise and ignores the OpenSuse update source.
> Only "common" libaries may get updated from OpenSuse source.
>
> Is this correct?

openSUSE 11.2 is not the same as SUSE Linux Enterprise Server
(SLES) 11 SP4 so installing and/or updating your server with
packages built for the former could cause problems depending on
which repositories were configured (and enabled) and packages
were installed. It's possible that problems may not be apparent
until the next reboot as is possibly the case here.

HTH.
--
Simon Flood
SUSE Knowledge Partner


----Android NewsGroup Reader----
http://usenet.sinaapp.com/