@bill_t has referred here to the unstable branch and an installation hint.
otherwise you just have to wait until it comes from unstable to the other branches.
libxml2-legacy is currently in the Testing & Unstable repos:
mbn info libxml2-legacy -q | grep -Ev 'Name|Repository|Packager'
Branch : archlinux
Version : 2.13.8-1
Build Date : Fri 02 May 2025 11:42:34
Branch : unstable
Version : 2.13.8-1
Build Date : Fri 02 May 2025 11:42:34
Branch : testing
Version : 2.13.8-1
Build Date : Fri 02 May 2025 11:42:34
mbn can be found in the manjaro-check-repos package
If you need it urgently, it is not difficult to switch branches:
I tried to install it using the sudo pacman -U +URL command & got the following output:
error: failed to commit transaction (conflicting files)
libxml2-legacy: /usr/lib/libxml2.so.2 exists in filesystem (owned by libxml2)
libxml2-legacy: /usr/lib/libxml2.so.2.13.8 exists in filesystem (owned by libxml2)
Errors occurred, no packages were upgraded.
It seems my machine won’t accept the file. Thanks for everyone’s assistance on this one - it seems to impact multiple AUR apps.
Hi @TheInvisible - would you mind posting how you built this package against libxml2 instead of the legacy version? I see from the comments that libxml2-legacy is currently in testing & instable repos but not having it is preventing me from using Viber. Any assistance would be appreciated.
@ruziel
It looks like you have not updated to libxml2 2.14.2 yet as that version is only in Unstable and Testing branches. Therefore at the moment, you do not need libxml2-legacy. When libxml2 updates in Stable to libxml2 2.14.2, you may or may not need libxml2-legacy depending on your setup.
Thanks @jrichard326 - at the moment Viber won’t work on my machine without mlibxml2-legacy. Hopefully things work out one way or the other, once the updates come through to Stable. I’d rather not risk running one of the less stable branches. Much appreciated!
Same issue here, the missing library prevents me obviously from updating Google Earth.
Whenever i hit enter, the error about missing file appears and the update process stops bringing me back to the prompt:
[ ~]$ yay -Syu
:: Paketdatenbanken werden synchronisiert …
core ist aktuell
extra ist aktuell
multilib ist aktuell
:: Durchsuche AUR nach Updates...
-> Kein AUR-Paket gefunden fĂĽr libxml2-legacy
:: Durchsuche Datenbanken nach Updates...
-> Pakete nicht im AUR: ksanecore5 libksane5
:: 1 Paket zu upgraden/installieren.
1 aur/google-earth-pro 7.3.6.10201-1 -> 7.3.6.10201-2
==> Pakete zum AusschlieĂźen: (z.B. "1 2 3", "1-3", "^4" oder Repo-Name)
-> Das Ausschließen von Paketen kann zu teilweisen Aktualisierungen führen und Systeme beschädigen.
==>
-> could not find all required packages: libxml2-legacy
[ ~]$
I also have no idea about the ksanecore5 and libksane5 package which cannot be found. I never installed it by myself and i have no idea for what it is required.
running pacman does not find any further updates.
Any thoughts or should i simply wait until it’s in stable?
EDIT: After changing the content of the build file from libxml2-legacy to libxml the build process for Google Earth went through and no further update notice appeared.
Did i already mention that i love the support forum of Manjaro? Great people here all around…
Some AUR helpers may allow you to modify the PKGBUILD before building.
Otherwise you download the files, edit the PKGBUILD and change libxml2-legacy to libxml2, then you run makepkg -si in the directory that contains the PKGBUILD.
I switched over to Testing for now & Viber is working perfectly. I plan to switch back after the next stable release. Thanks everyone for being part of this incredible community. More power to you all.
Newbies don’t change config files because they’re scared they’ll mess something up. Configuration files are there to be modified if needed, it’s how you configure things.
However it’s not a config file, it’s a (partial) script that builds a package.
It was made for Arch (as are most things in the AUR), and they have updated libxml2. Some packages haven’t been updated to use the new version yet, so they created libxml2-legacy and some AUR packages have started using it.
To use the PKGBUILD as is, you need to be on Arch, unstable or testing, as they’re the only ones that are up-to-date enough for it to work without changes. If you want to use it and stay on stable then it requires modification (or the old version of the PKGBUILD).
If you use the AUR you are expected to understand how it works and be able to do stuff like this. AUR helpers are just there to help automate the actual process of using the AUR.
This time read the link, it’s required reading for using the AUR:
There is a difference between free access to source code and configuration files, and chaos and disorder. It is not a problem to be a beginner or not (I am not). The lack of this library has cascading effects and wastes time. A distribution makes sense to exist if it is maintained correctly; otherwise, users could compile their own kernels and applications (investing their time). A well-made distribution does not waste time. I write this with regret, but it is in line with what was stated in previous answers. That proposal is not a solution but a palliative. I know that it takes a lot of effort to maintain a distribution, and I am sorry that there is none for a library like this. Linux is, first of all, cooperation, and when something does not work, there should be no shame in admitting it, but it should be an incentive to do better. It is not nice to see that a library does not work, and as a solution, the user is proposed to make changes, which will have to be retouched in the next update. I am sorry to have put my finger on the wound.