Re: How do I ask dnf for the current revision of Wine, when ...

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

 



On 7/3/22 15:56, Go Canes wrote:
On Sun, Jul 3, 2022 at 6:21 PM ToddAndMargo via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

# dnf "--setopt=excludepkgs=wine*" whatprovides 'wine*'

You want << --setopt=excludepkgs='"" >>  <--- EMPTY  - to override the
exclude you have in the config file.  Your command is excluding any
package whose name starts with "wine", and then asking if anything
else provides 'wine*'.

Based on other contributors, and the original goal of keeping the
exclude in the config file but still being able to check what version
of wine is available, I think you want:

   sudo dnf --setopt=excludepkgs="" list wine

Note that you don't need to wildcard wine unless you want to see all
of the wine packages.

On my F35 system this shows:

   $ sudo dnf --setopt=excludepkgs="" list wine
   Last metadata expiration check: 0:37:54 ago on Sun 03 Jul 2022
06:15:48 PM EDT.
   Installed Packages
   wine.x86_64                         7.10-2.fc35
    @updates
   Available Packages
   wine.i686                           7.10-2.fc35
    updates

Caveat - I don't have any excludepkgs set in the config file, so in my
specific case the command-line isn't overriding anything.

Yippee!!  Thank you!


# dnf --setopt=excludepkgs="" whatprovides wine
Last metadata expiration check: 2:29:51 ago on Sun 03 Jul 2022 03:13:52 PM PDT.
wine-6.16-1.fc35.i686 : A compatibility layer for windows applications
Repo        : @System
Matched from:
Provide    : wine = 6.16-1.fc35

wine-7.2-1.fc36.i686 : A compatibility layer for windows applications
Repo        : fedora
Matched from:
Provide    : wine = 7.2-1.fc36

wine-7.2-1.fc36.x86_64 : A compatibility layer for windows applications
Repo        : fedora
Matched from:
Provide    : wine = 7.2-1.fc36

wine-7.10-2.fc36.i686 : A compatibility layer for windows applications
Repo        : updates
Matched from:
Provide    : wine = 7.10-2.fc36

wine-7.10-2.fc36.x86_64 : A compatibility layer for windows applications
Repo        : updates
Matched from:
Provide    : wine = 7.10-2.fc36
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure



[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