11.2 M7: Yast doesn't honour repo priority

Hi,

I configured the following repos (next to others):

Both are enabled and set to auto-refresh. Now when selecting menu
“Package / All packages / Update if newer version available”, I’d expect
Yast to automatically update all installed KDE packages to their newer
versions from the factory repo. However, it doesn’t. In the versions
tab, I can see the factory versions, but they don’t get selected. If I
want to install them, I have to manually select them.

Is this a bug or some kind of feature? :wink:

Thanks,
Jörg

Restart the software installer after priority changes and see if it works then.

I tried that, and even rebooted. Neither helped, unfortunately.

On 09/17/2009 01:56 PM, Knurpht wrote:
> Restart the software installer after priority changes and see if it
> works then.
>
>
>

  Seems to be due to the two repos having different "vendors", according to [https://bugzilla.novell.com/show_bug.cgi?id=539257](https://bugzilla.novell.com/show_bug.cgi?id=539257)

Wherever the “vendor” of a repo can be seen in YaST…

On 09/17/2009 12:53 PM, Jörg von Frantzius wrote: Hi,

I configured the following repos (next to others): p, li { white-space: pre-wrap; }

prio 30:
http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_Factory/

prio 99: http://download.opensuse.org/distribution/11.2/repo/oss/

Both are enabled and set to
auto-refresh. Now when selecting menu “Package / All packages / Update
if newer version available”, I’d expect Yast to automatically update
all installed KDE packages to their newer versions from the factory
repo. However, it doesn’t. In the versions tab, I can see the factory
versions, but they don’t get selected. If I want to install them, I
have to manually select them.

Is this a bug or some kind of feature? :wink:

Thanks,

Jörg

It tells you what to do…

Update will not change vendor,

yast and update all

a with vendor b will update to a.b with vendor b
It wont
a with vendor b update to a.b with vendor c

For the last of the 2 as bug report you need to zypper dup.

In the past I’ve met situations like this. What can be done now, is no more than a lousy trick. We are going to let the software installer think that it has nothing but the KDE4 repos…
-Start the software installer
-Go Configuration - Repositories
-Disable (not remove) all repos, but the KDE4 Factory repos.
-Refresh all enabled (just to make sure)
-Back to the software installer
-Pick the repo view
-In each KDE4 repo do 'all packages, update unconditionally. This gives a lot of additional changes due to difference in naming conventions between 4.1 and 4.3. When done, your entire KDE4 should be 4.3.1 now.
-After finishing this ugly trick, enable the original repos again.

Please let us know if this works. I’ve done this ages ago to work around a problem like this, without having to select all versions manually, with all misery that comes with doing so.

   Yes, 

zypper dup -r KDE4:UNSTABLE

(given my repo name) did the trick nicely.

On 09/17/2009 03:36 PM, FeatherMonkey wrote:

It tells you what to do… Update will not change vendor, yast and update all a with vendor b will update to a.b with vendor b It wont a with vendor b update to a.b with vendor c For the last of the 2 as bug report you need to zypper dup.