I did something wrong with updates today, the system does not boot.
I’ve loaded netrunner CD and chrooted to my system.
But I cannot update any packages, I always get this:
Packages (1): libgcrypt-1.6.1-1
Total Installed Size: 1.09 MiB
Net Upgrade Size: 0.41 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring 100%
error: GPGME error: Invalid crypto engine
(1/1) checking package integrity 100%
error: GPGME error: Invalid crypto engine
error: libgcrypt: missing required signature
:: File /var/cache/pacman/pkg/libgcrypt-1.6.1-1-x86_64.pkg.tar.xz 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.
If I Do : $ sudo pacman-key --init
I get this:
gpg: error while loading shared libraries: libgcrypt.so.20: cannot open shared object file: No such file or directory
gpg: error while loading shared libraries: libgcrypt.so.20: cannot open shared object file: No such file or directory
==> Updating trust database...
gpg: error while loading shared libraries: libgcrypt.so.20: cannot open shared object file: No such file or directory
==> ERROR: Trust database could not be updated.
I have set “SigLevel = Never” in /etc/pacman.conf but it still does not work.
I think my libgcrypt.so is damaged, or even more components.
Edit: pacman.conf had SigLevel override for core repository, set that to Never and all updates went smoothly, writing this from successfuly booted laptop.
Thanks, this one is SOLVED.