Run this command in your terminal:
sudo dnf install wine --refresh --enablerepo=updates-testing --allowerasing
After battling with quite confusing state where WineHQ has left Fedora 27 builds, I have been looking to get wine 3.1.1 installed on my machine for months already. Also, the official site of the project. found in https://wiki.winehq.org/Fedora , is more or less useless ; forum posts like these… well…same.
Luck;y, good fella’ of Fedora community has made new build for new packages, found via: https://koji.fedoraproject.org/koji/buildinfo?buildID=1041650 (you need FAS account to access the contents of the link)
Having me spotting that moment, I tried to get it installing..and I was failing quite unpleasantly, as you can see in my created pastebin: https://pastebin.com/Fs9Ci9wn
This morning I decided to give a shot again. I executed following command in my shell:
[me@pc ~]$ sudo dnf update wine --refresh --enablerepo=updates-testing
And again got the freaking error:
Last metadata expiration check: 0:00:00 ago on Wed 14 Feb 2018 02:42:32 PM EET. Package wine available, but not installed. No match for argument: wine Error: No packages marked for upgrade.
But then, as there was quite puzzling sentence in the buildsystem web ui’s build page (https://bodhi.fedoraproject.org/updates/FEDORA-2018-0a41fdd8f0 ; you will need same FAS account as above to open it):
This release will disable Wine-Staging as the maintainer is no longer producing updates.
I decided to … disable .. well, erase .. these winehq-staging packages by adding ‘–allowerasing’ switch to the same line.
After some moments.. it was complete!