unfortunately 10.2 removed wine 64 loader name too, so anything hard coded to look for it like eac broke
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
wine-staging : Depends: wine-staging-amd64 (= 10.2~focal-2) but 10.2~focal-1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
$ sudo apt remove wine-staging-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
wine-staging : Depends: wine-staging-amd64 (= 10.2~focal-2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
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
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.
Thank you for the help!
But I can't remove wine-staging, at least not via apt
:
$ sudo apt remove wine-staging-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
wine-staging : Depends: wine-staging-i386 (= 10.2~focal-2)
Depends: wine-staging-amd64 (= 10.2~focal-2) but 10.2~focal-1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
So no go there. --fix-broken
doesn't work either:
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
wine-staging-amd64
The following packages will be upgraded:
wine-staging-amd64
1 to upgrade, 0 to newly install, 0 to remove and 9 not to upgrade.
3 not fully installed or removed.
Need to get 0 B/114 MB of archives.
After this operation, 15.4 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 393922 files and directories currently installed.)
Preparing to unpack .../wine-staging-amd64_10.2~focal-2_amd64.deb ...
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)
Any idea on how to remove Wine manually, bypassing apt
?
sudo apt -o Dpkg::Options::="--force-overwrite" --fix-broken install
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
Thank you! didn't know about that command.