Dependency Hell

Questions about Wine on Linux
Locked
lostcauses
Newbie
Newbie
Posts: 1
Joined: Wed Mar 02, 2022 9:27 pm

Dependency Hell

Post by lostcauses »

Hey all. I've searched hi and low and can't seem to find an answer. I'm running Debian 11 and am trying to make sure Wine is installed. I think I have Wine64 installed, but need Wine32 installed as well.

Code: Select all

john@anon:~$ wine --version
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
wine-5.0.3 (Debian 5.0.3-3)
I've added i386 architecture

Code: Select all

john@anon:~$ sudo dpkg --add-architecture i386
john@anon:~$ sudo dpkg --print-architecture
amd64
john@anon:~$ dpkg --print-foreign-architectures
i386
When I try to install

Code: Select all

john@anon:~$ sudo apt install wine32
Reading package lists... Done
Building dependency tree... Done
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:
 libfontconfig1:i386 : Depends: libuuid1:i386 (>= 2.16) but it is not going to be installed
 libglib2.0-0:i386 : Depends: libmount1:i386 (>= 2.35.2-7~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I have added the Winde Debian 11 Bullseye repos and run apt update. I've also tried:

Code: Select all

john@anon:~$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree... Done
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~bullseye-1)
E: Unable to correct problems, you have held broken packages.
I'd really appreciate any help you all can provide. Thanks in advance.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Dependency Hell

Post by jkfloris »

You probably turned on other sources besides the official Debian repository.
What is the output of

Code: Select all

grep -R ^deb /etc/apt/sources.list*
# and
sudo apt install wine-stable-i386:i386
Locked