Hello,
Since two days I have the following message: allow_vendor_change is disabled. This option is currently not supported for downgrade and distro-sync commands
when I run dnf
Can you explain why?
Do I need to do anything?
Hello,
Since two days I have the following message: allow_vendor_change is disabled. This option is currently not supported for downgrade and distro-sync commands
when I run dnf
Can you explain why?
Do I need to do anything?
This just means that vendor pinning is enabled (the default). Are you having trouble installing a particular package, or just curious about this message in general?
Everything is fine, i just didn’t know what it was.
I’m always curious when i see something i do not understand, that’s what i love with Linux.
Vendor pinning isn’t the default dnf setting at all.
[root@mac ~]# dnf config-manager --dump | grep vendor
allow_vendor_change = 1
allow_vendor_change=False
is set for the Asahi Remix image when the image is created in kiwi
https://pagure.io/fedora-asahi/kiwi-descriptions/blob/rawhide/f/config.sh
The kiwi image uses both dnf options in its copr repos:
It seems like one or the other should be set – but not both. Like under what circumstances would you be able to change package vendors when you have a priority value set in the repo config? With a priority value set – you can’t puIl from another repo. I think it’s confusing for users to have to deal with that. Anyways, just my 2 cents on the matter…
I wanna install ffmpeg: sudo dnf install ffmpeg
, and it prompts me this error too:
allow_vendor_change is disabled. This option is currently not supported for downgrade and distro-sync commands
Error: No matching Packages to list
Error: Unable to find a match: ffmpeg
Should I somehow set this value to True? I’m running Fedora Asahi Remix on Mac mini (Fedora 38)…
ffmpeg
does not exist in vanilla Fedora (ffmpeg-free
does). You need RPM Fusion for that. This has nothing to do with allow_vendor_change
.
Thanks, I just figured out what was going on by looking at this documentation:
$ sudo dnf install \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
Then run sudo dnf install ffmpeg
, it works well.