Wine installation failure on Ubuntu jammy

Questions about Wine on Linux
Post Reply
riothedog
Newbie
Newbie
Posts: 1
Joined: Fri Apr 25, 2025 1:02 am

Wine installation failure on Ubuntu jammy

Post by riothedog »

Hello,
I've followed the simple instructions and getting the following error. Attaching additional info.
I've also tried to run a fix of broken packages and other suggestion by ChatGPT: https://chatgpt.com/share/680b26c5-4898 ... dde2eeb5ff
Can anyone please provide some pointers?
Thanks
Jonathan

Edit: Yes, I did run sudo apt update

Code: Select all

jonathan@jonathan-vostro:~$ 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 (= 10.0.0.0~jammy-1)
E: Unable to correct problems, you have held broken packages.
jonathan@jonathan-vostro:~$ cd /etc/apt/sources.list.d/
jonathan@jonathan-vostro:/etc/apt/sources.list.d$ ll
total 44
drwxr-xr-x 2 root root 4096 Apr 11 15:16 ./
drwxr-xr-x 8 root root 4096 Apr 25 09:03 ../
-rw-r--r-- 1 root root  112 Dec 18 05:02 docker.list
-rw-r--r-- 1 root root  190 Dec 18 05:02 google-chrome-beta.list
-rw-r--r-- 1 root root  190 Dec 18 05:02 google-chrome.list
-rw-r--r-- 1 root root   94 Dec 20 06:03 mongodb-org-6.0.list
-rw-r--r-- 1 root root   60 Jan 11 02:47 nordvpn.list
-rw-r--r-- 1 root root  162 Dec 18 05:02 obsproject-ubuntu-obs-studio-jammy.list
-rw-r--r-- 1 root root  140 Dec 18 05:02 ondrej-ubuntu-php-jammy.list
-rw-r--r-- 1 root root   80 Mar 12 18:40 virtualbox.list
-rw-r--r-- 1 root root  163 Apr 17 02:51 winehq-jammy.sources
jonathan@jonathan-vostro:/etc/apt/sources.list.d$ cat winehq-jammy.sources 
Types: deb
URIs: https://dl.winehq.org/wine-builds/ubuntu
Suites: jammy
Components: main
Architectures: amd64 i386
Signed-By: /etc/apt/keyrings/winehq-archive.key
jonathan@jonathan-vostro:/etc/apt/sources.list.d$ ll /etc/apt/keyrings/winehq-archive.key
-rw-r--r-- 1 root root 2313 Apr 11 15:16 /etc/apt/keyrings/winehq-archive.key
jonathan@jonathan-vostro:/etc/apt/sources.list.d$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
jonathan@jonathan-vostro:/etc/apt/sources.list.d$ 
Post Reply