wine 按官方添加后提示 NO_PUBKEY 76F1A20FF987672F

游戏讨论
回复
头像
flwwater
帖子: 762
注册时间: 2010-10-31 9:15
系统: kubuntu 24.04

wine 按官方添加后提示 NO_PUBKEY 76F1A20FF987672F

#1

帖子 flwwater » 2022-11-11 8:14

W: GPG 错误:https://dl.winehq.org/wine-builds/ubuntu jammy InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 76F1A20FF987672F
E: 仓库 “https://dl.winehq.org/wine-builds/ubuntu jammy InRelease” 没有数字签名。
N: 无法安全地用该源进行更新,所以默认禁用该源。


你需要做的就一步:
sudo mv /usr/share/keyrings/winehq-archive.key /etc/apt/keyrings/
然后就能
sudo apt update
个人收藏的数百个精美动态壁纸:
https://url17.ctfile.com/d/15983117-593 ... 768?p=6220
(访问密码:6220


个人收藏的经典国语音乐和纯音乐(钢琴,笛子,二胡等):
https://url17.ctfile.com/d/15983117-446 ... 33e?p=6220
(访问密码:6220



如果访问密码不对,可试试这个密码 566816
头像
astolia
论坛版主
帖子: 6454
注册时间: 2008-09-18 13:11

Re: wine 按官方添加后提示 NO_PUBKEY 76F1A20FF987672F

#2

帖子 astolia » 2022-11-12 14:37

出现这个就说明你没有按官方步骤添加。 https://wiki.winehq.org/Ubuntu 上面有写下载key到/etc/apt/keyrings/
ghome9
帖子: 39
注册时间: 2023-01-11 11:12
系统: ubuntu22.04

Re: wine 按官方添加后提示 NO_PUBKEY 76F1A20FF987672F

#3

帖子 ghome9 » 2023-01-11 11:20

astolia 写了: 2022-11-12 14:37 出现这个就说明你没有按官方步骤添加。 https://wiki.winehq.org/Ubuntu 上面有写下载key到/etc/apt/keyrings/
版主大佬 是用22.04?
我也是22.04 按官方说的。就是会KEY是无效的。 显示要 管理GPG

隔天又来看看贴子怎么样了,发现通过了,很开心。然后又看了一下贴子,
注意到了版主说的是 /etc/apt/keyrings/
我在https://wiki.winehq.org/Ubuntu_zhcn 看到的是
sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
也照做了,两者之间有区别。
又去看了官方WIKI 的sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
。。。。 系统版本路径,方法不一样。翻译版过时了。

下方的报错我就不删了,留着以后给别人当搜索关键字用。(PS:我好笨。中科大源下WINE中,好慢21KB。3小时)
下面是 我在官方发的。 但是还没有被 通过。

I want to install the winehq 7.0+ by follow the wiki ,but not completed.The following show how i do it.
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
do the:
#########
sudo apt-key del "D43F 6401 4536 9C51 D786 DDEA 76F1 A20F F987 672F"
##########
cout :
########
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
##########
Then do :
##########
ubun-virtual-machine:~/Downloads$ apt-key list

#########
cout :
###########
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
------------------------------------------------------
pub rsa4096 2012-05-11 [SC]
8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092
uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub rsa4096 2018-09-17 [SC]
F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C
uid [ unknown] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>
#############

no one was the key .
do :
########
sudo apt update
#######
cout:
##########
rr:5 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Reading package lists... Done
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu jammy 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 jammy 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.
############
do:
############
cp winehq.key /usr/share/keyrings/winehq-archive.key
cp winehq.key /etc/apt/trusted.gpg.d
sudo apt update
############
cout:
############
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Reading package lists... Done
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu jammy 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 jammy 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.
#############
So how to install wine7+ in ubuntu 22.04.
Before this way . I install wine by ubuntu software, but it was 6.0. And on the way of i rise it up to 7.0, do the install wine32 and then the gnome alot was be remove. the OS become service .
A question can wine and steam both alive in the os?
头像
astolia
论坛版主
帖子: 6454
注册时间: 2008-09-18 13:11

Re: wine 按官方添加后提示 NO_PUBKEY 76F1A20FF987672F

#4

帖子 astolia » 2023-01-11 17:17

ghome9 写了: 2023-01-11 11:20 中科大源下WINE中,好慢21KB。
那是wine自己架设的源,和中科大没关系
回复