I deleted libxml2 because my system didn’t update and I broke everything. So I booted on a flash drive with an iso of archlinux, I mounted my partition and created the PKGBUILD in my user profile folder and this is the error I get when I use makepkg -si. I also tried to use pacman --root /mnt from the iso and successfully reinstalled libxml2 but now the issue is with libicuuc.so.75
Ok I did it ! On the flash drive with the iso of arch linux
mount /dev/partition /mnt
cd /mnt/var/cache/pacman/pkg
pacman --root /mnt --dbpath /mnt/var/lib/pacman --cachedir /mnt/usr/cache/pacman/pkg -U libxml2-2.13.6-3-x86_64.pkg.tar.zst
where /dev/partition is the partition with arch linux. It worked because I had this package in the cache. You can download the package on https://archive.archlinux.org/packages/l/libxml2/libxml2-2.13.6-3-x86_64.pkg.tar.zst.
I need this pkgbuild on the AUR to fix the plex-desktop package which also requires this file. Is it OK if I publish it?
UPDATE: apparently somebody did something similar on the AUR today. You can install the libxml2-compat package published today on the AUR. Adds a symlink only.
Thanks a lot man, you’re a god send! I was contemplating on having to re install windows because my editor wouldn’t start, but this fixed the issue
Today a new UnityHub release already included the libxml2-legacy as dependency, but that breaks Manjaro, as at the moment libxml2-legacy doesnt show up just yet.
Great, unityhub in pacman has been updated.
For anyone who has installed my package.
Run: sudo pacman -Rs libxml2-so.2-compat to uninstall.
Then update unityhub.