Update failure; libxml2 (2.14.2-2)

Please always paste command output as preformatted text.


As mentioned in another topic:


To workaroud the issue;

1. Check if rest is actually installed;

pacman -Qi rest

2. If rest is installed, remove it;

sudo pacman -Rns rest

3. Try updating again;

sudo pacman -Syu

Note that this strategy can also be used in other cases. :eyes:

Example:

A recent update attempt revealed;

:: Synchronising package databases...
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by electron32
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by electron33

This was overcome by removing the electron packages;

sudo pacman -R electron32 electron33

after which the sync/update could continue normally.

:information_source: I no longer needed those specific electron packages, but if I did, I could have built electron32-bin or electron33-bin from the AUR, for example.

1 Like