sudo apt update
Hit:1 http://packages.microsoft.com/repos/code stable InRelease
Get:2 https://dl.winehq.org/wine-builds/debian bookworm InRelease [8,045 B]
Hit:3 http://deb.debian.org/debian bookworm InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 http://security.debian.org/debian-security bookworm-security InRelease
Get:6 https://dl.winehq.org/wine-builds/debian bookworm/main amd64 Packages [194 kB]
Get:7 https://dl.winehq.org/wine-builds/debian bookworm/main i386 Packages [194 kB]
Get:8 https://dl.winehq.org/wine-builds/debian bookworm/main all Packages [1,272 B]
Fetched 389 kB in 1s (564 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
lts@lts:~$ 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:
wine-stable : Depends: wine-stable-i386 (= 8.0.1~bookworm-1) but it is not installable
E: Unable to correct problems, you have held broken packages.
Installing Wine on Debian 12 dependencies Problem
-
- Newbie
- Posts: 1
- Joined: Thu Jun 29, 2023 9:32 am
Re: Installing Wine on Debian 12 dependencies Problem
Please post the output of:
Code: Select all
apt policy
# and
sudo apt install --install-recommends wine-stable-i386:i386
-
- Newbie
- Posts: 1
- Joined: Mon Jul 03, 2023 12:07 pm
Re: Installing Wine on Debian 12 dependencies Problem
I am having the same problem on Debian 12-64 running XFCE4
apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://dl.winehq.org/wine-builds/debian bookworm/main all Packages
release o=dl.winehq.org,a=stable,n=bookworm,l=winehq,c=main,b=all
origin dl.winehq.org
500 https://dl.winehq.org/wine-builds/debian bookworm/main i386 Packages
release o=dl.winehq.org,a=stable,n=bookworm,l=winehq,c=main,b=i386
origin dl.winehq.org
500 https://dl.winehq.org/wine-builds/debian bookworm/main amd64 Packages
release o=dl.winehq.org,a=stable,n=bookworm,l=winehq,c=main,b=amd64
origin dl.winehq.org
500 http://192.168.2.103:3142/deb.debian.org/debian bullseye-updates/main i386 Packages
release v=11-updates,o=Debian,a=oldstable-updates,n=bullseye-updates,l=Debian,c=main,b=i386
origin 192.168.2.103
500 http://192.168.2.103:3142/deb.debian.org/debian bullseye-updates/main amd64 Packages
release v=11-updates,o=Debian,a=oldstable-updates,n=bullseye-updates,l=Debian,c=main,b=amd64
origin 192.168.2.103
500 http://192.168.2.103:3142/security.debi ... n-security bullseye-security/main i386 Packages
release v=11,o=Debian,a=oldstable-security,n=bullseye-security,l=Debian-Security,c=main,b=i386
origin 192.168.2.103
500 http://192.168.2.103:3142/security.debi ... n-security bullseye-security/main amd64 Packages
release v=11,o=Debian,a=oldstable-security,n=bullseye-security,l=Debian-Security,c=main,b=amd64
origin 192.168.2.103
500 http://192.168.2.103:3142/deb.debian.org/debian bullseye/main i386 Packages
release v=11.7,o=Debian,a=oldstable,n=bullseye,l=Debian,c=main,b=i386
origin 192.168.2.103
500 http://192.168.2.103:3142/deb.debian.org/debian bullseye/main amd64 Packages
release v=11.7,o=Debian,a=oldstable,n=bullseye,l=Debian,c=main,b=amd64
origin 192.168.2.103
Pinned packages:
sudo apt install --install-recommends wine-stable-i386:i386
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:
wine-stable-i386:i386 : Depends: libc6:i386 (>= 2.35) but 2.31-13+deb11u6 is to be installed
Recommends: libcapi20-3:i386 but it is not going to be installed
Recommends: libcups2:i386 but it is not going to be installed
Recommends: libglu1-mesa:i386 but it is not going to be installed or
libglu1:i386
Recommends: libodbc1:i386 but it is not going to be installed
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libsdl2-2.0-0:i386 but it is not going to be installed
Recommends: libv4l-0:i386 but it is not going to be installed
Recommends: libxcomposite1:i386 but it is not going to be installed
Recommends: libxcursor1:i386 but it is not going to be installed
Recommends: libxi6:i386 but it is not going to be installed
Recommends: libxinerama1:i386 but it is not going to be installed
Recommends: libxrandr2:i386 but it is not going to be installed
Recommends: libxslt1.1:i386 but it is not going to be installed
Recommends: libxxf86vm1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://dl.winehq.org/wine-builds/debian bookworm/main all Packages
release o=dl.winehq.org,a=stable,n=bookworm,l=winehq,c=main,b=all
origin dl.winehq.org
500 https://dl.winehq.org/wine-builds/debian bookworm/main i386 Packages
release o=dl.winehq.org,a=stable,n=bookworm,l=winehq,c=main,b=i386
origin dl.winehq.org
500 https://dl.winehq.org/wine-builds/debian bookworm/main amd64 Packages
release o=dl.winehq.org,a=stable,n=bookworm,l=winehq,c=main,b=amd64
origin dl.winehq.org
500 http://192.168.2.103:3142/deb.debian.org/debian bullseye-updates/main i386 Packages
release v=11-updates,o=Debian,a=oldstable-updates,n=bullseye-updates,l=Debian,c=main,b=i386
origin 192.168.2.103
500 http://192.168.2.103:3142/deb.debian.org/debian bullseye-updates/main amd64 Packages
release v=11-updates,o=Debian,a=oldstable-updates,n=bullseye-updates,l=Debian,c=main,b=amd64
origin 192.168.2.103
500 http://192.168.2.103:3142/security.debi ... n-security bullseye-security/main i386 Packages
release v=11,o=Debian,a=oldstable-security,n=bullseye-security,l=Debian-Security,c=main,b=i386
origin 192.168.2.103
500 http://192.168.2.103:3142/security.debi ... n-security bullseye-security/main amd64 Packages
release v=11,o=Debian,a=oldstable-security,n=bullseye-security,l=Debian-Security,c=main,b=amd64
origin 192.168.2.103
500 http://192.168.2.103:3142/deb.debian.org/debian bullseye/main i386 Packages
release v=11.7,o=Debian,a=oldstable,n=bullseye,l=Debian,c=main,b=i386
origin 192.168.2.103
500 http://192.168.2.103:3142/deb.debian.org/debian bullseye/main amd64 Packages
release v=11.7,o=Debian,a=oldstable,n=bullseye,l=Debian,c=main,b=amd64
origin 192.168.2.103
Pinned packages:
sudo apt install --install-recommends wine-stable-i386:i386
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:
wine-stable-i386:i386 : Depends: libc6:i386 (>= 2.35) but 2.31-13+deb11u6 is to be installed
Recommends: libcapi20-3:i386 but it is not going to be installed
Recommends: libcups2:i386 but it is not going to be installed
Recommends: libglu1-mesa:i386 but it is not going to be installed or
libglu1:i386
Recommends: libodbc1:i386 but it is not going to be installed
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libsdl2-2.0-0:i386 but it is not going to be installed
Recommends: libv4l-0:i386 but it is not going to be installed
Recommends: libxcomposite1:i386 but it is not going to be installed
Recommends: libxcursor1:i386 but it is not going to be installed
Recommends: libxi6:i386 but it is not going to be installed
Recommends: libxinerama1:i386 but it is not going to be installed
Recommends: libxrandr2:i386 but it is not going to be installed
Recommends: libxslt1.1:i386 but it is not going to be installed
Recommends: libxxf86vm1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Re: Installing Wine on Debian 12 dependencies Problem
You added the WineHQ repository for Debian Bookworm instead of Bullseye.
Remove the winehq-bookworm.sources file from /etc/apt/sources.list.d/, download the winehq-bullseye.sources file and try again:
Or upgrade your entire system to Bookworm 
Remove the winehq-bookworm.sources file from /etc/apt/sources.list.d/, download the winehq-bullseye.sources file and try again:
Code: Select all
sudo rm /etc/apt/sources.list.d/winehq-bookworm.sources
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
sudo apt update
sudo apt install --install-recommends winehq-stable
