Error by update

Fehler: linux-cachyos-lts: Signatur von “CachyOS admin@cachyos.org” ist ungültig
:: Datei /var/cache/pacman/pkg/linux-cachyos-lts-6.18.28-1-x86_64_v4.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n]
Fehler: linux-cachyos-lts-headers: Signatur von “CachyOS admin@cachyos.org” ist ungültig
:: Datei /var/cache/pacman/pkg/linux-cachyos-lts-headers-6.18.28-1-x86_64_v4.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n]
Fehler: linux-cachyos-lts-nvidia-open: Signatur von “CachyOS admin@cachyos.org” ist ungültig
:: Datei /var/cache/pacman/pkg/linux-cachyos-lts-nvidia-open-6.18.28-1-x86_64_v4.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n]
Fehler: Der Vorgang konnte nicht durchgeführt werden (Ungültiges oder beschädigtes Paket)
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.

is therw a solution?

Have you tried any of the related threads?

https://discuss.cachyos.org/search?q=signature%20is%20invalid%20PGP%20order%3Alatest

you mean this?
sudo pacman -Sy archlinux-keyring
thats not working.

Try

sudo pacman -Sy cachyos-keyring

then.

this also not
sudo pacman -Sy cachyos-keyring

I have the same problem

deletet with sudo rm -rf /etc/pacman.d/gnupg/

after that i had a new error with my mega repo

installed with sudo pacman -Sy cachyos-keyring

refreshed the mirrors, but the error is not gone

The point was to use the search feature.

Heres another one from 5 days ago that goes over just about all of the possibilities if something is actually out-of-whack on the local system;

Though if this is a constant issue for you you might consider some other things like network reliability, frequency of update, or pacman or other configurations.. etc.

I wonder how the error came about on my end. It’s a test system. I only use it now and then. The last time I was on it was to update it. A restart and then into the other OS. It’s very strange indeed.

I’ll have a go tomorrow. I’m too tired now… Thanks for the advice. The search didn’t turn anything up for me, somehow.

Same issue here, nothing i found online worked

I’m also having the exact same issue with the same packages, two hours after you posted, and resetting keyrings, refreshing mirrors, and deleting pacman cache did not work.

Thats .. just a worse way of performing sudo pacman -Scc.

So does that include

Hm, tried all of that and it still did not work. Ty for the continued assistance in this thread tho. Seeing as multiple users are getting the same issue around the same time, do you think it’s a bug of some sort or some other issues?

What is the output when running the update now?

sudo pacman -Syu

buenas tengo el mismo problema como se debe proceder

linux-cachyos-lts-headers-6.18.28-1-x86_64_v4                     29.9 MiB  37.1 MiB/s 00:01 \[------------------------------------------------------\] 100% 
 linux-cachyos-lts-nvidia-open-6.18.28-1-x86_64_v4                  8.2 MiB  9.60 MiB/s 00:01 \[------------------------------------------------------\] 100% 
 linux-cachyos-lts-6.18.28-1-x86_64_v4                            148.1 MiB  62.6 MiB/s 00:02 \[------------------------------------------------------\] 100% 
 Total (6/6)                                                      218.4 MiB  91.6 MiB/s 00:02 \[------------------------------------------------------\] 100% 
(6/6) checking keys in keyring                                                                \[------------------------------------------------------\] 100% 
(6/6) checking package integrity                                                              \[------------------------------------------------------\] 100% 
**error:** linux-cachyos-lts: signature from "CachyOS <admin@cachyos.org>" is invalid 
**:: File /var/cache/pacman/pkg/linux-cachyos-lts-6.18.28-1-x86_64_v4.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).** 
**Do you want to delete it? \[Y/n\]** y 
**error:** linux-cachyos-lts-headers: signature from "CachyOS <admin@cachyos.org>" is invalid 
**:: File /var/cache/pacman/pkg/linux-cachyos-lts-headers-6.18.28-1-x86_64_v4.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).** 
**Do you want to delete it? \[Y/n\]** y 
**error:** linux-cachyos-lts-nvidia-open: signature from "CachyOS <admin@cachyos.org>" is invalid 
**:: File /var/cache/pacman/pkg/linux-cachyos-lts-nvidia-open-6.18.28-1-x86_64_v4.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).** 
**Do you want to delete it? \[Y/n\]**

I’m having the same problem, since yesterday. The only packages that fail are linux-cachyos-lts*

