Following the instructions in https://wiki.winehq.org/Debian I get this error when trying to install wine in Debian 10 amd64 with apt-get install winehq-stable
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
winehq-stable : Depends: wine-stable (= 7.0.0.0~buster-1)
E: Unable to correct problems, you have held broken packages.
So I try to install wine-stable
and get the same output asking for wine-stable-i386 (= 7.0.0.0~buster-1)
When trying to install wine-stable-i386
, we are led to an unsolvable situation:
I have checked that I allowed i386: dpkg --print-foreign-architectures
prints i386
I had winehq already installed with no major problem, but when installing another package, wine and a bunch of lib* packages were removed. I don't know exactly which package caused this, but was probably one of these: qt5-default
, openssl
, libc6
, zlib1g:amd64
, build-essential
or pkg-config
. Looking at dpkg -l
I see that often i386 packages have the flag rc
, meaning that they were uninstalled leaving config files, so maybe the package in question uninstalled winehq and i386 lib* stuff.
I tried to install winehq-stable
with aptitude install winehq-stable
but doesn't solve the deal:
My sources.list looks like this:
Interestingly, I have tried to install libc6:i386 and debian just wants to remove everything else :_D
It seems all problems come when trying to install any i386 thing.
I would prefer avoiding installing the whole system again, so any ideas about how to solve this are welcome!
The output of apt policy libc6 libc6:i386
is:
libc6:
Installed: 2.28-10+deb10u1
Candidate: 2.28-10+deb10u1
Version table:
*** 2.28-10+deb10u1 500
500 http://deb.debian.org/debian buster/main amd64 Packages
100 /var/lib/dpkg/status
libc6:i386:
Installed: (none)
Candidate: 2.28-10
Version table:
2.28-10 500
500 http://deb.debian.org/debian buster/main i386 Packages
100 /var/lib/dpkg/status