Pacman -Syu corrupted package (PGP signature)

Here is the error logs

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 eos-translations-24.2-1-any      85.4 KiB  33.0 KiB/s 00:03 [--------------------------------] 100%
 yad-13.0-2.1-x86_64             220.9 KiB  57.4 KiB/s 00:04 [--------------------------------] 100%
 eos-apps-info-24.2-1-any        322.9 KiB  71.8 KiB/s 00:04 [--------------------------------] 100%
 eos-bash-shared-24.8-1-any       54.7 KiB  41.6 KiB/s 00:01 [--------------------------------] 100%
 eos-quickstart-1.3.1-2-x86_64    49.1 KiB  27.0 KiB/s 00:02 [--------------------------------] 100%
 welcome-24.3-1-any               36.4 KiB  25.4 KiB/s 00:01 [--------------------------------] 100%
 eos-update-notifier-24.1-1-any   25.1 KiB  26.6 KiB/s 00:01 [--------------------------------] 100%
 reflector-simple-2023-4-any      21.6 KiB  18.5 KiB/s 00:01 [--------------------------------] 100%
 endeavouros-keyring-202312...    21.1 KiB  14.7 KiB/s 00:01 [--------------------------------] 100%
 eos-rankmirrors-24.2-1-any       20.1 KiB  15.6 KiB/s 00:01 [--------------------------------] 100%
 eos-log-tool-23-3-any            18.6 KiB  14.9 KiB/s 00:01 [--------------------------------] 100%
 kernel-install-for-dracut-...    18.3 KiB  12.0 KiB/s 00:02 [--------------------------------] 100%
 eos-packagelist-2.2-1-any        13.0 KiB  8.71 KiB/s 00:01 [--------------------------------] 100%
 endeavouros-mirrorlist-24....    11.7 KiB  9.64 KiB/s 00:01 [--------------------------------] 100%
 eos-hooks-1.15-1-any             11.1 KiB  8.59 KiB/s 00:01 [--------------------------------] 100%
 yay-12.2.0-1-x86_64               3.0 MiB   161 KiB/s 00:19 [--------------------------------] 100%
 endeavouros-theming-23.11....    20.5 MiB   263 KiB/s 01:20 [--------------------------------] 100%
 Total (17/17)                    24.4 MiB   312 KiB/s 01:20 [--------------------------------] 100%
(539/539) checking keys in keyring                           [--------------------------------] 100%
(539/539) checking package integrity                         [--------------------------------] 100%
error: endeavouros-keyring: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-keyring-20231222-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: endeavouros-mirrorlist: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-mirrorlist-24.2-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: endeavouros-theming: signature from "EndeavourOS <info@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-theming-23.11.2.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: eos-translations: signature from "EndeavourOS <info@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-translations-24.2-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: yad: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/yad-13.0-2.1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: eos-bash-shared: signature from "EndeavourOS <info@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-bash-shared-24.8-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: eos-apps-info: signature from "EndeavourOS <info@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-apps-info-24.2-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: eos-hooks: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-hooks-1.15-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: eos-log-tool: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-log-tool-23-3-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: eos-packagelist: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-packagelist-2.2-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: eos-quickstart: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-quickstart-1.3.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: eos-rankmirrors: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-rankmirrors-24.2-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: eos-update-notifier: signature from "EndeavourOS <info@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-update-notifier-24.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: kernel-install-for-dracut: signature from "EndeavourOS <info@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/kernel-install-for-dracut-1.10.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: reflector-simple: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/reflector-simple-2023-4-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: welcome: signature from "EndeavourOS <info@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/welcome-24.3-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: yay: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/yay-12.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

Here is what i have try to solve by google / chatgpt

sudo pacman -Sy endeavouros-keyring && sudo pacman -Syu

i also try arch linux keyring but does’t work

sudo pacman -Sy archlinux-keyring
sudo pacman -Syu

I try to remove the corrupt files by using this commands but dosen’t work

sudo rm -rf \
/var/cache/pacman/pkg/endeavouros-keyring-20231222-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/endeavouros-mirrorlist-24.2-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/endeavouros-theming-23.11.2.1-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/eos-translations-24.2-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/yad-13.0-2.1-x86_64.pkg.tar.zst \
/var/cache/pacman/pkg/eos-bash-shared-24.8-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/eos-apps-info-24.2-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/eos-hooks-1.15-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/eos-log-tool-23-3-any.pkg.tar.zst \
/var/cache/pacman/pkg/eos-packagelist-2.2-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/eos-quickstart-1.3.1-2-x86_64.pkg.tar.zst \
/var/cache/pacman/pkg/eos-rankmirrors-24.2-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/eos-update-notifier-24.1-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/kernel-install-for-dracut-1.10.1-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/reflector-simple-2023-4-any.pkg.tar.zst \
/var/cache/pacman/pkg/welcome-24.3-1-any.pkg.tar.zst \
/var/cache/pacman/pkg/yay-12.2.0-1-x86_64.pkg.tar.zst

This is fresh install using iso offline mode i download during early 2023

not sure if this help but here is neofetch info

  • OS: EndeavourOS Linux x86_64
  • Kernel: 6.3.4-arch1-1

This is a rather old ISO.

I would suggest using the latest iteration which can be obtained here:

https://endeavouros.com/#Download

1 Like

i decided to follow your advice and i install my old ISO to VM and follow the same step that i do above and its work just fine.

not sure what the problem :sweat_smile:

1 Like

I am not sure I understand. Are you saying your problem is solved now?

If not try running sudo eos-update

He’s saying that he installed the same ISO inside a VM but wasn’t able to reproduce the issue he’s having in the VM.

So there are cases where you won’t be able to use the below to get past an out of date keyring. I actually had this happen on the weekend while trying to update a laptop which has not been updated for 6 months.

sudo pacman -Sy archlinux-keyring endeavouros-keyring

The Solution:

  1. Set temporarily SigLevel = Never for [endeavouros] in /etc/pacman.conf and run:

  2. Run:

sudo pacman -Sy endeavouros-keyring
  1. When/if it get installed, restore the SigLevel = PackageRequired for [endeavouros] and proceed with updating your system:
sudo pacman -Syu

Maybe lesson of the day, always get the latest ISO before installing.

Source:

https://discovery.endeavouros.com/signature-and-keyring/pacman-keyring-issues/2021/03/

1 Like