# Error WHILE updating endeavouros-keyring

**URL:** <https://forum.endeavouros.com/t/error-while-updating-endeavouros-keyring/49308>\
**Category:** Pacman & AUR helpers\
**Created:** [December 24, 2023, 6:26am UTC](https://forum.endeavouros.com/t/error-while-updating-endeavouros-keyring/49308 "2023-12-24T06:26:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Souper](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/s/977dab/32.png) [@Souper](https://forum.endeavouros.com/u/Souper)\
**Post date:** [December 24, 2023, 6:26am UTC](https://forum.endeavouros.com/t/error-while-updating-endeavouros-keyring/49308/1 "2023-12-24T06:26:27Z")

</div>

Hi all!

I’ve got an odd issue. I haven’t used my machine in a while, so my packages are fairly out of date. When trying to update the packages, I got the usual “invalid or corrupted package” PGP errors like I usually do when it’s been a while since updating.

BUT, here’s what’s different. I am getting an “invalid or corrupted package” error WHILE running pacman -Sy endeavouros-keyring:

```auto
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] y

```

**I have already followed ALL of the steps listed in this article:** [https://discovery.endeavouros.com/signature-and-keyring/pacman-keyring-issues/2021/03/](https://discovery.endeavouros.com/signature-and-keyring/pacman-keyring-issues/2021/03/)

Nothing works!

The problem is, /var/cache/pacman/pkg/endeavouros-keyring-20231222-1-any.pkg.tar.zst **DOES NOT EXIST** when I try to delete it, and running the last command in that article (sudo pacman -U /var/cache/pacman/pkg/{archlinux,endeavouros}-keyring\*.pkg.tar.zst) says no matches are found.

What’s going on, fellas?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [December 24, 2023, 7:23am UTC](https://forum.endeavouros.com/t/error-while-updating-endeavouros-keyring/49308/2 "2023-12-24T07:23:04Z")

</div>

See if the following works:

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

```auto
sudo pacman -Sy endeavouros-keyring

```

When/if it get installed, restore the `SigLevel = PackageRequired` for [endeavouros] and proceed with updating your system:

`sudo pacman -Syu`

---

<div class="post-metadata">

**Author:** ![andrewb](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@andrewb](https://forum.endeavouros.com/u/andrewb)\
**Post date:** [December 24, 2023, 7:47am UTC](https://forum.endeavouros.com/t/error-while-updating-endeavouros-keyring/49308/3 "2023-12-24T07:47:59Z")

</div>

Your clock could be off. In a terminal, type `date`. Compare it with your mobile clock (go to seconds too)

---

<div class="post-metadata">

**Author:** ![Souper](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/s/977dab/32.png) [@Souper](https://forum.endeavouros.com/u/Souper)\
**Post date:** [December 24, 2023, 3:13pm UTC](https://forum.endeavouros.com/t/error-while-updating-endeavouros-keyring/49308/4 "2023-12-24T15:13:03Z")

</div>

@pebcak Wow, your solution totally worked. You’re a genius and a saint. Can you explain to me why that needed to be done to get it to work?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [December 24, 2023, 3:31pm UTC](https://forum.endeavouros.com/t/error-while-updating-endeavouros-keyring/49308/5 "2023-12-24T15:31:54Z")

</div>

> And if this _still_ doesn’t work, and **you trust that the packages are actually correct and not corrupt** and haven’t been interfered with, then you can force (re)installation of the keyring packages:
> 
> ```auto
> sudo pacman -U /var/cache/pacman/pkg/{archlinux,endeavouros}-keyring*.pkg.tar.zst
> 
> ```
> 
> [https://discovery.endeavouros.com/signature-and-keyring/pacman-keyring-issues/2021/03/](https://discovery.endeavouros.com/signature-and-keyring/pacman-keyring-issues/2021/03/)

We just disabled temporarily the signature check for that one package to get the keys installed.  
A sort of “workaround” somewhat similar to the suggestion in the wiki but since you didn’t have that package in the cache, it needed to be installed from the repo.

Just a reminder:

> [@pebcak](#):
>
> restore the `SigLevel = PackageRequired` for [endeavouros]

Glad you got it resolved and welcome to the community @Souper!

PS. please mark the relevant post leading to the solution as such. Perhaps other users facing the same issue in the future will find the suggestion useful.

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [December 26, 2023, 3:31pm UTC](https://forum.endeavouros.com/t/error-while-updating-endeavouros-keyring/49308/6 "2023-12-26T15:31:59Z")

</div>

Closed on December 26, 2023, 3:31pm UTC

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