I had a problem with R, that It couldn't reach libreadline.so.6.
So, I followed https://stackoverflow.com/questions/24962201/error-while-loading-shared-libraries-libreadline-so-5
and I screwed the libreadline command.
The state of my machine is such:
cd /usr/share
Then,
ls | grep "libreadline"
libreadline.so
libreadline.so.5
libreadline.so.8
readlink libreadline.so
libreadline.so.8
readlink libreadline.so.5
libreadline.so.8.1
readlink libreadline.so.8
libreadline.so.5
I can't update my system anymore.
pacman -Syu
I get these errors:
(9/9) checking package integrity [----------------------] 100%
error: GPGME error: Invalid crypto engine
error: libcap: missing required signature
Or, even,
yay -Sy readline6 readline7
:: Importing keys with gpg...
gpg: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory
-> problem importing keys
Is there a way to fix this?