root@kyo:/# apt update
取得:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
ヒット:2 http://deb.debian.org/debian buster InRelease
ヒット:3 http://deb.debian.org/debian buster-updates InRelease
ヒット:4 http://deb.debian.org/debian buster-backports InRelease
取得:5 https://dl.winehq.org/wine-builds/debian buster InRelease [6,259 B]
エラー:5 https://dl.winehq.org/wine-builds/debian buster InRelease
公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 76F1A20FF987672F
パッケージリストを読み込んでいます... 完了
W: GPG エラー: https://dl.winehq.org/wine-builds/debian buster InRelease: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 76F1A20FF987672F
E: リポジトリ https://dl.winehq.org/wine-builds/debian buster InRelease は署名されていません。
N: このようなリポジトリから更新を安全に行うことができないので、デフォルトでは更新が無効になっています。
N: リポジトリの作成とユーザ設定の詳細は、apt-secure(8) man ページを参照してください。
root@kyo:/#
jin@kyo:~$ sudo pluma /etc/apt/sources.list
---------------------------------------------
# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20191116-09:57]/ buster contrib main non-free
# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20191116-09:57]/ buster contrib main non-free
deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb http://deb.debian.org/debian/ buster-backports main contrib non-free
deb-src http://deb.debian.org/debian/ buster-backports main contrib non-free
deb https://dl.winehq.org/wine-builds/debian/ buster main
# deb-src https://dl.winehq.org/wine-builds/debian/ buster main
---------------------------------------------
どこを、どのように修正したら良いのかわかりません。我不知道在哪里以及如何修復它。
Debian apt update GPG error
-
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
- astolia
- 论坛版主
- 帖子: 6542
- 注册时间: 2008-09-18 13:11
Re: Debian apt update GPG error
https://wiki.winehq.org/Debian より:
代码: 全选
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
-
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
Re: Debian apt update GPG error
jin@kyo:~$ wget -nc https://dl.winehq.org/wine-builds/winehq.keyastolia 写了: ↑2021-04-22 9:38 https://wiki.winehq.org/Debian より:代码: 全选
wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key
--2021-04-23 14:13:47-- https://dl.winehq.org/wine-builds/winehq.key
dl.winehq.org (dl.winehq.org) をDNSに問いあわせています... 151.101.90.217
dl.winehq.org (dl.winehq.org)|151.101.90.217|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 3220 (3.1K) [application/pgp-keys]
`winehq.key' に保存中
winehq.key 100%[===================>] 3.14K --.-KB/s 時間 0s
2021-04-23 14:13:47 (14.7 MB/s) - `winehq.key' へ保存完了 [3220/3220]
jin@kyo:~$ sudo apt-key add winehq.key
OK
jin@kyo:~$ sudo arch-chroot chroot
==> WARNING: chroot is not a mountpoint. This may have undesirable side effects.
root@kyo:/# apt update
ヒット:1 http://deb.debian.org/debian buster InRelease
取得:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
取得:3 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
取得:4 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
取得:5 https://dl.winehq.org/wine-builds/debian buster InRelease [6,259 B]
取得:6 http://deb.debian.org/debian buster-updates/main Sources.diff/Index [6,148 B]
取得:7 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [6,148 B]
取得:8 http://deb.debian.org/debian buster-updates/main Translation-en.diff/Index [4,180 B]
エラー:5 https://dl.winehq.org/wine-builds/debian buster InRelease
公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 76F1A20FF987672F
取得:9 http://deb.debian.org/debian buster-updates/main Sources 2021-04-22-1401.14.pdiff [985 B]
取得:10 http://deb.debian.org/debian buster-updates/main amd64 Packages 2021-04-22-1401.14.pdiff [1,996 B]
取得:9 http://deb.debian.org/debian buster-updates/main Sources 2021-04-22-1401.14.pdiff [985 B]
取得:10 http://deb.debian.org/debian buster-updates/main amd64 Packages 2021-04-22-1401.14.pdiff [1,996 B]
取得:11 http://deb.debian.org/debian buster-updates/main Translation-en 2021-04-22-1401.14.pdiff [1,408 B]
取得:11 http://deb.debian.org/debian buster-updates/main Translation-en 2021-04-22-1401.14.pdiff [1,408 B]
取得:12 http://security.debian.org/debian-security buster/updates/main Sources [180 kB]
取得:13 http://security.debian.org/debian-security buster/updates/main amd64 Packages [272 kB]
パッケージリストを読み込んでいます... 完了
W: GPG エラー: https://dl.winehq.org/wine-builds/debian buster InRelease: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 76F1A20FF987672F
E: リポジトリ https://dl.winehq.org/wine-builds/debian buster InRelease は署名されていません。
N: このようなリポジトリから更新を安全に行うことができないので、デフォルトでは更新が無効になっています。
N: リポジトリの作成とユーザ設定の詳細は、apt-secure(8) man ページを参照してください。
root@kyo:/#
GPG errorがまだ消えません。謝謝
- astolia
- 论坛版主
- 帖子: 6542
- 注册时间: 2008-09-18 13:11
Re: Debian apt update GPG error
これらのコマンドはchroot環境で実行する必要があります。つまり、sudo arch-chroot chrootを実行した後にこれらのコマンドを実行する
-
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
Re: Debian apt update GPG error
ああ、そういうことか!我理解了。
jin@kyo:~$ sudo apt update
ヒット:1 http://deb.debian.org/debian buster InRelease
取得:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
取得:3 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
ヒット:4 https://dl.winehq.org/wine-builds/debian buster InRelease
ヒット:5 http://dl.google.com/linux/chrome/deb stable InRelease
取得:6 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
ヒット:7 http://repo.radeon.com/rocm/apt/debian xenial InRelease
164 kB を 2秒 で取得しました (69.5 kB/s)
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
アップグレードできるパッケージが 12 個あります。表示するには 'apt list --upgradable' を実行してください。
jin@kyo:~$ apt list --upgradable
一覧表示... 完了
apt-transport-https/stable-updates,stable-updates 1.8.2.3 all [1.8.2.2 からアップグレード可]
apt-utils/stable-updates 1.8.2.3 amd64 [1.8.2.2 からアップグレード可]
apt/stable-updates 1.8.2.3 amd64 [1.8.2.2 からアップグレード可]
google-chrome-stable/stable 90.0.4430.85-1 amd64 [89.0.4389.82-1 からアップグレード可]
libapt-inst2.0/stable-updates 1.8.2.3 amd64 [1.8.2.2 からアップグレード可]
libapt-pkg5.0/stable-updates 1.8.2.3 amd64 [1.8.2.2 からアップグレード可]
libfaudio0/buster-backports 21.02-1~bpo10+1 amd64 [19.07-0~bionic からアップグレード可]
libfaudio0/buster-backports 21.02-1~bpo10+1 i386 [19.07-0~bionic からアップグレード可]
wine-stable-amd64/stable 6.0.0~buster-1 amd64 [5.0.2~buster からアップグレード可]
wine-stable-i386/stable 6.0.0~buster-1 i386 [5.0.2~buster からアップグレード可]
wine-stable/stable 6.0.0~buster-1 amd64 [5.0.2~buster からアップグレード可]
winehq-stable/stable 6.0.0~buster-1 amd64 [5.0.2~buster からアップグレード可]
jin@kyo:~$
「アップグレードできるパッケージ」はアップグレードするとOS のサイズが増えるのがイヤだから、
そのまま放置してもいいですか? 我不喜欢升级后OS的尺寸会增加
可以就那样放置吗?
jin@kyo:~$ sudo arch-chroot chroot
==> WARNING: chroot is not a mountpoint. This may have undesirable side effects.
root@kyo:/# wget -nc https://dl.winehq.org/wine-builds/winehq.key
--2021-04-23 08:29:39-- https://dl.winehq.org/wine-builds/winehq.key
dl.winehq.org (dl.winehq.org) をDNSに問いあわせています... 151.101.90.217
dl.winehq.org (dl.winehq.org)|151.101.90.217|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 3220 (3.1K) [application/pgp-keys]
`winehq.key' に保存中
winehq.key 100%[===================>] 3.14K --.-KB/s 時間 0s
2021-04-23 08:29:39 (10.7 MB/s) - `winehq.key' へ保存完了 [3220/3220]
root@kyo:/# apt-key add winehq.key
OK
root@kyo:/# apt update
取得:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
ヒット:2 http://deb.debian.org/debian buster InRelease
ヒット:3 http://deb.debian.org/debian buster-updates InRelease
取得:4 https://dl.winehq.org/wine-builds/debian buster InRelease [6,259 B]
取得:5 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
取得:6 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages [958 kB]
1,070 kB を 2秒 で取得しました (564 kB/s)
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
アップグレードできるパッケージが 68 個あります。表示するには 'apt list --upgradable' を実行してください。
root@kyo:/#
成功!!
- astolia
- 论坛版主
- 帖子: 6542
- 注册时间: 2008-09-18 13:11
-
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
Re: Debian apt update GPG error
astolia、onlylove、poloshio
因为有最棒而且亲切的老师们,所以我很幸福。有困难的话就提问就好了嘛。如果没有这些人的话,我会孤立无援地失去指南针,放弃在linux上提高。
astoliaさん、onlyloveさん、poloshiaoさん
等、最高かつ親切な先生たちがいるから、私は幸せだなあ。困ったら質問するだけでいいのだもの。もしこの人たちがいなかったら、私は孤立して羅針盤を失って、linuxにおいて向上しようとすることを諦めていた。
因为有最棒而且亲切的老师们,所以我很幸福。有困难的话就提问就好了嘛。如果没有这些人的话,我会孤立无援地失去指南针,放弃在linux上提高。
astoliaさん、onlyloveさん、poloshiaoさん
等、最高かつ親切な先生たちがいるから、私は幸せだなあ。困ったら質問するだけでいいのだもの。もしこの人たちがいなかったら、私は孤立して羅針盤を失って、linuxにおいて向上しようとすることを諦めていた。