Update failure; libxml2 (2.14.2-2)

When trying to update, I get this error message;
"could not satisfy dependencies:

  • installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by rest
  • if possible, remove rest and retry"
    Another thread suggested to run “sudo pacman -R lib32-rest” but that didn’t work for me; I got;
    “error: target not found: lib32-rest”
    I can’t find anything called “rest” on my system. Any idea how to fix this? thanks.

try removing rest itself instead of lib32-rest.

In other words,

sudo pacman -R rest

1 Like

Is there an actual issue to fix? rest was removed from the repos. It looks like you no longer have rest or lib32-rest on your system. This Pamac command will list any installed packages containing the text string rest in the name or description:

pamac search -i rest

If no rest packages are installed (if the result includes timeshift, that is only because it contains the word restore in its description - it is not a rest package), then you should be able to update successfully. Maybe try updating via a terminal instead of the GUI:

sudo pacman -Syu

If you encounter any errors, please post the entire output from running that command here.

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

That worked; Thanks for the help.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.