(well, --no-allow-vendor-change is actually default now, but anyway). Until last time, it worked fine: it didn’t try to change vendors. Or occasionally it proposed changing vendors for a few packages because of some dependency conflict; in those cases I had to confirm the vendor change as a conflict resolution (as it’s not allowed to change vendors on its own authority).
Now I’m trying to upgrade, from 20181224-0 to 20190115-0, with the usual ‘zypper dup --no-allow-vendor-change’, and it wants to switch 248 packages from the official openSUSE vendor to all sorts of repositories I have added on my system: to Education, Games, KDE:Extra, packman, whatnot. It doesn’t throw out any dependency conflict, just the final ‘Continue?’. In fact it does the exact same thing as if I run ‘zypper dup --allow-vendor-change’. Here is the zypper dup --no-allow-vendor-change output.
If I lock a package on which it wants to switch vendors, it doesn’t give me a conflict either, so there is no dependency reason for it to switch vendors. In /etc/zypp/zypp.conf, solver.allowVendorChange is left commented out (with the default being false), but nothing changes even if I explicitly set it to false. I’ve also tried updating the zypper package in the hope that it’s a bug that has since been fixed, to no avail.
Has this happened to anyone, or do you have any solution or idea what causes this behavior?
That’s presumably because you have added those repos. However, I think it is supposed to give a conflict in that case and allow you to choose.
Here, I have occasionally seen conflict resolution dialogues. Since I have my repo priorities set so that vendor change should be okay, I normally rerun with “–allow-vendor-change” so that I don’t have to respond to all of those individual conflicts.
this fixed it. That option was not set in my /etc/zypp/zypp.conf (in any way, it wasn’t even in the comments), after setting it to false it doesn’t try to change vendors any more.
In case you are still interested in it, here is my zypper lr -d output from before I set solver.dupAllowVendorChange to false; it’s the same after setting it. zypper lr doesn’t accept a --no-allow-vendor-change option (I’m not sure that’s what you meant).
, it won’t change vendors even if I specify --allow-vendor-change. Not a problem for me, as I don’t want to change vendors, and if I did, I could change the option in my zypp.conf, but it does look like the --no-allow-vendor-change/–allow-vendor-change options are broken.
On 1/17/19 11:56 AM, groszdani wrote:
> Note: now that I added
> solver.dupAllowVendorChange = false
> , it won’t change vendors even if I specify --allow-vendor-change. Not a
> problem for me, as I don’t want to change vendors, and if I did, I could
> change the option in my zypp.conf, but it does look like the
> --no-allow-vendor-change/–allow-vendor-change options are broken.
I agree, I’m having the same issue trying to use --allow-vendor-change.
unix since 1986
S.u.S.E.-openSUSE since 1998