public key is not available | linux mint 20.X | wine 7.0

Questions about Wine on Linux
Locked
move300
Newbie
Newbie
Posts: 1
Joined: Mon Sep 26, 2022 6:15 am

public key is not available | linux mint 20.X | wine 7.0

Post by move300 »

Hello =)
I am using Linux mint as daily for almost a year under dual boot on my laptop.
I am dual booting because of gaming,
so i tried to install wine HQ with tutorials from the internet.

i used all the commands on the "Ubuntu WineHQ Repository" page.
and when i try to "apt update" i get an error:

Code: Select all

Err:11 https://dl.winehq.org/wine-builds/ubuntu focal InRelease      
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Hit:15 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Reading package lists... Done
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu focal 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.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
W: Target Translations (main/i18n/Translation-en_IL) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: public key is not available | linux mint 20.X | wine 7.0

Post by jkfloris »

Code: Select all

Err:11 https://dl.winehq.org/wine-builds/ubuntu focal InRelease      
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
You can probably find the answer on the same Wiki page.
https://wiki.winehq.org/Ubuntu#Winehq_key_problems

Code: Select all

Hit:15 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
You also added the Bionic repo somewhere. You can remove that one.

Code: Select all

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
Maybe this is the Bionic repo, but on the first line in /etc/apt/sources.list.d/additional-repositories.list there is also a reference to the WineHQ repo. You can also remove that line.
Locked