- Published on
Fix libxml2 and rest Dependency Conflict in Manjaro
- Authors
- Name
- hwahyeon
During a full system upgrade on Manjaro, the following error occurred:
Installation von libxml2 (2.14.5-1) verletzt Abhängigkeit „libxml2.so=2-64“, benötigt von rest
This means the new version of libxml2
conflicts with the currently installed rest
package, which is tightly bound to an older version of libxml2
.
This is a common issue caused by partial upgrades. Here's how to fix it:
rest
is the cause
1. Check if pacman -Qi rest
pacman -Qm | grep '^rest$' # Shows if it's an AUR or manually installed package
pactree -r rest # Shows what depends on rest
2. Safest solution (recommended)
sudo pacman -Rns rest # Remove rest (if nothing depends on it)
sudo pacman -Syyu # Fully update the system
sudo pacman -S librest # Install replacement if needed
librest
is sometimes used instead ofrest
, depending on the application. If you're unsure, check which packages depend onrest
usingpactree -r rest
.
3. If removal fails due to dependencies
sudo pacman -Rdd rest # Force remove (only if safe — check with pactree)
sudo pacman -Syyu
sudo pacman -S librest
Use
-Rdd
only if you're sure that nothing critical depends onrest
.