Getting error with sudo pacman -Syu

I'm having an error while updating, it goes like this:

sudo pacman -Syu
(now it checks all the available updates and then I get this :

...
looking for conflicting packages...
warning: removing 'archlinux-appstream-data' from target list because it conflicts with 'archlinux
-appstream-data-pamac'
:: archlinux-appstream-data-pamac and archlinux-appstream-data are in conflict. Remove archlinux-a
ppstream-data? [y/N] Y

then at the end, I get this :

downloading required keys...
:: Import PGP key 0706B90D37D9B881, "Pedro Henrique Lara Campos [email protected]"? [Y/n] Y
(631/631) checking package integrity [------------------------------------------------------------] 100%
error: beautyline: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] N
:: File /var/cache/pacman/pkg/beautyline-20210621-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] N
error: firedragon: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] N
:: File /var/cache/pacman/pkg/firedragon-89.0.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] N
error: garuda-assistant: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] N
:: File /var/cache/pacman/pkg/garuda-assistant-1.0.5-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] N
error: garuda-hooks: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] Y
error: key "45ECA705E3897524654A37880706B90D37D9B881" could not be looked up remotely
:: File /var/cache/pacman/pkg/garuda-hooks-1.0.6-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: kvantum-theme-sweet-git: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] Y
error: key "45ECA705E3897524654A37880706B90D37D9B881" could not be looked up remotely
:: File /var/cache/pacman/pkg/kvantum-theme-sweet-git-r192.7341748-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: sweet-kde-git: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] Y
error: key "45ECA705E3897524654A37880706B90D37D9B881" could not be looked up remotely
:: File /var/cache/pacman/pkg/sweet-kde-git-r192.7341748-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: garuda-dr460nized: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] Y
error: key "45ECA705E3897524654A37880706B90D37D9B881" could not be looked up remotely
:: File /var/cache/pacman/pkg/garuda-dr460nized-1.5.2-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: garuda-setup-assistant: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] Y
error: key "45ECA705E3897524654A37880706B90D37D9B881" could not be looked up remotely
:: File /var/cache/pacman/pkg/garuda-setup-assistant-1.0.10-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: latte-dock-git: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] Y
error: key "45ECA705E3897524654A37880706B90D37D9B881" could not be looked up remotely
:: File /var/cache/pacman/pkg/latte-dock-git-0.9.91.r125.g7b8bef6b-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: mhwd-nvidia: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] Y
error: key "45ECA705E3897524654A37880706B90D37D9B881" could not be looked up remotely
:: File /var/cache/pacman/pkg/mhwd-nvidia-465.31-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
⏎

How do I fix this ?

This topic has been covered in multiple threads..

5 Likes

Just for future reference:
Putting ~~~ before and after text from command output

Makes reading
command output
much easier since
it is in a monospaced font.

Neat, right?

6 Likes

~~~
work best
~~~

work best
4 Likes

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