팩맨 문제 - 지난 몇 달 동안 실패했습니다

팩맨 문제 - 지난 몇 달 동안 실패했습니다

Artix(Arch 기반) Linux를 업데이트하는 데 문제가 있습니다.

다음 명령을 사용하여 최신 미러 목록을 가져오고 팩맨을 시작합니다.

% sudo pacman -U ./artix-mirrorlist-20221209-1-any.pkg.tar.zst
% sudo mv /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist
% sudo pacman -Sy --needed archlinux-keyring
% sudo pacman -Syyu

과거에는 항상 성공했지만 지난 몇 달 동안 얻은 결과는 다음과 같습니다.

100  100k  100  100k    0     0   401k      0 --:--:-- --:--:-- --:--:--  402k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  471k  100  471k    0     0  1366k      0 --:--:-- --:--:-- --:--:-- 1370k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 40781  100 40781    0     0   188k      0 --:--:-- --:--:-- --:--:--  188k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  119k  100  119k    0     0   447k      0 --:--:-- --:--:-- --:--:--  449k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3975k  100 3975k    0     0   803k      0  0:00:04  0:00:04 --:--:--  649k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
....

이러한 상황은 오랫동안 지속되었습니다.

그렇다면 이것은 내 요구 사항입니다.

100 3040k  100 3040k    0     0  4355k      0 --:--:-- --:--:-- --:--:-- 4355k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 52477  100 52477    0     0   249k      0 --:--:-- --:--:-- --:--:--  251k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  237k  100  237k    0     0   817k      0 --:--:-- --:--:-- --:--:--  819k
 Total (   0/1193)                                                                                1969.9 MiB   482 KiB/s 69:44 [----------------------------------------------------------------------------] 100%
(1193/1193) checking keys in keyring                                                                                           [----------------------------------------------------------------------------] 100%
(1193/1193) checking package integrity                                                                                         [----------------------------------------------------------------------------] 100%
error: archlinux-keyring: signature from "Dudemanguy <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20220927-1.1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: coin: signature from "Alexander F. Rødseth <[email protected]>" is marginal trust
:: File /var/cache/pacman/pkg/coin-4.0.0.04c190-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: med-openmpi: signature from "Alexander F. Rødseth <[email protected]>" is marginal trust
:: File /var/cache/pacman/pkg/med-openmpi-4.1.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: python-pivy: signature from "Alexander F. Rødseth <[email protected]>" is marginal trust
:: File /var/cache/pacman/pkg/python-pivy-0.6.8-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libreoffice-fresh: signature from "Dudemanguy <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libreoffice-fresh-7.4.1-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

나는 이 질문들에 대해 다른 답을 주려고 노력했지만 결과는 항상 같았습니다.

내가 뭘 잘못했나요?

답변1

키링이 오래되어 키링이 없으면 패키지를 인증할 수 없습니다. 일반적으로 업그레이드하기 전에 먼저 최신 archlinux-keyring을 얻어야 합니다:

% sudo pacman -Sy --needed archlinux-keyring
% sudo pacman -Su

부분 업그레이드를 피하려면 항상 즉시 실행하십시오.

pacman-key --refresh-key루트로 이 작업을 수행 할 수도 있지만 키 서버는 archlinux-keyring최신 패키지를 설치하는 것보다 오류가 발생하기 쉬운 경향이 있습니다.

관련 정보