I turned off my computer while it was updating with pacman -Syu, then I found myself with the error “you need too load the kernel first” when trying to boot from grub.
I followed the instructions here to fix it [link](https://forum.manjaro.org/t/not-able-to-boot-after-kernel-update/95164/2)
but the step sudo pacman -Syu (while chrooting) didn’t work showing in my terminal libarchive had a small size then i deleted it (because i thought it was empty and that it would be created again) and now the message is
pacman: error while loading shared libraries: libarchive.so.13: cannot open shared object file: No such file or directory
Does anybody knows how to recover this file and how to recover my linux?
This is my output [manjaro /]# sudo pacman -Syu
pacman: error while loading shared libraries: libarchive.so.13: cannot open shared object file: No such file or directory
I already have and I have the same problem since I need the file.
This is the new output
[manjaro /]# pacman -S libarchive
pacman: error while loading shared libraries: libarchive.so.13: cannot open shared object file: No such file or directory
Ok! That makes sense, gonna try it but how can I copy the file from the usb while chrooting? I only have access to my original system files
Sorry for the question but I’m a real newbie
I dont find the file when I copy it, i do as you told me (the command doesnt show any message or error), then i chroot and go to /home/username and Im not able to find the file in order to copy it to the local /usr/lib/ (the one from my OS and not from the usb, which is what I need I guess…)