
나는 리눅스를 처음 접하는 사람으로서 당신의 도움이 정말로 필요합니다.
trusted.gpg.d
에 있는 폴더를 삭제 /etc/apt/
하고 /etc/apt/sources.list.d
.
이제 업데이트하려고 하면 다음 오류가 발생합니다.
Err:2 LINKpt.archive.ubuntu.com/ubuntu focal-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY **<My_Key_Missingg1>** NO_PUBKEY **<My_Key_Missingg2>**
Err:3 LINKpt.archive.ubuntu.com/ubuntu focal-backports InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY **<My_Key_Missingg1>** NO_PUBKEY **<My_Key_Missingg2>**
Err:4 LINKpt.archive.ubuntu.com/ubuntu focal-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY **<My_Key_Missingg1>** NO_PUBKEY **<My_Key_Missingg2>**
Err:5 LINKppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY **<My_Key_Missingg3>**
Get:9 LINKmaven.xwiki.org stable/ Packages [352 kB]
Reading package lists... Done
W: GPG error: LINKpt.archive.ubuntu.com/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY **<My_Key_Missingg1>** NO_PUBKEY **<My_Key_Missingg2>**
E: The repository 'LINKpt.archive.ubuntu.com/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: GPG error: LINKpt.archive.ubuntu.com/ubuntu focal-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY **<My_Key_Missingg1>** NO_PUBKEY **<My_Key_Missingg2>**
E: The repository 'LINKpt.archive.ubuntu.com/ubuntu focal-updates 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: GPG error: LINKpt.archive.ubuntu.com/ubuntu focal-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY **<My_Key_Missingg1>** NO_PUBKEY **<My_Key_Missingg2>**
E: The repository 'LINKpt.archive.ubuntu.com/ubuntu focal-backports 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: GPG error: LINKpt.archive.ubuntu.com/ubuntu focal-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY **<My_Key_Missingg1>** NO_PUBKEY **<My_Key_Missingg2>**
E: The repository 'LINKpt.archive.ubuntu.com/ubuntu focal-security 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: GPG error: LINKppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY **<My_Key_Missingg3>**
E: The repository 'http://ppa.launchpad.net/webupd8team/y-ppa-manager/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.
메모 -이 질문을 제출할 수 있도록 http://를 LINK로 변경했습니다.
나는 다음과 같은 많은 제안을 시도했습니다.
1 - apt install extundelete
파일을 복구합니다. 그리고 다음 오류가 발생합니다.E: Unable to locate package extundelete
2 - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys **<MY KEY>**
(hkp://를 사용하거나 사용하지 않고 시도했습니다)
3 - apt-get install ubuntu-keyring
NO_PUBKEYS에 대한 유사한 오류
4 - gpg --keyserver pgpkeys.mit.edu --recv-key **<MY KEY>**
gpg -a --export **<MY KEY>** | sudo apt-key add
. 오류가 발생했습니다.gpg: keyserver receive failed: End of file; gpg: WARNING: nothing exported gpg: .: read error: Is a directory gpg: no valid OpenPGP data found.
5- 나는 이미 이것을 너무 성공적으로 사용하지 못했습니다.
sudo apt update 2>&1 1>/dev/null | sed -ne 's/.*NO_PUBKEY //p' | while read key; do if ! [[ ${keys[*]} =~ "$key" ]]; then sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys "$key"; keys+=("$key"); fi; done
누구든지 저를 도와주실 수 있나요?