I followed the instructions on the wiki here https://wiki.winehq.org/Debian
I added the bookworm sources, the contents of /etc/apt/sources.list.d/winehq-bookworm.sources is:
Code: Select all
Types: deb
URIs: https://dl.winehq.org/wine-builds/debian
Suites: bookworm
Components: main
Architectures: amd64 i386
Signed-By: /etc/apt/keyrings/winehq-archive.key
Code: Select all
root@jeremy-deb12:/etc/apt/sources.list.d# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Then,
sudo apt install --install-recommends winehq-stable gives the message
Code: Select all
root@jeremy-deb12:/# 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 (= 8.0.2~bookworm-1)
E: Unable to correct problems, you have held broken packages.
I did not see a step to install wine-stable, is this needed? When I try to install wine-stable, I then see:
Code: Select all
root@jeremy-deb12:/# apt install --install-recommends wine-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:
libavif15 : Breaks: libavif15:i386 (!= 0.11.1-1) but 0.11.1-3+b1 is to be installed
libavif15:i386 : Breaks: libavif15 (!= 0.11.1-3+b1) but 0.11.1-1 is to be installed
libgphoto2-6 : Recommends: libgphoto2-l10n (= 2.5.30-1) but 2.5.31-1 is to be installed
Breaks: libgphoto2-6:i386 (!= 2.5.30-1) but 2.5.31-1 is to be installed
libgphoto2-6:i386 : Breaks: libgphoto2-6 (!= 2.5.31-1) but 2.5.30-1 is to be installed
libsane1 : Depends: libsane-common (= 1.2.1-2) but 1.2.1-5 is to be installed
Recommends: sane-airscan but it is not going to be installed
Recommends: sane-utils (>= 1.2.1-2)
Breaks: libsane1:i386 (!= 1.2.1-2) but 1.2.1-5 is to be installed
libsane1:i386 : Recommends: sane-utils:i386 (>= 1.2.1-5)
Breaks: libsane1 (!= 1.2.1-5) but 1.2.1-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Do you have any advice?
Thanks