Error while installing wine on Ubuntu 16.04

Questions about Wine on Linux
Locked
rrampuria
Newbie
Newbie
Posts: 1
Joined: Thu Apr 23, 2020 2:46 am

Error while installing wine on Ubuntu 16.04

Post by rrampuria »

Hi All,

I am trying to install wine on my ubuntu machine (16.04)

After reaching to the step of adding the repository for ubuntu 16.04, i did "sudo apt update"
got the below error:


rohan@rohan-VirtualBox:~/Downloads$ sudo apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Ign:4 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease
Err:5 https://dl.winehq.org/wine-builds/ubuntu xenial Release
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Reading package lists... Done
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Can someone help on this?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Error while installing wine on Ubuntu 16.04

Post by jkfloris »

Have you successfully completed the step below?

Download and add the repository key:

Code: Select all

wget -nc https://dl.winehq.org/wine-builds/winehq-repo.key
sudo apt-key add winehq-repo.key
Locked