You are not logged in.

#1 2025-07-18 10:56:54

tomsam
Member
Registered: 2020-06-28
Posts: 17

libxml2 problem since last upgrade

Since the last upgrade (pacman -Suy; and yay -Suy) which proceeded without any error messages, have problems with different libxml2 versions installed on my system, which also hinder me to install other packages.

libxml2 was replaced by an upgrade on Jul 17 (apparently by a change made on Jul 15)
libxml2-2.9 was build and installed on Aug 14, 2024 and is required by approximately 80 packages, including many system packages.

libxml2-2.9 is also the one that created the link /lib/libxml2.so.2  ( a link to libxml2.so.2.9.10).

Apparently newer packages (like vmware-workstation for example) try to install libxml2-legacy
now, which claims that it cannot be installed due to the fact that:

libxml2-legacy: /usr/lib/libxml2.so.2 exists in filesystem

A pacman -Syyu took some hours and failed.

Question: What should be done to get the system in a correct state again ? 


PS The main mirror is
Server = http://ftp-stud.hs-esslingen.de/pub/Mir … o/os/$arch

Offline

#2 2025-07-18 11:06:44

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,445
Website

Re: libxml2 problem since last upgrade

What actually depends on libxml2-2.9? Why do you have both libxml2-2.9 and libxml2-legacy?

Offline

#3 2025-07-18 12:41:06

tomsam
Member
Registered: 2020-06-28
Posts: 17

Re: libxml2 problem since last upgrade

As of pacman -Qi libxml2-2.9

libxlm2-2.9 is

Required By     : appstream  avidemux-cli  bind  chromium  conky  docbook-xml
                  docbook-xsl  electron34  electron35  electron36  evince
                  evolution  evolution-data-server  ffmpeg  ffmpeg4.4  flatpak
                  flickcurl  fontforge  gdal  gettext  gnome-online-accounts
                  gnucobol  gst-plugins-bad  gst-plugins-good  gtksourceview4
                  gtksourceview5  gupnp  gxml  imagemagick  inkscape  itstool
                  libabw  libarchive  libbluray  libcmis  libe-book  libetonyek
                  libgphoto2  libgsf  libgweather-4  libical  liblangtag
                  libodfgen  libreoffice-fresh  librest  librsvg  libsoup
                  libspatialite  libvisio  libxkbcommon  libxklavier  libxslt
                  llvm-libs  m17n-lib  nemo  netcdf  netpbm  nfs-utils  openbox
                  php  python2-libxml2  qgis  qt6-webengine  raptor
                  samsung-unified-driver-scanner  sane  shared-mime-info
                  subsurface-git  tinysparql  vlc-plugin-xml  wayland
                  webkit2gtk  webkit2gtk-4.1  webkitgtk-6.0
                  xfce4-weather-plugin  xmlsec  yelp-tools

I have libxml2 and libxml2-2.9 installed.

$ pacman -Q | grep xml2
libxml2 2.14.5-1
libxml2-2.9 2.9.10-1
python2-libxml2 2.9.14-1
tinyxml2 11.0.0-1


I do not have libxml2-legacy installed, but the installation of for example vmware-workstation requires it.

Offline

#4 2025-07-18 12:44:45

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,186
Website

Re: libxml2 problem since last upgrade

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2025-07-18 12:49:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,354

Re: libxml2 problem since last upgrade

It's required by those because it provides libxml2. Since libxml2 is also installed, you should be able to remove it as long as you remove anything that depends directly on it, which would be python2-libxml2 and possibly python2-lxml. Do you seriously sill use something that needs python2?

Last edited by Scimmia (2025-07-18 12:51:24)

Offline

#6 2025-07-18 12:53:47

tomsam
Member
Registered: 2020-06-28
Posts: 17

Re: libxml2 problem since last upgrade

Note: This is not entirely an AUR problem, since e.g. teamspeak3 also requires libxml2-legacy.

Offline

#7 2025-07-18 12:56:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,354

Re: libxml2 problem since last upgrade

It is entirely an AUR problem, because the entire problem is libxml2-2.9 and the stupid way the maintainer handled it.

Offline

#8 2025-07-18 13:07:11

tomsam
Member
Registered: 2020-06-28
Posts: 17

Re: libxml2 problem since last upgrade

Scimmia wrote:

It's required by those because it provides libxml2. Since libxml2 is also installed, you should be able to remove it as long as you remove anything that depends directly on it, which would be python2-libxml2 and possibly python2-lxml. Do you seriously sill use something that needs python2?

I do not use python2, and I have deinstalled it several times already.
Unfortunately, there seems to be some packages that pull it in again and again.

I removed python2 and python2-libxml, and was able to remove libxml2-2.9 and install libxml2-legacy now.

I will followup later.

Offline

#9 2025-07-18 13:11:38

tomsam
Member
Registered: 2020-06-28
Posts: 17

Re: libxml2 problem since last upgrade

Scimmia wrote:

It is entirely an AUR problem, because the entire problem is libxml2-2.9 and the stupid way the maintainer handled it.

Well there is no maintainer listed. I thought it was the same guy that provided libxml2-legacy.
Mea culpa.

Offline

#10 2025-07-18 15:53:49

tomsam
Member
Registered: 2020-06-28
Posts: 17

Re: libxml2 problem since last upgrade

Thanks, the pacman -Syu/yay -Syu have finished sucessfully now.

Offline

Board footer

Powered by FluxBB