Wine Installation Error

Questions about Wine on Linux
Locked
ayodejim
Newbie
Newbie
Posts: 1
Joined: Fri Jan 18, 2019 3:55 am

Wine Installation Error

Post by ayodejim »

I am trying to install wine on Ubuntu 18.04, but I encountered two errors.
1. After I type wget -nc https://dl.winehq.org/wine-builds/winehq.key, I get the message, File ‘winehq.key’ already there; not retrieving.
2. As I still go to the next step to do sudo apt install --install-recommends winehq-stable, I get, E: Unable to locate package winehq-stable

Please can someone bail me out.

Thanks.
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine Installation Error

Post by dimesio »

If that's really all you did, you skipped three steps between the two you did:

Code: Select all

sudo apt-key add winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' 
sudo apt update
Locked