GPGME 오류 문제를 해결해야 합니다. 아무것도 업그레이드하거나 설치할 수 없습니다. 이것이 내가 터미널에서 얻는 것입니다:
sudo pacman -Syyu
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
core 1424.0 B 0.00B/s 00:00 [######################] 100%
core.sig 1424.0 B 0.00B/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
extra 1424.0 B 0.00B/s 00:00 [######################] 100%
extra.sig 1424.0 B 0.00B/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update extra (invalid or corrupted database (PGP signature))
community 1424.0 B 0.00B/s 00:00 [######################] 100%
community.sig 1424.0 B 0.00B/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update community (invalid or corrupted database (PGP signature))
archlinuxfr 7.8 KiB 0.00B/s 00:00 [######################] 100%
나는 많은 해결 방법을 시도했지만 아무것도 도움이 되지 pacman-key --init
않았습니다 pacman-key --populate archlinux
.
코어와 커뮤니티를 편집 etc/pacman.conf
하고 삽입 SigLevel = Never
하면 다음과 같은 결과가 나타납니다.
sudo pacman -Syyu
:: Synchronizing package databases...
core 1424.0 B 348K/s 00:00 [######################] 100%
extra 1424.0 B 0.00B/s 00:00 [######################] 100%
community 1424.0 B 0.00B/s 00:00 [######################] 100%
archlinuxfr 7.8 KiB 2.55M/s 00:00 [######################] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
there is nothing to do
답변1
해결되었습니다!
마침내 문제를 해결할 수 있었습니다. 나는 내가 하는 일에 대해 글을 쓴다.
sudo rm /var/lib/pacman/sync/*db.sig*
편집하고 주석 해제:
sudo nano /etc/pacman.d/mirrorlist
## Germany
Server = http://archlinux32.vollzornbrot.de/$arch/$repo
Server = https://archlinux32.vollzornbrot.de/$arch/$repo
Server = http://mirror.archlinux32.org/$arch/$repo
Server = https://mirror.archlinux32.org/$arch/$repo
# note: you need to resolve via openNIC (or similar) to access the next mirror
#Server = http://mirror.archlinux32.oss/$arch/$repo
그 다음에:
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman -Syy
sudo pacman -Syyu
완벽한!