Unable to update to wine 9.20 on Fedora 41

I’m unable to update from wine 9.17 to 9.20 because the latter demands installing a version of libav that conflicts with ffmpeg-libs. Here is the dnf log:

Problem 1: cannot install the best update candidate for package wine-devel-common-1:9.17-1.1.i686
  - nothing provides libavcodec.so.60 needed by wine-devel-common-1:9.20-1.1.i686 from WineHQ
  - nothing provides libavcodec.so.60(LIBAVCODEC_60) needed by wine-devel-common-1:9.20-1.1.i686 from WineHQ
  - nothing provides libavformat.so.60 needed by wine-devel-common-1:9.20-1.1.i686 from WineHQ
  - nothing provides libavformat.so.60(LIBAVFORMAT_60) needed by wine-devel-common-1:9.20-1.1.i686 from WineHQ
  - nothing provides libavutil.so.58 needed by wine-devel-common-1:9.20-1.1.i686 from WineHQ
  - nothing provides libavutil.so.58(LIBAVUTIL_58) needed by wine-devel-common-1:9.20-1.1.i686 from WineHQ
 Problem 2: cannot install the best update candidate for package wine-devel64-1:9.17-1.1.x86_64
  - nothing provides libavcodec.so.60()(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
  - nothing provides libavcodec.so.60(LIBAVCODEC_60)(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
  - nothing provides libavformat.so.60()(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
  - nothing provides libavformat.so.60(LIBAVFORMAT_60)(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
  - nothing provides libavutil.so.58()(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
  - nothing provides libavutil.so.58(LIBAVUTIL_58)(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
 Problem 3: package winehq-devel-1:9.20-1.1.x86_64 from WineHQ requires wine-devel64 = 1:9.20-1.1, but none of the providers can be installed
  - cannot install the best update candidate for package winehq-devel-1:9.17-1.1.x86_64
  - nothing provides libavcodec.so.60()(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
  - nothing provides libavcodec.so.60(LIBAVCODEC_60)(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
  - nothing provides libavformat.so.60()(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
  - nothing provides libavformat.so.60(LIBAVFORMAT_60)(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
  - nothing provides libavutil.so.58()(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ
  - nothing provides libavutil.so.58(LIBAVUTIL_58)(64bit) needed by wine-devel64-1:9.20-1.1.x86_64 from WineHQ

Package                                                                  Arch             Version                                                                  Repository                                    Size
Skipping packages with broken dependencies:
 wine-devel-common                                                       i686             1:9.20-1.1                                                               WineHQ                                   613.3 MiB
 wine-devel64                                                            x86_64           1:9.20-1.1                                                               WineHQ                                   722.7 MiB
 winehq-devel                                                            x86_64           1:9.20-1.1                                                               WineHQ                                    62.2 KiB

Nothing to do.

I’ve been using Fedora and wine for a long time and this has never happened before. Please help.

EDIT: forgot to say that I technically have libav libraries in my lib64 folder but wine is demanding the ones that end with a “60” and the ones I have end with “61”. I tried to make symlinks to them, but it doesn’t work either.
Also, swapping ffmpeg with ffmpeg-free allow me install libavcodec-free, but this doesn’t solve the issue either.

WineHQ may be requiring something F40-specific? Index of /wine-builds/fedora doesn’t list 41

Latest Fedora wine is Staging at wine-9.15-1.fc41.x86_64 that I have installed fine currently.

1 Like

I’m having a similar problem. I’m trying to upgrade from Fedora 40 to 41. Wine 9 .20 is already installed.

Here’s a representative error:

  - package wine-staging-1:9.20-1.1.x86_64 from @System requires libavutil.so.58(LIBAVUTIL_58)(64bit), but none of the providers can be installed

I suspect we’ll just have to sit tight until ffmpeg and Wine are updated.

Just upgraded a machine to Fedora 41. WineHQ doesn’t currently have a Fedora 41 repo setup. Changed winehq.repo to 41, but since it doesn’t exist it fails.
So have to wait until they get a repo created for Fedora 41??

With existing Fedora wine installed on F41, I did this for WineHQ’s repo:

sudo dnf config-manager addrepo --from-repofile='https://dl.winehq.org/wine-builds/fedora/40/winehq.repo'

Followed by:

sudo dnf install winehq-staging --allowerasing

And it looks like it would be good-to-go with removing Fedora’s wine and replacing with winehq-staging and wine-staging.

But it’s only offering 9.17-1.1 with 9.20-1.1 skipped because of broken dependencies.


I’m not sure if 9.17 offers anything exciting over 9.15 for me to bother with trying to swap it at the moment, but I might get more curious later.

I’ll just wait for a week or so first. I use wine to load windows audio plugins into Linux. I’m certain the slightly older version would be fine, but I’ll wait a bit first. WineHQ is pretty fast with updates.

1 Like

Yeah, this is clearly a Wine problem, I think I’ll leave this issue open until the Wine development team solves it, but there’s not much the Fedora team can do about this.