from pglpm@lemmy.ca to linux@lemmy.ml on 26 Feb 2025 04:42
https://lemmy.ca/post/39741458
Edit: explicitly downgrading to 10.1 with
sudo apt install wine-staging=10.1~focal-1 wine-staging-amd64=10.1~focal-1 wine-staging-i386:i386=10.1~focal-1 winehq-staging=10.1~focal-1
worked for me, but see other solutions posted below.
Thank you for the help!
On Ubuntu, the last apt
upgrade of Wine broke down, bringing down the whole apt
system:
The following packages have unmet dependencies. wine-staging : Depends: wine-staging-amd64 (= 10.2~focal-2) but 10.2~focal-1 is installed
At the suggestion of running sudo apt --fix-broken install
, this is what happens:
Unpacking wine-staging-amd64 (10.2~focal-2) over (10.2~focal-1) … dpkg: error processing archive /var/cache/apt/archives/wine-staging-amd64_10.2~focal-2_amd64.deb (–unpack): trying to overwrite ‘/opt/wine-staging/bin/wine’, which is also in package wine-staging-i386:i386 10.2~focal-2 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/wine-staging-amd64_10.2~focal-2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Apparently this is also happening on Linux Mint: forums.linuxmint.com/viewtopic.php?t=441158
Any suggestions? Cheers!
threaded - newest
Well that’s not supposed to happen. I’m guessing the package itself is broken and should be fixed by the packager. Just stick with 10.2~focal-1 for now.
The problem is that the whole
apt
system seems to be broken. It doesn’t let me install other packages, and I can’t even uninstall wine. So I wonder if any fixes from wine will work. It looks like this needs the user’s manual intervention.but
sudo apt --fix-broken install
does not solve anything…Yeah it’ll take manual intervention until 10.2~focal-3 comes out. You should be able to remove wine-staging, or maybe uninstall wine-staging-i386 then use
–fix-broken
, or maybe downgrade wine-staging to whichever version depends on 10.2~focal-1. Anything that gets rid of the dependency on the broken package.Edit: explicitly installing 10.1 with
worked.
Thank you for the help!
But I can’t remove wine-staging, at least not via
apt
:So no go there.
–fix-broken
doesn’t work either:Any idea on how to remove Wine manually, bypassing
apt
?sudo apt -o Dpkg::Options::=“–force-overwrite” --fix-broken install
Thank you! didn’t know about that command.
I’m not sure I’d recommend that. Seems like it’d result in more breakage from mismatched architecture files.
Probably but it’s fucked anyway and now you can at least replace it with another wine or wait till it’s fixed tomorrow
unfortunately 10.2 removed wine 64 loader name too, so anything hard coded to look for it like eac broke