I am receiving invalid or corrupted package error (PGP signature)

The following is the output of “yay” command that is used to update my system. This output is also received when i used “sudo pacman -Syu” command.

error: endeavouros-mirrorlist: signature from “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-mirrorlist-23.4-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 “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-theming-22.12.3.3-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: welcome: signature from “manuel manuel@endeavouros.com” is unknown trust
:: File /var/cache/pacman/pkg/welcome-3.64-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.0.5-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.
→ error installing repo packages

I tried to run the following commands

  1. sudo pacman -Scc
  2. sudo pacman -Sy
  3. sudo pacman -Syu

but the same error is received

What to do next ?

  1. Welcome :partying_face:

  2. Please read this:

3 Likes

I would do: sudo pacman -Sy endeavouros-keyring && sudo pacman -Su first.

If that won’t resolve the issue, then follow the instructions in the link posted.

3 Likes

Thank you sir,
it worked seamlessly.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.