When I am trying to install updates or apps, I am getting this error:
error: failed to prepare transaction (invalid or corrupted database)
I already spend hours on this error. Has anyone of you an idea?
Try
sudo pacman -Scc
sudo pacman-mirrors -f && sudo pacman -Syyu
I am getting this error:
error: failed to prepare transaction (invalid or corrupted database)
error: database âarchlinuxfrâ is not valid (invalid or corrupted database (PGP signature))
Unofficial repos are not supported. Looks like that one is mostly out of date packages, anyway. Remove the entry from your /etc/pacman.conf
and try again.
I did so and I am getting this error now:
:: File /var/cache/pacman/pkg/archlinux-keyring-20201210-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: manjaro-system: signature from âPhilip MĂźller (Called Little) philm@manjaro.orgâ is unknown trust
I cant find any of these files in /var/cache/pacman/pkg/
I found this solution in a German post:
sudo pacman-mirrors -g -c Germany
sudo rm /var/lib/pacman/sync/
sudo pacman-key --init
sudo pacman-key --refresh-keys
sudo pacman-key --populate archlinux manjaro
sudo pacman -Syyu
It worked for me.
Please, change into
sudo pacman -Syyu
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.