Maybe the problem is in the repo. Is anyone able to upgrade these packages?

Running pacman -Syu --ignore “linux-cachyos-lts*” successfully upgraded all other packages.

~ >>> sudo pacman -Syu --ignore "linux-cachyos-lts*"                                                                                                                                                   
:: Synchronizing package databases...
 cachyos-v4 is up to date
 cachyos-core-v4 is up to date
 cachyos-extra-v4 is up to date
 cachyos is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: linux-cachyos-lts: ignoring package upgrade (6.18.26-1 => 6.18.28-1)
warning: linux-cachyos-lts-headers: ignoring package upgrade (6.18.26-1 => 6.18.28-1)
resolving dependencies...
looking for conflicting packages...

Package (64)                               Old Version   New Version   Net Change

cachyos-extra-v4/ark                       26.04.0-1.1   26.04.1-1.1     0.03 MiB
cachyos-extra-v4/at-spi2-core              2.60.2-1.1    2.60.3-1.1      0.05 MiB
cachyos-extra-v4/baloo-widgets             26.04.0-1.1   26.04.1-1.1     0.00 MiB
cachyos-extra-v4/clang                     22.1.3-1.1    22.1.5-1.1      8.24 MiB
extra/code                                 1.118.1-1.1   1.119.0-1      -0.51 MiB
cachyos-extra-v4/compiler-rt               22.1.3-1.1    22.1.5-1.1      1.32 MiB
cachyos-extra-v4/dolphin                   26.04.0-1.1   26.04.1-1.1    -0.02 MiB
cachyos-extra-v4/feh                       3.12.1-1.1    3.12.2-1.1      0.01 MiB
cachyos-extra-v4/ffmpegthumbs              26.04.0-1.1   26.04.1-1.1     0.00 MiB
cachyos-extra-v4/filelight                 26.04.0-1.1   26.04.1-1.1     0.01 MiB
extra/fish                                 4.7.0-1       4.7.1-1         0.00 MiB
cachyos-extra-v4/gwenview                  26.04.0-1.1   26.04.1-1.1     0.04 MiB
cachyos-extra-v4/kaccounts-integration     26.04.0-1.1   26.04.1-1.1     0.01 MiB
cachyos-extra-v4/kate                      26.04.0-1.1   26.04.1-1.1    -0.02 MiB
cachyos-extra-v4/kcalc                     26.04.0-1.1   26.04.1-1.1     0.01 MiB
cachyos-extra-v4/kdeconnect                26.04.0-1.1   26.04.1-1.1     0.03 MiB
cachyos-extra-v4/kdegraphics-mobipocket    26.04.0-1.1   26.04.1-1.1     0.01 MiB
cachyos-extra-v4/kdegraphics-thumbnailers  26.04.0-1.1   26.04.1-1.1     0.00 MiB
cachyos-extra-v4/kdialog                   26.04.0-1.1   26.04.1-1.1     0.02 MiB
cachyos-extra-v4/kicad                     10.0.1-2.1    10.0.2-1.1     12.89 MiB
extra/kicad-library                        10.0.1-1      10.0.2-1        0.04 MiB
extra/kicad-library-3d                     10.0.1-1      10.0.2-1        0.12 MiB
cachyos-extra-v4/kio-admin                 26.04.0-1.1   26.04.1-1.1     0.00 MiB
cachyos-extra-v4/kio-extras                26.04.0-1.1   26.04.1-1.1     0.02 MiB
cachyos-extra-v4/konsole                   26.04.0-1.1   26.04.1-1.1     0.01 MiB
cachyos-extra-v4/krdc                      26.04.0-1.1   26.04.1-1.1    -0.01 MiB
cachyos-extra-v4/kwalletmanager            26.04.0-1.1   26.04.1-1.1     0.00 MiB
multilib/lib32-at-spi2-core                2.60.2-1      2.60.3-1        0.01 MiB
multilib/lib32-clang                       22.1.3-1      22.1.5-1        1.84 MiB
multilib/lib32-libgpg-error                1.60-1        1.61-1          0.00 MiB
multilib/lib32-llvm-libs                   1:22.1.3-1    1:22.1.5-1      2.79 MiB
cachyos/lib32-mesa                         2:26.0.6-2    2:26.1.0-1      1.61 MiB
cachyos/lib32-opencl-mesa                  2:26.0.6-2    2:26.1.0-1      1.67 MiB
cachyos/lib32-vulkan-mesa-implicit-layers  2:26.0.6-2    2:26.1.0-1      0.00 MiB
cachyos/lib32-vulkan-radeon                2:26.0.6-2    2:26.1.0-1      0.66 MiB
extra/libclc                               22.1.3-1      22.1.5-1        0.00 MiB
cachyos-core-v4/libgpg-error               1.60-1.1      1.61-1.1        0.01 MiB
extra/libkdcraw                            26.04.0-1     26.04.1-1       0.00 MiB
cachyos-extra-v4/libkexiv2                 26.04.0-1.1   26.04.1-1.1     0.02 MiB
cachyos-v4/linux-cachyos                   7.0.3-1       7.0.5-1         0.00 MiB
cachyos-v4/linux-cachyos-headers           7.0.3-1       7.0.5-1         2.02 MiB
cachyos-extra-v4/lld                       22.1.3-1.1    22.1.5-1.1      0.22 MiB
extra/llvm                                 22.1.3-1      22.1.5-1        1.82 MiB
extra/llvm-libs                            22.1.3-1      22.1.5-1        3.60 MiB
cachyos-extra-v4/mercurial                 7.2.1-1.1     7.2.2-1.1       0.11 MiB
cachyos/mesa                               2:26.0.6-2    2:26.1.0-1      2.21 MiB
extra/nodejs                               25.9.0-1      26.1.0-1        5.58 MiB
extra/npm                                  11.13.0-1     11.14.1-1       0.04 MiB
cachyos-extra-v4/okular                    26.04.0-1.1   26.04.1-1.1     0.01 MiB
cachyos/opencl-mesa                        2:26.0.6-2    2:26.1.0-1      2.20 MiB
cachyos-extra-v4/openmp                    22.1.3-1.1    22.1.5-1.1      0.09 MiB
cachyos-extra-v4/openxr                    1.1.58-2.1    1.1.59.1-1.1    0.25 MiB
extra/prusa-slicer                         2.9.4-9       2.9.4-10        0.48 MiB
extra/python-gobject                       3.56.2-1      3.56.3-1        0.01 MiB
extra/python-urllib3                       2.6.3-1       2.7.0-1         0.00 MiB
extra/qca-qt6                              2.3.10-5      2.3.10-6        0.05 MiB
cachyos-extra-v4/rdma-core                 62.0-1.1      63.0-1.1        0.32 MiB
cachyos-extra-v4/signon-kwallet-extension  26.04.0-1.1   26.04.1-1.1     0.00 MiB
cachyos-extra-v4/vim                       9.2.0437-1.1  9.2.0450-1.1    0.00 MiB
cachyos-extra-v4/vim-runtime               9.2.0437-1.1  9.2.0450-1.1    0.00 MiB
cachyos-extra-v4/virglrenderer             1.2.0-1.1     1.3.0-2.1       0.28 MiB
cachyos/vulkan-mesa-implicit-layers        2:26.0.6-2    2:26.1.0-1      0.00 MiB
cachyos/vulkan-radeon                      2:26.0.6-2    2:26.1.0-1      0.82 MiB
cachyos-extra-v4/yara                      4.5.5-1.1     4.5.6-1.1       0.02 MiB

Total Installed Size:  6328.41 MiB
Net Upgrade Size:        51.05 MiB

:: Proceed with installation? [Y/n]

I know that is of no help, but my pacman -Syu runs as smoothly as always. I don’t know what you guys did to your pacman.conf or to your system in general, but it seems to me that the less you fiddle with the pacman configuration, the less you run in to problems as long as you keep a steady update-frequency of about once a week.

I have downloaded the packages manually from https://packages.cachyos.org, and checked the sha256 sums.

The sha256 sums do not match:

~ >>> curl -JO https://cdn77.cachyos.org/repo/x86_64_v4/cachyos-v4/linux-cachyos-lts-6.18.28-1-x86_64_v4.pkg.tar.zst

~ >>> sha256sum linux-cachyos-lts-6.18.28-1-x86_64_v4.pkg.tar.zst
7a98439998d98d0c5bb61879e36110f5228eddcee722c6e0640a26580e2cdc06  linux-cachyos-lts-6.18.28-1-x86_64_v4.pkg.tar.zst

This is specific to the v4 repo, which would explain why it only affects some users.

The same error apparently occurs during instalation from iso, so probably not a config issue.