pkg 2.3.1 conflicts caused by py311-lxml/lxml5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Sep 2025 14:11:14 UTC
Hello world :-)
I did a pkg ugrade and update today, it seems like some packages that
I use daily have conflicting dependencies:
1. FreeCAD excludes 2 and 3.
2. Inkscape excludes 1.
3. Audacity excludes 1.
Cause: py311-lxml5-5.4.0_2 conflicts with py311-lxml-6.0.1.
I am using "pkg+http://pkg.FreeBSD.org/${ABI}/latest".
Luckily installing (2) and (3) from ports when (1) is installed fixes
the issue, also pkg upgrade after that has no conflict, so probably
already fixed in the ports :-)
# uname -a
FreeBSD hexagon 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
# pkg install audacity
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (1 conflicting)
- py311-lxml5-5.4.0_2 conflicts with py311-lxml-6.0.1 on
/usr/local/lib/python3.11/site-packages/lxml/ElementInclude.py
Checking integrity... done (0 conflicting)
The following 11 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
audacity: 3.7.5
lilv: 0.24.26
lv2: 1.18.10_1
py311-lxml5: 5.4.0_2
sratom: 0.6.18
suil: 0.10.12_3
Installed packages to be REINSTALLED:
pkg-2.3.1
Installed packages to be REMOVED:
FreeCAD: 1.0.2_2
py311-fonttools: 4.59.2_1
py311-lxml: 6.0.1
py311-matplotlib: 3.8.0_2
Number of packages to be removed: 4
Number of packages to be installed: 6
Number of packages to be reinstalled: 1
The operation will free 297 MiB.
Proceed with this action? [y/N]: ^C
# pkg install inkscape
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
inkscape: 1.4.2_1
py311-lxml5: 5.4.0_2
Number of packages to be installed: 2
The process will require 183 MiB more space.
25 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching inkscape-1.4.2_1.pkg: 100% 25 MiB 25.9MB/s 00:01
Checking integrity... done (1 conflicting)
- py311-lxml5-5.4.0_2 conflicts with py311-lxml-6.0.1 on
/usr/local/lib/python3.11/site-packages/lxml/ElementInclude.py
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 8 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
inkscape: 1.4.2_1
py311-lxml5: 5.4.0_2
Installed packages to be REINSTALLED:
libdvdnav-6.1.1
pkg-2.3.1
Installed packages to be REMOVED:
FreeCAD: 1.0.2_2
py311-fonttools: 4.59.2_1
py311-lxml: 6.0.1
py311-matplotlib: 3.8.0_2
Number of packages to be removed: 4
Number of packages to be installed: 2
Number of packages to be reinstalled: 2
The operation will free 161 MiB.
Proceed with this action? [y/N]: ^C
:-)
--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info