Libxml2 dependency issue preventing update

Thanks, did not think about that.

Meanwhile i messed up the system by deleting the libxml2 file.
Sometimes i should think before typing something in my CLI…

How do I fix now that pacman is not working any longer?

pacman: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

I think i need to boot from live and repair in chroot, right?
Or is there an easier way to support that stupid me ?

EDIT:
Helped myself by downloading the libxml package manually and copied the missing so back to /usr/lib
That made pacman running again, now i can repair libxml entirely.

Interesting side effect: The update which failed regarding electron was working after that without issues.

1 Like