Wine update on Pop OS won't install.

Questions about Wine on Linux
Locked
undeadmerc3
Newbie
Newbie
Posts: 2
Joined: Tue May 28, 2024 12:45 pm

Wine update on Pop OS won't install.

Post by undeadmerc3 »

I seem to have an update in the Pop OS shop that refuses to install called:
• winehq-stable
WINE Is Not An Emulator - runs MS Windows programs
Version: 9.0.0.0~mantic-1

When I try installing it I get this message:

The following packages have unmet dependencies:
winehq-stable: Depends: wine-stable (= 9.0.0.0~mantic-1)

Any advice?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine update on Pop OS won't install.

Post by jkfloris »

If I remember correctly, Pop OS is based on Ubuntu Jammy. You can check this with:

Code: Select all

cat /etc/os-release
If this is the case, you have added the wrong WineHQ repository to your system.
Remove the winehq-mantic.sources file from the /etc/apt/sources.list.d directory
and add the Ubuntu Jammy repository and try again:

Code: Select all

# add the repo:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
# update:
sudo apt update
undeadmerc3
Newbie
Newbie
Posts: 2
Joined: Tue May 28, 2024 12:45 pm

Re: Wine update on Pop OS won't install.

Post by undeadmerc3 »

Already done. Seems I have both versions installed. I need to remove Mantic.
undeadmerc3
Newbie
Newbie
Posts: 2
Joined: Tue May 28, 2024 12:45 pm

Re: Wine update on Pop OS won't install.

Post by undeadmerc3 »

jkfloris wrote: Wed May 29, 2024 3:22 pm If I remember correctly, Pop OS is based on Ubuntu Jammy. You can check this with:

Code: Select all

cat /etc/os-release
If this is the case, you have added the wrong WineHQ repository to your system.
Remove the winehq-mantic.sources file from the /etc/apt/sources.list.d directory
and add the Ubuntu Jammy repository and try again:

Code: Select all

# add the repo:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
# update:
sudo apt update
Sorry to double post. I don't think the site lets me edit or delete my comments so i'm stuck with double posting(not proud to do so). Seems that when I got to /etc/apt/sources.list.d/ it won't remove the file. Even through the command line. Odd
Attachments
Screenshot from 2024-05-30 22-49-53.png
Last edited by undeadmerc3 on Thu May 30, 2024 9:55 pm, edited 1 time in total.
undeadmerc3
Newbie
Newbie
Posts: 2
Joined: Tue May 28, 2024 12:45 pm

Re: Wine update on Pop OS won't install.

Post by undeadmerc3 »

I hate triple posting, but i'm not getting any update on this and the site won't let me edit posts.

Update:Nevermind. I just ran sudo rm /etc/apt/sources.list.d/winehq-mantic.sources

All is well.
Last edited by undeadmerc3 on Sun Jun 02, 2024 2:24 pm, edited 1 time in total.
Locked