Arcloinux가 포함된 상자가 있는데(제 생각에는) 팩맨이 더 이상 시스템 업데이트를 허용하지 않습니다. 다음과 같은 결과가 나타납니다.
sudo pacman -Syu
[sudo] password for user:
error: arcolinux_repo: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" is unknown
:: Import PGP key 93D1CCB2B2421F4B1CD0489774F5DE85A506BF64? [Y/n]
error: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" could not be looked up remotely
error: arcolinux_repo_3party: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" is unknown
:: Import PGP key 93D1CCB2B2421F4B1CD0489774F5DE85A506BF64? [Y/n]
error: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" could not be looked up remotely
error: arcolinux_repo_xlarge: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" is unknown
:: Import PGP key 93D1CCB2B2421F4B1CD0489774F5DE85A506BF64? [Y/n]
error: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" could not be looked up remotely
:: Synchronizing package databases...
arcolinux_repo 92.1 KiB 52.3 KiB/s 00:02 [-----------------------------------------------] 100%
arcolinux_repo_3party 165.9 KiB 470 KiB/s 00:00 [-----------------------------------------------] 100%
arcolinux_repo_xlarge 28.5 KiB 165 KiB/s 00:00 [-----------------------------------------------] 100%
core 135.9 KiB 327 KiB/s 00:00 [-----------------------------------------------] 100%
extra 1572.6 KiB 3.63 MiB/s 00:00 [-----------------------------------------------] 100%
community 5.8 MiB 3.87 MiB/s 00:01 [-----------------------------------------------] 100%
multilib 149.4 KiB 1940 KiB/s 00:00 [-----------------------------------------------] 100%
error: failed retrieving file 'arcolinux_repo.db' from bike.seedhost.eu : The requested URL returned error: 404
error: failed retrieving file 'arcolinux_repo_3party.db' from bike.seedhost.eu : The requested URL returned error: 404
error: failed retrieving file 'arcolinux_repo_xlarge.db' from bike.seedhost.eu : The requested URL returned error: 404
warning: too many errors from bike.seedhost.eu, skipping for the remainder of this transaction
error: arcolinux_repo: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" is unknown
:: Import PGP key 93D1CCB2B2421F4B1CD0489774F5DE85A506BF64? [Y/n]
error: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" could not be looked up remotely
error: arcolinux_repo_3party: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" is unknown
:: Import PGP key 93D1CCB2B2421F4B1CD0489774F5DE85A506BF64? [Y/n]
error: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" could not be looked up remotely
error: arcolinux_repo_xlarge: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" is unknown
:: Import PGP key 93D1CCB2B2421F4B1CD0489774F5DE85A506BF64? [Y/n]
error: key "93D1CCB2B2421F4B1CD0489774F5DE85A506BF64" could not be looked up remotely
error: failed to synchronize all databases (unexpected error)
이 문제를 어떻게 해결할 수 있나요?
나는 Ibn Fulan의 제안을 시도했습니다.
[user@OldNotebook ~]$ sudo pacman-keyring --init
sudo: pacman-keyring: command not found
[user@OldNotebook ~]$ sudo pacman-keyring --populate
sudo: pacman-keyring: command not found
[user@OldNotebook ~]$ sudo pacman -S archlinux-keyring
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
core/archlinux-keyring 20210616-1 20210902-1 0.03 MiB
Total Installed Size: 1.35 MiB
Net Upgrade Size: 0.03 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [---------------------------------------] 100%
downloading required keys...
:: Import PGP key 6D42BDD116E0068F, "Christian Hesse <[email protected]>"? [Y/n]
error: key "6D42BDD116E0068F" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
[user@OldNotebook ~]$ sudo pacman -U arcolinux-keyring-20230919-6-any.pkg.tar.zst
loading packages...
error: 'arcolinux-keyring-20230919-6-any.pkg.tar.zst': could not find or read package
링크에서 패키지를 다운로드한 후 다음을 얻습니다.
sudo pacman -U arcolinux-keyring-20230919-6-any.pkg.tar.zst
[sudo] password for ron:
loading packages...
warning: arcolinux-keyring-20230919-6 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
arcolinux-keyring 20230919-6 20230919-6 0.00 MiB
Total Installed Size: 0.01 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [---------------------------------------] 100%
(1/1) checking package integrity [---------------------------------------] 100%
(1/1) loading package files [---------------------------------------] 100%
(1/1) checking for file conflicts [---------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling arcolinux-keyring [---------------------------------------] 100%
>>> Run `pacman-key --init` to set up your pacman keyring.
>>> Then run `pacman-key --populate arcolinux` to install the ArcoLinux keyring.
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
ron@OldNotebook ~/Downloads> sudo pacman-key --init
gpg: checking the trustdb
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keyring_get_keyblock failed: Invalid keyring
gpg: failed to rebuild keyring cache: Invalid keyring
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: public key of ultimately trusted key 72964CF74904979E not found
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: public key of ultimately trusted key 22031265073BFB70 not found
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keydb_get_keyblock failed: Invalid keyring
gpg: validate_key_list failed
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keydb_get_keyblock failed: Invalid keyring
sudo pacman-key --populate
이렇게 하면 오류가 더 많이 발생합니다.sudo pacman-key --populate arcolinux
답변1
문제는 서명 키가 없거나 팩맨에 채워져 있지 않다는 것입니다. 키링 업데이트
sudo pacman-key --init
sudo pacman-key --populate
그래도 안되면 최신버전을 다운 받으세요arcolinux-keyring
패키지하고 설치합니다.
sudo pacman -U arcolinux-keyring-20230919-6-any.pkg.tar.zst
처음 두 명령을 반복하십시오.
편집: 왜 설치하려고 했는지 잘 모르겠지만 archlinux-keyring
(Arco와 Arch는 서로 다릅니다) 이 버전도 오래된 것으로 나타났습니다. 수동 설치, 다운로드archlinux-keyring
그리고 사용
pacman -U archlinux-keyring-20210902-1-any.pkg.tar.zst
또한 Linux를 처음 사용하는 경우 먼저 cd
패키지를 다운로드한 디렉터리에 있어야 하며 pacman -U <package name>
명령을 실행해야 합니다.