On 7/3/22 15:56, Go Canes wrote:
On Sun, Jul 3, 2022 at 6:21 PM ToddAndMargo via users users@lists.fedoraproject.org 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