@domagoj wrote:
I can chroot but I don’t have internet connection. Any help on that issue is also welcomed.
Edit:
I was able to copy and paste
/etc/resolv.conf
from live manjaro to chrooted one and got the internet working.[manjaro /]# sudo pacman-key --init gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory chmod: cannot access '/etc/pacman.d/gnupg//trustdb.gpg': No such file or directory gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory ==> Updating trust database... gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory ==> ERROR: Trust database could not be updated.
I ‘fixed’ it by renaming
/usr/lib/libreadline.so
to/usr/lib/libreadline.so.7
and re-setting keys worked. Don’t ask me how and why. And for any new users, you shouldn’t do this unless you are ready to risk breaking up your system even more.