Can't upgrade wine after ubuntu update

Ubuntu Version:
25.10

I’m tried to update wine to latest 10.17 so i removed the wine source and the added Questing source.

(Reading database ... 213418 files and directories currently installed.)
Preparing to unpack .../wine-devel_10.17~questing-1_amd64.deb ...
Unpacking wine-devel (10.17~questing-1) ...
dpkg: error processing archive /var/cache/apt/archives/wine-devel_10.17~questing-1_amd64.deb (--unpack):
trying to overwrite '/opt/wine-devel/lib/wine/i386-windows/acledit.dll', which is also in package wine-deve
l-i386:i386 (10.16~plucky-1)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/wine-devel_10.17~questing-1_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

This is the error i get and

levan@moon:~$ sudo apt upgrade
You might want to run 'apt --fix-broken install' to correct these.
Unsatisfied dependencies:
winehq-devel : Depends: wine-devel (= 10.17~questing-1) but it is not installed
Error: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
levan@moon:~$ sudo apt --fix-broken install
Correcting dependencies... Done
Installing dependencies:
wine-devel

Summary:
Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
4 not fully installed or removed.
Download size: 0 B / 236 MB
Space needed: 1,518 MB / 170 GB available

Continue? [Y/n] y
(Reading database ... 213418 files and directories currently installed.)
Preparing to unpack .../wine-devel_10.17~questing-1_amd64.deb ...
Unpacking wine-devel (10.17~questing-1) ...
dpkg: error processing archive /var/cache/apt/archives/wine-devel_10.17~questing-1_amd64.deb (--unpack):
trying to overwrite '/opt/wine-devel/lib/wine/i386-windows/acledit.dll', which is also in package wine-deve
l-i386:i386 (10.16~plucky-1)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/wine-devel_10.17~questing-1_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

How can this be fixed ??

What results for apt policy wine-devel

wine-devel:
  Installed: (none)
  Candidate: 10.17~questing-1
  Version table:
     10.17~questing-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu questing/main amd64 Packag>
lines 1-6/6 (END)

File a bug with Winehq.org against the packages showing a file name collision with the i386 version and amd64 version. It’s happened before with Winehq.org deb packages unfortunately: https://bugs.winehq.org/show_bug.cgi?id=57997
This is not a Ubuntu problem.

3 Likes