Ubuntu 18.04 install help - unable to locate Winehq-stable

Questions about Wine on Linux
Locked
shukero
Newbie
Newbie
Posts: 3
Joined: Thu Nov 22, 2018 2:42 am

Ubuntu 18.04 install help - unable to locate Winehq-stable

Post by shukero »

Hi everyone,

I followed the Install guide provided here: for my ubuntu 18.04 install as below; but I'm getting an "unable to locate Winehq-stable" error.

Can someone please tell me what I'm doing wrong? i already tried deleting the release key and re-pulling it.

Code: Select all

shukero@Shukero-Laptop:~$ sudo dpkg --add-architecture i386
shukero@Shukero-Laptop:~$ wget -nc https://dl.winehq.org/wine-builds/Release.key
File ‘Release.key’ already there; not retrieving.

shukero@Shukero-Laptop:~$ sudo apt-key add Release.key
OK
shukero@Shukero-Laptop:~$ sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
Get:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [4,701 B]
Hit:2 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic InRelease                                             
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                              
Hit:4 http://ca.archive.ubuntu.com/ubuntu bionic InRelease               
Err:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
Hit:5 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:6 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Reading package lists... Done                                  
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' is not signed.
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.
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease' doesn't support architecture '1386'
shukero@Shukero-Laptop:~$ sudo apt-get update
Get:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [4,701 B]
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                                      
Hit:3 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic InRelease     
Hit:4 http://ca.archive.ubuntu.com/ubuntu bionic InRelease               
Err:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
Hit:5 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:6 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Reading package lists... Done                                  
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' is not signed.
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.
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease' doesn't support architecture '1386'
shukero@Shukero-Laptop:~$ sudo apt-get install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package winehq-stable
Thanks!
~Mike
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Ubuntu 18.04 install help - unable to locate Winehq-stab

Post by dimesio »

Code: Select all

File ‘Release.key’ already there; not retrieving.
That's your problem: you didn't download the Release.key for the WineHQ repository because you apparently already have a downloaded file by that name. Without that Release.key, apt will not install anything from the WineHQ repository:

Code: Select all

W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' is not signed.
You need to download and add the WineHQ Release.key. If you don't want to delete the one you already have, download it to another location.
shukero
Newbie
Newbie
Posts: 3
Joined: Thu Nov 22, 2018 2:42 am

Re: Ubuntu 18.04 install help - unable to locate Winehq-stab

Post by shukero »

dimesio wrote:

Code: Select all

File ‘Release.key’ already there; not retrieving.
That's your problem: you didn't download the Release.key for the WineHQ repository because you apparently already have a downloaded file by that name. Without that Release.key, apt will not install anything from the WineHQ repository:

Code: Select all

W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' is not signed.
You need to download and add the WineHQ Release.key. If you don't want to delete the one you already have, download it to another location.
Thank you for the information; but I've already tried about 3 times to delete that key without luck. Is it possible for you to tell me how to download it to a different location? (Sorry, today is my second day with ubuntu / linux)

I've tried to delete the key I already have by:

1) going to software and updates > Authentication > and deleting the opensuse key within there. But whenever I do this; ubuntu 18.04 goes through the action, but never really removes it.

SO I did this late last night:
1) I did "sudo apt-key list"
2) "sudo apt-key del "key-ID-here"

which looked like it got rid of the key... but when I went back to the first step above, the key was still there.

Can you please help?

Thanks,
~Mike
shukero
Newbie
Newbie
Posts: 3
Joined: Thu Nov 22, 2018 2:42 am

Re: Ubuntu 18.04 install help - unable to locate Winehq-stab

Post by shukero »

Hello,

Could you please tell me how to delete the release.key I already have or move a new one to a different location?

I already tried to delete the apt-key last night through the software and updates application within ubuntu 18.04; but Ubuntu refuses to do it through the program... the key just stays even after I type in my password.

I also tried to do it through terminal with "sudo apt-key del #####" which looked like it worked; but when I went back to software & updates application, the key looks like it's still there.

Any help would be appreciated.
Thanks!
~Mike
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Ubuntu 18.04 install help - unable to locate Winehq-stab

Post by dimesio »

Open your file manager, select the file, and hit the delete key.
Locked