I can't install wine-staging....... please help me

Questions about Wine on Linux
Locked
Codesound
Level 3
Level 3
Posts: 65
Joined: Sun Sep 01, 2019 7:03 am

I can't install wine-staging....... please help me

Post by Codesound »

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
Newbie
Posts: 2
Joined: Sat Oct 05, 2024 4:43 pm

Re: I can't install wine-staging....... please help me

Post by sizezero »

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
Level 3
Posts: 65
Joined: Sun Sep 01, 2019 7:03 am

Re: I can't install wine-staging....... please help me

Post by Codesound »

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
Newbie
Posts: 2
Joined: Sat Oct 05, 2024 4:43 pm

Re: I can't install wine-staging....... please help me

Post by sizezero »

Dang. I'm already using the noble repo and I'm still getting the error.
Locked