Questions about Wine on Linux
Codesound
Level 3
Posts: 65 Joined: Sun Sep 01, 2019 7:03 am
Post
by Codesound » Fri Oct 04, 2024 9:14 am
Linux Mint 22 Cinnamom_x64
Hi,
I follow these steps for installing wine:
Code: Select all
sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt update && sudo apt upgrade -y
sudo apt install --install-recommends winehq-staging -y
but the terminal out is:
Code: Select all
The following packages have unmet dependencies:
winehq-staging : Depends: wine-staging (= 9.18~jammy-1)
E: Unable to correct problems, you have held broken packages.
how can I fix this issue? Thanks to all to help me....
regards
sizezero
Newbie
Posts: 2 Joined: Sat Oct 05, 2024 4:43 pm
Post
by sizezero » Sat Oct 05, 2024 4:48 pm
I have a similar problem on a fresh Ubuntu 24.04 installation.
same commands as parent except used the noble repo
Code: Select all
$ sudo apt install --install-recommends winehq-staging
...
The following packages have unmet dependencies:
winehq-staging : Depends: wine-staging (= 9.18~noble-1)
E: Unable to correct problems, you have held broken packages.
Codesound
Level 3
Posts: 65 Joined: Sun Sep 01, 2019 7:03 am
Post
by Codesound » Sun Oct 06, 2024 2:40 am
Hi,
I answer to myself. I need to replace this step:
Code: Select all
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
with that:
Code: Select all
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources
Thanks anyway to everyone
regards
sizezero
Newbie
Posts: 2 Joined: Sat Oct 05, 2024 4:43 pm
Post
by sizezero » Sun Oct 06, 2024 10:16 am
Dang. I'm already using the noble repo and I'm still getting the error.