Treouble installing Wine

Questions about Wine on Linux
Locked
JackM43
Newbie
Newbie
Posts: 1
Joined: Thu Sep 28, 2023 4:43 pm

Treouble installing Wine

Post by JackM43 »

I am running Linux Mint version 21.2. I am following Wine install instructions and when I get to
"sudo apt install --install-recommends winehq-stable" I get the error message "Unable to locate package winehq-stable".

Everything from previous instructions installed ok. Suggestions on what to do to fix problem.

Thanks, Jack
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Treouble installing Wine

Post by jkfloris »

You get this error message if the WineHQ repository cannot be found. Did you run "sudo apt update" after downloading the winehq-jammy.sources file?
If that doesn't help, post the output of the following 2 commands:

Code: Select all

head /etc/apt/sources.list.d/*winehq*
# and
apt policy
Locked