나는 kali linux 2024.1을 사용하고 있습니다. source.list 저장소에 문제가 있어서 해결할 수 없습니다. 전체 apt 파일을 삭제하고 Gitlab의 kali 패키지에서 다시 교체하면 작동하지 않는다고 생각합니다. apt.conf가 없습니다. kali iso 이미지를 추출하고 dpkg -i를 사용하여 apt.deb 파일을 설치해 보았습니다. apt.conf 누락 문제와 함께 작동한 다음 source.list 및 source.list.d를 수동으로 추가했습니다. 다시 시도했습니다. sudo apt update, sudo apt -get 업데이트 내용은 다음과 같습니다.
GPG error: http://kali.download/kali kali-rolling InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6
E: The repository 'http://http.kali.org/kali kali-rolling 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: http://kali.download/kali kali-bleeding-edge InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6
E: The repository 'http://http.kali.org/kali kali-bleeding-edge 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: http://kali.download/kali kali-experimental InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6
E: The repository 'http://http.kali.org/kali kali-experimental 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.
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
도와주세요 큰 문제가 생겼어요
답변1
콘솔을 열고 다음 두 명령을 실행하십시오.
sudo gpg --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6
sudo gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add -
다음에서 발췌 및 수정됨:
https://forums.kali.org/showthread.php?18079-Public-key-error