Re: What is wrong with my dnf exclude for wine?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux