Bug 2401666 - Wine-core cannot be updated in fedora 43
Summary: Wine-core cannot be updated in fedora 43
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: wine
Version: 43
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker https://discussion.fe...
: 2404874 2406898 2407182 2407261 2407374 2408857 2409381 2411703 2411704 2411716 2411746 2411748 2411860 2411960 2412041 2412073 2412275 2412507 2413691 2413794 2414233 2414760 2415097 2415236 2415296 2416273 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-05 14:59 UTC by Jeff
Modified: 2025-11-21 04:25 UTC (History)
49 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2406164 0 unspecified NEW pretrans scripts are no performed in dry-run transaction verification, breaking symlink-to-directory workarounds 2025-11-10 08:09:24 UTC

Description Jeff 2025-10-05 14:59:54 UTC
For several weeks now, since f43 was released as Beta, I have been unable to update wine.  
There have been repeated conflicts between wine-core i686 and wine-core x86_64 as well as other issues.  The system update is able to complete as long as I exclude the wine-core package 

The following errors are seen every time.

$ sudo dnf upgrade wine*
Updating and loading repositories:
Repositories loaded.
Problem 1: cannot install both wine-dxvk-2.7.1-3.fc43.x86_64 from updates-testing and wine-dxvk-2.6.2-1.fc43.x86_64 from @System
  - wine-dxvk-2.6.2-1.fc43.i686 from @System has inferior architecture
  - cannot install the best update candidate for package wine-dxvk-2.6.2-1.fc43.x86_64
  - problem with installed package
 Problem 2: cannot install both wine-dxvk-d3d10-2.7.1-3.fc43.x86_64 from updates-testing and wine-dxvk-d3d10-2.6.2-1.fc43.x86_64 from @System
  - wine-dxvk-d3d10-2.6.2-1.fc43.i686 from @System has inferior architecture
  - cannot install the best update candidate for package wine-dxvk-d3d10-2.6.2-1.fc43.x86_64
  - problem with installed package
 Problem 3: cannot install both wine-dxvk-d3d8-2.7.1-3.fc43.x86_64 from updates-testing and wine-dxvk-d3d8-2.6.2-1.fc43.x86_64 from @System
  - wine-dxvk-d3d8-2.6.2-1.fc43.i686 from @System has inferior architecture
  - cannot install the best update candidate for package wine-dxvk-d3d8-2.6.2-1.fc43.x86_64
  - problem with installed package
 Problem 4: cannot install both wine-dxvk-d3d9-2.7.1-3.fc43.x86_64 from updates-testing and wine-dxvk-d3d9-2.6.2-1.fc43.x86_64 from @System
  - wine-dxvk-d3d9-2.6.2-1.fc43.i686 from @System has inferior architecture
  - cannot install the best update candidate for package wine-dxvk-d3d9-2.6.2-1.fc43.x86_64
  - problem with installed package
 Problem 5: cannot install both wine-dxvk-dxgi-2.7.1-3.fc43.x86_64 from updates-testing and wine-dxvk-dxgi-2.6.2-1.fc43.x86_64 from @System
  - wine-dxvk-dxgi-2.6.2-1.fc43.i686 from @System has inferior architecture
  - cannot install the best update candidate for package wine-dxvk-dxgi-2.6.2-1.fc43.x86_64
  - problem with installed package

Package                                            Arch         Version                                            Repository                        Size
Upgrading:
 wine-core                                         i686         10.15-1.fc43                                       updates-testing              614.3 MiB
   replacing wine-core                             i686         10.13-1.fc42                                       updates                      612.0 MiB
 wine-core                                         x86_64       10.15-1.fc43                                       updates-testing                1.3 GiB
   replacing wine-core                             x86_64       10.13-1.fc42                                       updates                      727.1 MiB
 wine-filesystem                                   noarch       10.15-1.fc43                                       updates-testing                9.9 MiB
   replacing wine-filesystem                       noarch       10.13-1.fc42                                       updates                       10.0 MiB
Skipping packages with conflicts:
 wine-dxvk                                         x86_64       2.7.1-3.fc43                                       updates-testing               18.1 MiB
 wine-dxvk-d3d10                                   x86_64       2.7.1-3.fc43                                       updates-testing              964.4 KiB
 wine-dxvk-d3d8                                    x86_64       2.7.1-3.fc43                                       updates-testing               13.3 MiB
 wine-dxvk-d3d9                                    x86_64       2.7.1-3.fc43                                       updates-testing               16.8 MiB
 wine-dxvk-dxgi                                    x86_64       2.7.1-3.fc43                                       updates-testing               15.3 MiB

Transaction Summary:
 Upgrading:          3 packages
 Replacing:          3 packages
 Skipping:           5 packages

Total size of inbound packages is 328 MiB. Need to download 328 MiB.
After this operation, 648 MiB extra will be used (install 2 GiB, remove 1 GiB).
Is this ok [y/N]: y
[1/3] wine-filesystem-0:10.15-1.fc43.noarch                                                                      100% |   5.5 MiB/s |   1.7 MiB |  00m00s
[2/3] wine-core-0:10.15-1.fc43.i686                                                                              100% |   6.5 MiB/s | 106.4 MiB |  00m16s
[3/3] wine-core-0:10.15-1.fc43.x86_64                                                                            100% |  10.5 MiB/s | 219.6 MiB |  00m21s
---------------------------------------------------------------------------------------------------------------------------------------------------------
[3/3] Total                                                                                                      100% |  15.3 MiB/s | 327.7 MiB |  00m21s
Running transaction
Transaction failed: Rpm transaction failed.
  - file /usr/lib64/wine/i386-windows from install of wine-core-10.15-1.fc43.x86_64 conflicts with file from package wine-core-10.13-1.fc42.x86_64
  - file /usr/lib/wine/i386-windows/ddraw.dll conflicts between attempted installs of wine-core-10.15-1.fc43.i686 and wine-core-10.15-1.fc43.x86_64
  - file /usr/lib/wine/i386-windows/urlmon.dll conflicts between attempted installs of wine-core-10.15-1.fc43.i686 and wine-core-10.15-1.fc43.x86_64
  - file /usr/lib/wine/i386-windows/windows.devices.bluetooth.dll conflicts between attempted installs of wine-core-10.15-1.fc43.i686 and wine-core-10.15-1.fc43.x86_64
  - file /usr/lib/wine/i386-windows/wined3d.dll conflicts between attempted installs of wine-core-10.15-1.fc43.i686 and wine-core-10.15-1.fc43.x86_64
  - file /usr/lib/wine/i386-windows/winmm.dll conflicts between attempted installs of wine-core-10.15-1.fc43.i686 and wine-core-10.15-1.fc43.x86_64



Reproducible: Always

Steps to Reproduce:
1. attempt to perform 'dnf upgrade'
2.
3.
Actual Results:
The upgrade fails due to problems with the wine packages

Expected Results:
The upgrade should complete properly

Comment 1 Göran Uddeborg 2025-10-05 15:20:37 UTC
This problem also prevents an upgrade from Fedora 42 to Fedora 43 if wine is installed.

Steps to Reproduce:
1. podman run -it fedora:42
2. dnf install wine.{i686,x86_64}
3. dnf system-upgrade download --releasever=43

Comment 2 Fedora Blocker Bugs Application 2025-10-05 15:23:23 UTC
Proposed as a Blocker for 43-final by Fedora user goeran using the blocker tracking app because:

 This seems to prevent upgrading to Fedora 43 if you have wine installed in Fedora 42. I imagine it is fairly common to have wine installed.

Comment 3 Adam Williamson 2025-10-06 15:50:48 UTC
-5 blocker / +5 FE in https://pagure.io/fedora-qa/blocker-review/issue/1958 , marking appropriately.

Comment 4 Michael Cronenworth 2025-10-06 19:59:32 UTC
Packaging needs to be updated to split wine-core apart.

wine-core-dlls.noarch (naming TBD) - *-windows/*.dll files
wine-core.$arch - *-unix/*.so files

I'll work on it. I also have 10.16, ntsync, and wine font package changes queued.

Comment 5 Kamil Páral 2025-10-24 08:50:41 UTC
Probably related: bug 2406164

Comment 6 Adam Williamson 2025-10-27 16:38:58 UTC
F43 is done, dropping metadata.

Comment 7 Michael Cronenworth 2025-10-28 16:56:23 UTC
*** Bug 2404874 has been marked as a duplicate of this bug. ***

Comment 8 Michael Cronenworth 2025-10-28 19:32:13 UTC
*** Bug 2406898 has been marked as a duplicate of this bug. ***

Comment 9 bbtuxi 2025-10-28 20:39:31 UTC
I have the same problem, I can't upgrade from 42 to 43. By the way, did you even have Wine installed?


Fehler beim Ausführen der Transaktion: 

Datei /usr/lib64/wine/i386-windows aus der Installation von wine-core-10.15-1.fc43.x86_64 kollidiert mit der Datei aus dem Paket wine-core-10.15-1.fc42.x86_64

Comment 10 Michael Cronenworth 2025-10-28 21:08:18 UTC
--- workaround 1 ---

Prior to upgrade: Delete symlinks in /usr/lib/wine and /usr/lib64/wine.

--- workaround 1 ---

--- workaround 2 ---

Uninstall wine prior to upgrade. Install wine after upgrade.

--- workaround 2 ---

Comment 11 bbtuxi 2025-10-29 04:52:52 UTC
Thank you, "workaround 1" worked for me. Now I'm going to explore Fedora 43 :)

Comment 12 Eric L. 2025-10-29 06:41:54 UTC
Removing the wine-dxvk packages is sufficient to unblock `dnf system-upgrade`:

```
dnf remove wine-dxvk-dxgi-2.6.2-1.fc42.i686 wine-dxvk-2.6.2-1.fc42.i686 wine-dxvk-d3d9-2.6.2-1.fc42.i686 wine-dxvk-d3d8-2.6.2-1.fc42.i686 wine-dxvk-d3d10-2.6.2-1.fc42.i686

Packages altered:
  Action Package                                Reason     Repository
  Remove vulkan-tools-0:1.4.313.0-1.fc42.x86_64 Clean      @System
  Remove wine-dxvk-0:2.6.2-1.fc42.i686          User       @System
  Remove wine-dxvk-0:2.6.2-1.fc42.x86_64        Dependency @System
  Remove wine-dxvk-d3d10-0:2.6.2-1.fc42.i686    User       @System
  Remove wine-dxvk-d3d10-0:2.6.2-1.fc42.x86_64  Clean      @System
  Remove wine-dxvk-d3d8-0:2.6.2-1.fc42.i686     User       @System
  Remove wine-dxvk-d3d8-0:2.6.2-1.fc42.x86_64   Clean      @System
  Remove wine-dxvk-d3d9-0:2.6.2-1.fc42.i686     User       @System
  Remove wine-dxvk-d3d9-0:2.6.2-1.fc42.x86_64   Clean      @System
  Remove wine-dxvk-dxgi-0:2.6.2-1.fc42.i686     User       @System
  Remove wine-dxvk-dxgi-0:2.6.2-1.fc42.x86_64   Clean      @System
```

The download succeeds but then RPM chokes on the symlinks:

```
Transaction failed: Rpm transaction failed.
  - file /usr/lib64/wine/i386-windows from install of wine-core-10.15-1.fc43.x86_64 conflicts with file from package wine-core-10.15-1.fc42.x86_64
  - file /usr/lib/wine/i386-windows/ddraw.dll conflicts between attempted installs of wine-core-10.15-1.fc43.i686 and wine-core-10.15-1.fc43.x86_64
  - file /usr/lib/wine/i386-windows/urlmon.dll conflicts between attempted installs of wine-core-10.15-1.fc43.i686 and wine-core-10.15-1.fc43.x86_64
  - file /usr/lib/wine/i386-windows/windows.devices.bluetooth.dll conflicts between attempted installs of wine-core-10.15-1.fc43.i686 and wine-core-10.15-1.fc43.x86_64
  - file /usr/lib/wine/i386-windows/wined3d.dll conflicts between attempted installs of wine-core-10.15-1.fc43.i686 and wine-core-10.15-1.fc43.x86_64
  - file /usr/lib/wine/i386-windows/winmm.dll conflicts between attempted installs of wine-core-10.15-1.fc43.i686 and wine-core-10.15-1.fc43.x86_64
```

Then `sudo rm /usr/lib64/wine/i386-windows` fixes the RPM transaction.

Comment 13 Todd 2025-10-29 08:37:39 UTC
(In reply to bbtuxi from comment #11)
> Thank you, "workaround 1" worked for me. Now I'm going to explore Fedora 43
> :)

When I upgraded, the upgrade removed all my printers.  Double check to see if you still have yours!

Comment 14 Eric L. 2025-10-29 11:48:32 UTC
Printer is still there after the upgrade, and I fail to see how this can be related.

Comment 15 eblu 2025-10-29 16:05:29 UTC
Also got this issue trying to upgrade to 43 stable. The first workaround in comment 10 worked for me thankfully.

Comment 16 Kamil Páral 2025-10-29 17:17:29 UTC
We've documented the issue and the workaround here:
https://discussion.fedoraproject.org/t/170296

Comment 17 Michael Cronenworth 2025-10-29 19:44:16 UTC
*** Bug 2407182 has been marked as a duplicate of this bug. ***

Comment 18 Michael Cronenworth 2025-10-30 14:20:18 UTC
*** Bug 2407374 has been marked as a duplicate of this bug. ***

Comment 19 Michael Cronenworth 2025-10-31 15:51:10 UTC
*** Bug 2408857 has been marked as a duplicate of this bug. ***

Comment 20 Adam Williamson 2025-10-31 21:09:10 UTC
IMPORTANT NOTE: in testing, Michael's suggestion of deleting the symlinks seems to cause the upgrade to crash partway through, if you leave the dxvk packages installed: https://bugzilla.redhat.com/show_bug.cgi?id=2408378 . So please DO NOT USE that workaround. Please instead go with removing wine before upgrade and reinstalling it afterwards. Thanks.

Removing the symlinks *and* the dxvk packages is *probably* safe, but it's safer just to remove wine entirely before upgrading and not mess around with deleting the symlinks, I think.

Comment 21 Todd 2025-10-31 21:43:16 UTC
(In reply to Adam Williamson from comment #20)

> Removing the symlinks *and* the dxvk packages is *probably* safe, but it's
> safer just to remove wine entirely before upgrading and not mess around with
> deleting the symlinks, I think.

I did the removal.   The only issue I had was that I installed x86_64 version of Wine and had to remove it and then reinstall the i686 version that I actually use (all my Windows programs that I use are 32 bit and my ~/.wine would not let me use the 64 bit version of wine).  Took a bait of time, but I got there.

Comment 22 Adam Williamson 2025-10-31 21:48:45 UTC
In further testing I'm fairly sure the upgrade will crash any time you try to upgrade with the wine-dxvk packages installed. So however you choose to work around this bug, do *NOT* attempt the upgrade with the wine-dxvk packages still installed. The safest bet is definitely:

1. Remove all wine packages
2. Upgrade
3. Re-install wine

Comment 23 Carlos 2025-10-31 22:51:42 UTC
In my case I've just upgraded excluding all the wine packages with "-x *wine*" Probably it's not the supported way but it worked.

Comment 24 Elliott Sales de Andrade 2025-11-01 01:46:32 UTC
*** Bug 2407261 has been marked as a duplicate of this bug. ***

Comment 25 Elliott Sales de Andrade 2025-11-01 01:47:02 UTC
*** Bug 2409381 has been marked as a duplicate of this bug. ***

Comment 26 Michael Cronenworth 2025-11-02 18:38:24 UTC
*** Bug 2411748 has been marked as a duplicate of this bug. ***

Comment 27 Michael Cronenworth 2025-11-02 18:39:32 UTC
*** Bug 2411746 has been marked as a duplicate of this bug. ***

Comment 28 Michael Cronenworth 2025-11-02 18:41:36 UTC
*** Bug 2411703 has been marked as a duplicate of this bug. ***

Comment 29 Michael Cronenworth 2025-11-02 18:42:06 UTC
*** Bug 2411716 has been marked as a duplicate of this bug. ***

Comment 30 Michael Cronenworth 2025-11-02 18:42:40 UTC
*** Bug 2411704 has been marked as a duplicate of this bug. ***

Comment 31 Miroslav Suchý 2025-11-02 20:56:12 UTC
*** Bug 2411860 has been marked as a duplicate of this bug. ***

Comment 32 Michael Cronenworth 2025-11-03 21:13:44 UTC
*** Bug 2412041 has been marked as a duplicate of this bug. ***

Comment 33 Michael Cronenworth 2025-11-03 21:14:26 UTC
*** Bug 2412073 has been marked as a duplicate of this bug. ***

Comment 34 Miroslav Suchý 2025-11-04 20:32:16 UTC
*** Bug 2412275 has been marked as a duplicate of this bug. ***

Comment 35 Michael Cronenworth 2025-11-05 16:51:56 UTC
*** Bug 2412507 has been marked as a duplicate of this bug. ***

Comment 36 Miroslav Suchý 2025-11-10 06:58:27 UTC
*** Bug 2413691 has been marked as a duplicate of this bug. ***

Comment 37 Michael Cronenworth 2025-11-10 15:38:59 UTC
*** Bug 2413794 has been marked as a duplicate of this bug. ***

Comment 38 Adam Williamson 2025-11-10 19:10:08 UTC
good lord, we should probably consider amending the upgrade criteria to require upgrades with wine installed to work, given how many dupes there are....

Comment 39 Elliott Tallis 2025-11-10 20:31:03 UTC
Wine is one of the linchpin pieces of software that enables a considerably sized segments of users to migrate to the Linux ecosystem with less friction, so a system upgrade failing because of Wine conflicts not being a blocker due to "not installed by default" is certainly an oversight. I agree that it should probably be part of the upgrade criteria.

Comment 40 Michael Cronenworth 2025-11-12 03:28:05 UTC
*** Bug 2414233 has been marked as a duplicate of this bug. ***

Comment 41 Miroslav Suchý 2025-11-13 07:20:27 UTC
*** Bug 2414760 has been marked as a duplicate of this bug. ***

Comment 42 Michael Cronenworth 2025-11-17 01:13:36 UTC
*** Bug 2415296 has been marked as a duplicate of this bug. ***

Comment 43 Michael Cronenworth 2025-11-17 03:00:09 UTC
*** Bug 2415097 has been marked as a duplicate of this bug. ***

Comment 44 Miroslav Suchý 2025-11-17 09:11:57 UTC
*** Bug 2415236 has been marked as a duplicate of this bug. ***

Comment 45 Michael Cronenworth 2025-11-18 16:37:38 UTC
*** Bug 2411960 has been marked as a duplicate of this bug. ***

Comment 46 Thom Holwerda 2025-11-20 07:46:41 UTC
Are there any plans to actually fix this issue, or are users expected to manually remove and reinstall crucial packages like Wine & co.? I'm definitely not interested in messing around with the myriad of Wine-related packages and their dependencies on my F42 install, and would consider "just delete and reinstall Wine bro" to be a rather dismissive "workaround" for a desktop-oriented, user-focused distribution like Fedora.

Comment 47 Michael Cronenworth 2025-11-21 04:25:35 UTC
*** Bug 2416273 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.