Corrupted PGP signature

Did an online install today and it failed with the following error:

2024-12-02 - 12:23:36 [6]: [PYTHON JOB]: "pacstrap: error: gcc: signature from \"Frederik Schwan <frederik.schwan@linux.com>\" is invalid" 
2024-12-02 - 12:23:36 [6]: [PYTHON JOB]: "pacstrap: :: File /var/cache/pacman/pkg/gcc-14.2.1+r134+gab884fffe3fc-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature))." 
2024-12-02 - 12:23:36 [6]: [PYTHON JOB]: "pacstrap: Do you want to delete it? [Y/n] error: failed to commit transaction (invalid or corrupted package)" 
2024-12-02 - 12:23:36 [6]: [PYTHON JOB]: "pacstrap: Errors occurred, no packages were upgraded." 
2024-12-02 - 12:23:36 [6]: [PYTHON JOB]: "pacstrap: ==> ERROR: Failed to install packages to new root"

Full log here.

Did you check integrity of the downloaded image as instructed in the download page?

Looks like your keyring is not up to date.
Is your system up to date? what does yay -Syyu say?
Which keyring version have you installed? pacman -Q | grep keyring

@matthewdavis is talking about ISO and initial install…

I will check if there is a general issue with the ISO but i bet this is a hikup caused by inconsistent mirror in the list…

Do you try to use mirror ranking from welcome before starting installer?

Correct, this is an ISO install using the online install, which I have installed from once or twice in the past using this very same usb stick.

  • I ran the installer multiple times (3-4 I believe) with the same outcome, so multiple rankmirror attempts all with the same outcome.
  • I even attempted to update the keyring attempting to both update the key’s with (–refresh-keys) and updating the individual packages archlinux-keyring & endeavouros-keyring. Both were unsuccessful.

Only way I was able to install was to do an offline install and updated afterwards.

Edit: to answer your question directly, I did not attempt to update the mirror list outside of the installer, as I felt it was redundant. If I need to re-install and the problem has not been identified, I’ll try that.

so thats an old ISO on this stick or the latest?

This is always recommended in case you have issues with getting packages or slow download while installing the OS, the installer is ranking internal, but thats not perfect in all cases, doing it before starting the installer is known to resolve most of such issues.

1 Like

It’s the Neo ISO (I’ve re-installed a handful of time recently).

mdavis@matt-desktop: /run/media/mdavis/EOS_202409 $ ll arch/
2880 dr-xr-xr-x mdavis mdavis 2.0 KB Sun Sep 22 06:47:16 2024  .
2752 dr-xr-xr-x mdavis mdavis 2.0 KB Sun Sep 22 06:47:16 2024  ..
2944 dr-xr-xr-x mdavis mdavis 2.0 KB Sun Sep 22 06:47:15 2024  boot
2889 .r--r--r-- mdavis mdavis 1.0 KB Sun Sep 22 06:47:15 2024  grubenv
2893 .r--r--r-- mdavis mdavis  20 KB Sun Sep 22 06:47:15 2024  pkglist.x86_64.txt
2897 .r--r--r-- mdavis mdavis  11 B  Sun Sep 22 06:47:15 2024  version
3264 dr-xr-xr-x mdavis mdavis 2.0 KB Sun Sep 22 06:51:22 2024  x86_64