Hi All,
Due to this bug:
https://bugs.winehq.org/show_bug.cgi?id=52586
I have Wine updates excluded from /etc/dnf/dnf.conf.
The issue is corrected in Wine 7.12. Our intrepid testers missed this bugs and allowed 7 out in the wild. Oh the SHAME of it. But we still love them anyway. :-)
How do I ask dnf what current Wine repo releases are available (current and downgrade in case of another blocking bug) whilst I have wine excluded?
The following do not work. Nothing shows
$ dnf list | grep -i wine-common $ dnf whatprovides wine-common
Many thanks, -T
On Fri, Jul 1, 2022 at 6:52 PM ToddAndMargo via users users@lists.fedoraproject.org wrote:
How do I ask dnf what current Wine repo releases are available (current and downgrade in case of another blocking bug) whilst I have wine excluded?
The following do not work. Nothing shows
$ dnf list | grep -i wine-common $ dnf whatprovides wine-common
maybe "dnf --disableexcludes=updates list wine" ?
FWIW I show:
$ sudo dnf list wine Last metadata expiration check: 1:07:07 ago on Fri 01 Jul 2022 06:19:12 PM EDT. Installed Packages wine.x86_64 7.10-2.fc35 @updates Available Packages wine.i686 7.10-2.fc35 updates
On 7/1/22 17:51, ToddAndMargo via users wrote:
Hi All,
Due to this bug:
https://bugs.winehq.org/show_bug.cgi?id=52586
I have Wine updates excluded from /etc/dnf/dnf.conf.
Take the exclusion out. Run "yum list wine*" and see if the update has made it out. I just checked on my F36 box, and it's still at 7.10, which I think has the bug in it.
You can add the exclusion back into dnf.conf if you like. Or, you can run dnf like this to exclude it:
dnf --exclude=wine* update
or something similar.
I may not be understanding what you're asking, sorry if I'm off base.
Thomas
On 7/1/22 16:33, Thomas Cameron via users wrote:
On 7/1/22 17:51, ToddAndMargo via users wrote:
Hi All,
Due to this bug:
https://bugs.winehq.org/show_bug.cgi?id=52586
I have Wine updates excluded from /etc/dnf/dnf.conf.
Take the exclusion out. Run "yum list wine*" and see if the update has made it out. I just checked on my F36 box, and it's still at 7.10, which I think has the bug in it.
You can add the exclusion back into dnf.conf if you like. Or, you can run dnf like this to exclude it:
dnf --exclude=wine* update
or something similar.
I may not be understanding what you're asking, sorry if I'm off base.
Thomas
I am afraid to take the exclusion out as if Wine gets accidentally upgrade to 7.0 and I have no downgrade, it will take my business down.
On 7/1/22 16:27, Go Canes wrote:
On Fri, Jul 1, 2022 at 6:52 PM ToddAndMargo via users users@lists.fedoraproject.org wrote:
How do I ask dnf what current Wine repo releases are available (current and downgrade in case of another blocking bug) whilst I have wine excluded?
The following do not work. Nothing shows
$ dnf list | grep -i wine-common $ dnf whatprovides wine-commonmaybe "dnf --disableexcludes=updates list wine" ?
FWIW I show:
$ sudo dnf list wine Last metadata expiration check: 1:07:07 ago on Fri 01 Jul 2022 06:19:12 PM EDT. Installed Packages wine.x86_64 7.10-2.fc35 @updates Available Packages wine.i686 7.10-2.fc35 updates
$ su root -c "dnf --disableexcludes=updates list wine" Password: Copr repo for openvpn-release owned by dsommers 881 B/s | 341 B 00:00 Errors during downloading metadata for repository 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': - Status code: 404 for https://download.copr.fedorainfracloud.org/results/dsommers/openvpn-release/... (IP: 99.84.238.201) Error: Failed to download metadata for repo 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Waterfox (deb/pkg.tar.xz/rpm/AppImage) (Fedora_ 1.0 kB/s | 1.1 kB 00:01 Errors during downloading metadata for repository 'home_hawkeye116477_waterfox': - Status code: 404 for https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/Fed... (IP: 195.135.221.134) Error: Failed to download metadata for repo 'home_hawkeye116477_waterfox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
On 7/1/22 17:50, ToddAndMargo via users wrote:
I am afraid to take the exclusion out as if Wine gets accidentally upgrade to 7.0 and I have no downgrade, it will take my business down.
You have control over all updates, so there shouldn't be any risk of that. Comment out the exclusion, run the dnf check command, then uncomment it. Sometimes I'll ^Z out of vim, run the command, then go back and press "u".
On 7/1/22 17:57, Samuel Sieb wrote:
On 7/1/22 17:50, ToddAndMargo via users wrote:
I am afraid to take the exclusion out as if Wine gets accidentally upgrade to 7.0 and I have no downgrade, it will take my business down.
You have control over all updates, so there shouldn't be any risk of that. Comment out the exclusion, run the dnf check command, then uncomment it. Sometimes I'll ^Z out of vim, run the command, then go back and press "u".
Good advice. If there is anyway to do it with the exclusion in place, I'd rather do it that way. Murphy's law happens.
On 7/1/22 19:50, ToddAndMargo via users wrote:
I am afraid to take the exclusion out as if Wine gets accidentally upgrade to 7.0 and I have no downgrade, it will take my business down.
Totally fair point. Not trying to tell you how to run your system. I was just suggesting *a* way that might work. Sorry if I came across bossy.
Cheers, Thomas
On 7/1/22 18:27, Thomas Cameron via users wrote:
On 7/1/22 19:50, ToddAndMargo via users wrote:
I am afraid to take the exclusion out as if Wine gets accidentally upgrade to 7.0 and I have no downgrade, it will take my business down.
Totally fair point. Not trying to tell you how to run your system. I was just suggesting *a* way that might work. Sorry if I came across bossy.
You did not.
Cheers, Thomas
$ dnf --setopt=includepkgs=wine* whatprovides wine*
Did not work either. Dang!
On Fri, 2022-07-01 at 17:50 -0700, ToddAndMargo via users wrote:
I am afraid to take the exclusion out as if Wine gets accidentally upgrade to 7.0 and I have no downgrade, it will take my business down.
Temporarily take it out. Don't let anything do updates by themselves in the background. Don't actually do any installs during your test. Never use "assume yes" kind of options. Always do your updates so you have to press Y (for yes) to proceed.
I never do yum/dnf updates without making it confirm before proceeding. Like you, I don't want any nasty surprises where some remote stuffup decides to remove something important, or add gigabytes of unwanted gumph. I don't use the GUI tools, I use the command line. I don't believe I've ever accidentally installed or removed something in around 20 years of using Red Hat & Fedora.
You can certainly do search/list/info dnf commands without any danger of installing anything. And you can start an install, and not let it proceed into actually doing anything, just view the list of what it intends to do.
For a non-committal run-through, there were "download only" options where it'll download without installing anything. I can't remember if there's a "practice only" kind of option. But I've done plenty of "dnf install httpd" kind of commands to see what it'd want to do, then pressed n (for no) to abort.
Regarding the worry about stuffing your business up, I've always ran more than one computer. My main one is treated with extra care for exactly that kind of reason. I have a separate workstation that I'll do experiments with. It has no vital files stored on it, everything is stored remotely on the main one (*everything*, all data, all mail, etc). I don't know how anyone manages with just one computer. How do you research something when it stuffs up? I use the spare one all the time as a general workstation (email, browsing, whatever), but I make sure that all essential work is not stored on it.
For a business it's essential to protect the thing you rely on. I knew one business back in the 90s where their computer system went belly up, and the only reason they didn't go under is they used manual invoicing. All their reps still used carbon-paper invoice books, they just entered the data into the computer when back at base for good housekeeping. Because of the paper trail, they knew what their customers need to pay, what they needed to pay, goods in and out, etc.
Tim:
I can't remember if there's a "practice only" kind of option.
Joe Zeff:
Instead of using dnf -y use dnf -n.
Doing a no instead of yes just abandons the download and install, the kind of thing I'd already described. I was thinking of whether there was an option that went through the *whole* procedure, but without actually doing it. Not that you need to do that, but some things have that feature.
On Fri, Jul 1, 2022 at 9:17 PM ToddAndMargo via users users@lists.fedoraproject.org wrote:
On 7/1/22 17:57, Samuel Sieb wrote:
On 7/1/22 17:50, ToddAndMargo via users wrote:
I am afraid to take the exclusion out as if Wine gets accidentally upgrade to 7.0 and I have no downgrade, it will take my business down.
maybe: - cp /etc/dnf/dnf.conf /etc/dnf/dnf.conf.alt - edit /etc/dnf/dnf.conf.alt to remove the exclude - dnf -c /etc/dnf/dnf.conf.alt list wine
[per "dnf -?" the "--disableexcludes [repo]" should have worked..... maybe it needs "--disableexcludepkgs [repo]" instead, although it shows them as synonyms]
How do I ask dnf what current Wine repo releases are available (current and downgrade in case of another blocking bug) whilst I have wine excluded?
Disable the configuration file excludes. Takes one of the following three options: all, disables all configuration file excludes main, disables excludes defined in the [main] section repoid, disables excludes defined for the given repository
To temporarily disable you'll want to use: sudo dnf --disableexcludes=main list | grep -i wine-common or sudo dnf --disableexcludes=main info wine-common
On Fri, Jul 1, 2022 at 7:52 PM ToddAndMargo via users < users@lists.fedoraproject.org> wrote:
Hi All,
Due to this bug:
https://bugs.winehq.org/show_bug.cgi?id=52586I have Wine updates excluded from /etc/dnf/dnf.conf.
The issue is corrected in Wine 7.12. Our intrepid testers missed this bugs and allowed 7 out in the wild. Oh the SHAME of it. But we still love them anyway. :-)
How do I ask dnf what current Wine repo releases are available (current and downgrade in case of another blocking bug) whilst I have wine excluded?
The following do not work. Nothing shows
$ dnf list | grep -i wine-common $ dnf whatprovides wine-common
When I file bug report I get a notice when the new version is available for testing. I assume the CC list sees the notices.
The winehq bug says the patch works on 7.11 as well. Koji has wine-7.11 builds for Fedora 35, 36, and 37 in updates-testing
On 2 Jul 2022, at 06:15, Joe Zeff joe@zeff.us wrote:
On 7/1/22 22:17, Tim via users wrote:
I can't remember if there's a "practice only" kind of option.
Instead of using dnf -y use dnf -n.
dnf does not have a -n option.
$ dnf update -n usage: dnf upgrade [-c [config file]] [-q] [-v] [--version] [--installroot [path]] [--nodocs] [--noplugins] [--enableplugin [plugin]] [--disableplugin [plugin]] [--releasever RELEASEVER] [--setopt SETOPTS] [--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C] [-R [minutes]] [-d [debug level]] [--debugsolver] [--showduplicates] [-e ERRORLEVEL] [--obsoletes] [--rpmverbosity [debug level name]] [-y] [--assumeno] [--enablerepo [repo]] [--disablerepo [repo] | --repo [repo]] [--enable | --disable] [-x [package]] [--disableexcludes [repo]] [--repofrompath [repo,path]] [--noautoremove] [--nogpgcheck] [--color COLOR] [--refresh] [-4] [-6] [--destdir DESTDIR] [--downloadonly] [--comment COMMENT] [--bugfix] [--enhancement] [--newpackage] [--security] [--advisory ADVISORY] [--bz BUGZILLA] [--cve CVES] [--sec-severity {Critical,Important,Moderate,Low}] [--forcearch ARCH] [PACKAGE ...] dnf upgrade: error: unrecognized arguments: -n
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On 2 Jul 2022, at 08:58, Tim via users users@lists.fedoraproject.org wrote:
Tim:
I can't remember if there's a "practice only" kind of option.
Joe Zeff:
Instead of using dnf -y use dnf -n.
Doing a no instead of yes just abandons the download and install, the kind of thing I'd already described. I was thinking of whether there was an option that went through the *whole* procedure, but without actually doing it. Not that you need to do that, but some things have that feature.
If think you looking for the
$ dnf check-update
Also you can pull lots of interesting information with the
$ dnf repolist $ dnf repoquery
I use repoquery a lot like this to list the contents of one repo:
For example:
$ dnf repoquery --disablerepo=* --enablerepo=fedora-cisco-openh264 Last metadata expiration check: 0:05:18 ago on Sat 02 Jul 2022 19:28:07 BST. gstreamer1-plugin-openh264-0:1.20.0-1.fc36.x86_64 mozilla-openh264-0:2.2.0-1.fc36.x86_64 openh264-0:2.2.0-1.fc36.x86_64 openh264-devel-0:2.2.0-1.fc36.x86_64
You can also add the options to set exclude options and see what they would do.
$ dnf repoquery --disablerepo=* --enablerepo=fedora-cisco-openh264 --setopt=excludepkgs=openh264-devel Last metadata expiration check: 0:08:29 ago on Sat 02 Jul 2022 19:28:07 BST. gstreamer1-plugin-openh264-0:1.20.0-1.fc36.x86_64 mozilla-openh264-0:2.2.0-1.fc36.x86_64 openh264-0:2.2.0-1.fc36.x86_64
Barry
--
uname -rsvp Linux 3.10.0-1160.66.1.el7.x86_64 #1 SMP Wed May 18 16:02:34 UTC 2022 x86_64
Boilerplate: All unexpected mail to my mailbox is automatically deleted. I will only get to see the messages that are posted to the mailing list.
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On 7/2/22 05:44, Grumpey wrote:
How do I ask dnf what current Wine repo releases are available (current and downgrade in case of another blocking bug) whilst I have wine excluded?
Disable the configuration file excludes. Takes one of the following three options: all, disables all configuration file excludes main, disables excludes defined in the [main] section repoid, disables excludes defined for the given repository
To temporarily disable you'll want to use: sudo dnf --disableexcludes=main list | grep -i wine-common or sudo dnf --disableexcludes=main info wine-common
$ su root -c "dnf --disableexcludes=main info wine-common" Password: Copr repo for openvpn-release owned by dsommers 496 B/s | 341 B 00:00 Errors during downloading metadata for repository 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': - Status code: 404 for https://download.copr.fedorainfracloud.org/results/dsommers/openvpn-release/... (IP: 65.8.158.75) Error: Failed to download metadata for repo 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Fedora 35 - x86_64 - Updates 67 kB/s | 17 kB 00:00 Fedora 35 - x86_64 - Updates 675 kB/s | 2.9 MB 00:04 Fedora Modular 35 - x86_64 - Updates 42 kB/s | 16 kB 00:00 Waterfox (deb/pkg.tar.xz/rpm/AppImage) (Fedora_ 1.0 kB/s | 1.1 kB 00:01 Errors during downloading metadata for repository 'home_hawkeye116477_waterfox': - Status code: 404 for https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/Fed... (IP: 195.135.221.134) Error: Failed to download metadata for repo 'home_hawkeye116477_waterfox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
$ su root -c "dnf --disableexcludes=main list | grep -i wine-common" Password: Errors during downloading metadata for repository 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': - Status code: 404 for https://download.copr.fedorainfracloud.org/results/dsommers/openvpn-release/... (IP: 65.8.158.79) Error: Failed to download metadata for repo 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Errors during downloading metadata for repository 'home_hawkeye116477_waterfox': - Status code: 404 for https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/Fed... (IP: 195.135.221.134) Error: Failed to download metadata for repo 'home_hawkeye116477_waterfox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
On 7/2/22 09:18, George N. White III wrote:
The winehq bug says the patch works on 7.11 as well. Koji has wine-7.11 builds for Fedora 35, 36, and 37 in updates-testing
I will wait for 7.15 to show up in the repo. I do appreciate the extra layer of testing, even though they missed this one: OH THE SHAME! :-)
$ su root -c "dnf --disableexcludes=main info wine-common" Password: Copr repo for openvpn-release owned by dsommers 496 B/s | 341 B 00:00 Errors during downloading metadata for repository 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release':
- Status code: 404 for
https://download.copr.fedorainfracloud.org/results/dsommers/openvpn-release/... (IP: 65.8.158.75) Error: Failed to download metadata for repo 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Fedora 35 - x86_64 - Updates 67 kB/s | 17 kB 00:00 Fedora 35 - x86_64 - Updates 675 kB/s | 2.9 MB 00:04 Fedora Modular 35 - x86_64 - Updates 42 kB/s | 16 kB 00:00 Waterfox (deb/pkg.tar.xz/rpm/AppImage) (Fedora_ 1.0 kB/s | 1.1 kB 00:01 Errors during downloading metadata for repository 'home_hawkeye116477_waterfox':
- Status code: 404 for
https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/Fed... (IP: 195.135.221.134) Error: Failed to download metadata for repo 'home_hawkeye116477_waterfox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Perhaps I've misunderstood how you've got it excluded
Strange, Perhaps I've misunderstood how wine was excluded, when I excluded it I used [main] gpgcheck=True installonly_limit=3 clean_requirements_on_remove=True best=False skip_if_unavailable=True exclude_from_weak=PackageKit PackageKit-glib gnome-tour max_parallel_downloads=10 excludepkgs=wine*
you could also do --disableexcludes=all
Thanks Joe
On 7/2/22 16:45, Grumpey wrote:
$ su root -c "dnf --disableexcludes=main info wine-common" Password: Copr repo for openvpn-release owned by dsommers 496 B/s | 341 B 00:00 Errors during downloading metadata for repository 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': - Status code: 404 for https://download.copr.fedorainfracloud.org/results/dsommers/openvpn-release/... (IP: 65.8.158.75) Error: Failed to download metadata for repo 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Fedora 35 - x86_64 - Updates 67 kB/s | 17 kB 00:00 Fedora 35 - x86_64 - Updates 675 kB/s | 2.9 MB 00:04 Fedora Modular 35 - x86_64 - Updates 42 kB/s | 16 kB 00:00 Waterfox (deb/pkg.tar.xz/rpm/AppImage) (Fedora_ 1.0 kB/s | 1.1 kB 00:01 Errors during downloading metadata for repository 'home_hawkeye116477_waterfox': - Status code: 404 for https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/Fed... (IP: 195.135.221.134) Error: Failed to download metadata for repo 'home_hawkeye116477_waterfox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Perhaps I've misunderstood how you've got it excluded
Strange, Perhaps I've misunderstood how wine was excluded, when I excluded it I used
excludepkgs=wine*
Exactly the same.
you could also do --disableexcludes=all
All I get is windetricks:
$ su root -c "dnf --disableexcludes=all whatprovides wine*" Password: Copr repo for openvpn-release owned by dsommers 474 B/s | 341 B 00:00 Errors during downloading metadata for repository 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': - Status code: 404 for https://download.copr.fedorainfracloud.org/results/dsommers/openvpn-release/... (IP: 99.84.238.211) Error: Failed to download metadata for repo 'copr:copr.fedorainfracloud.org:dsommers:openvpn-release': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Ignoring repositories: copr:copr.fedorainfracloud.org:dsommers:openvpn-release Last metadata expiration check: 0:11:15 ago on Sat 02 Jul 2022 05:08:53 PM PDT. winetricks-20210825-1.fc35.noarch : Work around common problems in Wine Repo : fedora Matched from: Provide : winetricks = 20210825-1.fc35
winetricks-20220411-1.fc35.noarch : Work around common problems in Wine Repo : updates Matched from: Provide : winetricks = 20220411-1.fc35
On 7/1/22 15:51, ToddAndMargo via users wrote:
Hi All,
Due to this bug:
https://bugs.winehq.org/show_bug.cgi?id=52586
I have Wine updates excluded from /etc/dnf/dnf.conf.
The issue is corrected in Wine 7.12. Our intrepid testers missed this bugs and allowed 7 out in the wild. Oh the SHAME of it. But we still love them anyway. :-)
How do I ask dnf what current Wine repo releases are available (current and downgrade in case of another blocking bug) whilst I have wine excluded?
The following do not work. Nothing shows
$ dnf list | grep -i wine-common $ dnf whatprovides wine-common
Many thanks, -T
I just reported:
dnf --setopt=includepkgs does not work https://bugzilla.redhat.com/show_bug.cgi?id=2103470
This may be a misunderstanding on my part. If so, I do apologize for reporting it here.
Fedora 36 dnf-4.13.0-1.fc36.noarch
/etc/dnf/dnf.conf: excludepkgs=wine*
# dnf --setopt=includepkgs=wine* whatprovides wine* Last metadata expiration check: 2:00:01 ago on Sun 03 Jul 2022 07:13:44 AM PDT. Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.
$ man dnf: --setopt=<option>=<value> Override a configuration option from the configuration file. To override configuration options for repositories, use re‐ poid.option for the <option>. Values for configuration op‐ tions like excludepkgs, includepkgs, installonlypkgs and ts‐ flags are appended to the original value, they do not over‐ ride it. However, specifying an empty value (e.g. --se‐ topt=tsflags=) will clear the option.
On 7/3/22 09:23, ToddAndMargo via users wrote:
On 7/1/22 15:51, ToddAndMargo via users wrote:
Hi All,
Due to this bug:
https://bugs.winehq.org/show_bug.cgi?id=52586
I have Wine updates excluded from /etc/dnf/dnf.conf.
The issue is corrected in Wine 7.12. Our intrepid testers missed this bugs and allowed 7 out in the wild. Oh the SHAME of it. But we still love them anyway. :-)
How do I ask dnf what current Wine repo releases are available (current and downgrade in case of another blocking bug) whilst I have wine excluded?
The following do not work. Nothing shows
$ dnf list | grep -i wine-common $ dnf whatprovides wine-common
Many thanks, -T
I just reported:
dnf --setopt=includepkgs does not work https://bugzilla.redhat.com/show_bug.cgi?id=2103470
This may be a misunderstanding on my part. If so, I do apologize for reporting it here.
Fedora 36 dnf-4.13.0-1.fc36.noarch
/etc/dnf/dnf.conf: excludepkgs=wine*
# dnf --setopt=includepkgs=wine* whatprovides wine* Last metadata expiration check: 2:00:01 ago on Sun 03 Jul 2022 07:13:44 AM PDT. Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.
$ man dnf: --setopt=<option>=<value> Override a configuration option from the configuration file. To override configuration options for repositories, use re‐ poid.option for the <option>. Values for configuration op‐ tions like excludepkgs, includepkgs, installonlypkgs and ts‐ flags are appended to the original value, they do not over‐ ride it. However, specifying an empty value (e.g. --se‐ topt=tsflags=) will clear the option.
According to that, what you need is "--setopt=excludepkgs=".
On 7/3/22 12:43, Samuel Sieb wrote:
On 7/3/22 09:23, ToddAndMargo via users wrote:
On 7/1/22 15:51, ToddAndMargo via users wrote:
Hi All,
Due to this bug:
https://bugs.winehq.org/show_bug.cgi?id=52586
I have Wine updates excluded from /etc/dnf/dnf.conf.
The issue is corrected in Wine 7.12. Our intrepid testers missed this bugs and allowed 7 out in the wild. Oh the SHAME of it. But we still love them anyway. :-)
How do I ask dnf what current Wine repo releases are available (current and downgrade in case of another blocking bug) whilst I have wine excluded?
The following do not work. Nothing shows
$ dnf list | grep -i wine-common $ dnf whatprovides wine-common
Many thanks, -T
I just reported:
dnf --setopt=includepkgs does not work https://bugzilla.redhat.com/show_bug.cgi?id=2103470
This may be a misunderstanding on my part. If so, I do apologize for reporting it here.
Fedora 36 dnf-4.13.0-1.fc36.noarch
/etc/dnf/dnf.conf: excludepkgs=wine*
# dnf --setopt=includepkgs=wine* whatprovides wine* Last metadata expiration check: 2:00:01 ago on Sun 03 Jul 2022 07:13:44 AM PDT. Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.
$ man dnf: --setopt=<option>=<value> Override a configuration option from the configuration file. To override configuration options for repositories, use re‐ poid.option for the <option>. Values for configuration op‐ tions like excludepkgs, includepkgs, installonlypkgs and ts‐ flags are appended to the original value, they do not over‐ ride it. However, specifying an empty value (e.g. --se‐ topt=tsflags=) will clear the option.
According to that, what you need is "--setopt=excludepkgs=".
Sounbd backwards to me, but I will try it anyway:
$ su root -c "dnf --setopt=excludepkgs=wine* whatprovides wine*" Password: Last metadata expiration check: 2:36:58 ago on Sun 03 Jul 2022 10:51:50 AM PDT. Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.
:'(
On Sun, Jul 3, 2022 at 4:30 PM ToddAndMargo via users users@lists.fedoraproject.org wrote:
$ su root -c "dnf --setopt=excludepkgs=wine* whatprovides wine*"
That should really be "dnf --setopt=excludepkgs='' whatprovides 'wine*' " ...otherwise shell globbing could get in the way. ANd you want excludepkgs to be *empty*.
On 7/3/22 13:58, Go Canes wrote:
On Sun, Jul 3, 2022 at 4:30 PM ToddAndMargo via users users@lists.fedoraproject.org wrote:
$ su root -c "dnf --setopt=excludepkgs=wine* whatprovides wine*"
That should really be "dnf --setopt=excludepkgs='' whatprovides 'wine*' " ...otherwise shell globbing could get in the way. ANd you want excludepkgs to be *empty*.
# dnf "--setopt=excludepkgs=wine*" whatprovides 'wine*' Last metadata expiration check: 0:04:34 ago on Sun 03 Jul 2022 03:13:52 PM PDT. samba-winexe-2:4.16.0-0.2.rc3.fc36.x86_64 : Samba Winexe Windows Binary Repo : fedora Matched from: Filename : /usr/bin/winexe
samba-winexe-2:4.16.2-0.fc36.x86_64 : Samba Winexe Windows Binary Repo : updates Matched from: Filename : /usr/bin/winexe
# dnf "--setopt=includepkgs=wine*" whatprovides 'wine*' Last metadata expiration check: 0:05:47 ago on Sun 03 Jul 2022 03:13:52 PM PDT. Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.
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.
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