Mailinglist Archive: opensuse-factory (1233 mails)

< Previous Next >
Re: [opensuse-factory] Mplayer.........
  • From: "Cristian Morales Vega" <cmorve69@xxxxxxxx>
  • Date: Mon, 10 Nov 2008 15:29:41 +0100
  • Message-id: <8235e6f40811100629t794a7c22pfdd53d9a2575c5c7@xxxxxxxxxxxxxx>
2008/11/10 Carlos E. R. <robin.listas@xxxxxxxxxxxxxx>:
On Sunday, 2008-11-09 at 12:06 +0200, Dave Plater wrote:

I've never heard of nor found an equivalent. If you want to avoid
videolan packages taking precedence over packman then set the videolan
repository priority higher than any others in yast repository manager.

Then, higher number means lower precedence, ie, packages from lower number
will replace those from repo with higher number?

From man zypper (from 11.0): "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."

But it is different to Smart behavior. Smart will always replace to
the package from the repo with the highest priority. ZYpp will only
replace a package if *all* these conditions are true:
a) The new package has a higher version/release number than the
installed package.
b) The new package has the same vendor than the installed package
(vendor strings starting with "suse" are considered equivalents to
vendor strings starting with "opensuse", case insensitive)
c) The new package is available in a repository with a higher priority
than the repository from the installed package. If the installed
package isn't available anymore in any of the installed/configured
repositories the priority is "-infinity".


So if you have OSS with priority 50 and Packman with priority 90 and
OSS has gstreamer 0.10.1 and Packman has gstreamer 0.10.2:
- If you try to install gstreamer without having a previous copy
installed, the OSS (older) version will be selected.
- If you have the OSS version installed, the Packman version will
*not* be selected for update.
- If you have the Packman version installed, the OSS version will
*not* be selected for update.

So the end result also depends of the installed version. With Smart
after an update you will always end with he OSS version installed,
downgrading from Packman if needed.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >