ToddAndMargo via users wrote: > On 2/2/23 22:29, Samuel Sieb wrote: >> On 2/1/23 21:55, ToddAndMargo via users wrote: >>> What is wrong with my wine dnf excludes? >>> >>> # grep -i wine /etc/dnf/dnf.conf >>> excludepkgs=wine* >>> excludepkgs=wine-* >>> >>> dnf still tried to upgrade wine!!!! >> >> I bet you have some other excludepkgs lines after that. Only the last >> one takes effect. You should take heed of Samuel's words above. > Here is the whole thing, which worked under fc36: I don't find this to be true. Testing it locally, it fails just as I'd expect and as the documentation suggests. > $ cat /etc/dnf/dnf.conf > [main] > gpgcheck=1 > installonly_limit=3 > clean_requirements_on_remove=True > excludepkgs=metasploit-framework > # excludepkgs=metasploit-framework wine* > # excludepkgs=thunderbird* metasploit-framework wine* > # excludepkgs=thunderbird* metasploit-framework > excludepkgs=wine* > # excludepkgs=wine-* > excludepkgs=resolvconf > excludepkgs=systemd-resolved This is not the way I've ever seen excludepkgs used or documented. The man page states: excludepkgs list Exclude packages of this repository, speci‐ fied by a name or a glob and separated by a comma, from all operations. Can be disabled using --disableexcludes command line switch. Defaults to []. Put them all together, not a bunch of different definitions. -- Todd
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue