On Mon 30 Jun 11:33, Matthias Fechner wrote: > Am 30.06.2025 um 06:09 schrieb void: > > > > [1/1] Upgrading pkg from 2.1.2 to 2.2.1... > > [1/1] Extracting pkg-2.2.1: 100% > > Updating poudriere repository catalogue... > > poudriere repository is up to date. > > All repositories are up to date. > > Checking for upgrades (240 candidates): 100% > > Processing candidates (240 candidates): 100% > > Cannot solve problem using SAT solver, trying another plan > > Cannot solve problem using SAT solver, trying another plan > > Cannot solve problem using SAT solver, trying another plan > > Cannot solve problem using SAT solver, trying another plan > > Cannot solve problem using SAT solver, trying another plan > > Cannot solve problem using SAT solver, trying another plan > > Cannot solve problem using SAT solver, trying another plan > > Cannot solve problem using SAT solver, trying another plan > > Cannot solve problem using SAT solver, trying another plan > > pkg: Cannot solve problem using SAT solver > > require rule: package php81-xml(r) depends on a requirement provided by: > > libxml2(r) > > upgrade rule: upgrade local php81-xml-8.1.32 to remote php81-xml-8.1.32 > > cannot install package php81-xml, remove it from request? [Y/n]: n > > pkg: Cannot solve problem using SAT solver > > require rule: package php81-xml(r) depends on a requirement provided by: > > libxml2(r) > > upgrade rule: upgrade local php81-xml-8.1.32 to remote php81-xml-8.1.32 > > cannot install package php81-xml, remove it from request? [Y/n]: n > > pkg: Cannot solve problem using SAT solver > > require rule: package php81-xml(r) depends on a requirement provided by: > > libxml2(r) > > upgrade rule: upgrade local php81-xml-8.1.32 to remote php81-xml-8.1.32 > > cannot install package php81-xml, remove it from request? [Y/n]: n > > pkg: Cannot solve problem using SAT solver > > could this maybe be a bug in pkg 2.2.1? > For me, pkg tries to remove packages it should really not do: > > pkg upg -Fy > Updating FreeBSD-kmods repository catalogue... > FreeBSD-kmods repository is up to date. > Updating poudriere repository catalogue... > Fetching meta.conf: 100% 179 B 0.2kB/s 00:01 > Fetching data.pkg: 100% 658 KiB 674.3kB/s 00:01 > Processing entries: 100% > poudriere repository update completed. 2182 packages processed. > All repositories are up to date. > Checking for upgrades (204 candidates): 100% > Processing candidates (204 candidates): 100% > Cannot solve problem using SAT solver, trying another plan > Cannot solve problem using SAT solver, trying another plan > The following 58 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > p5-Clone-Choose: 0.010 [poudriere] > p5-Clone-PP: 1.08 [poudriere] > > Installed packages to be UPGRADED: > groff: 1.23.0_4 -> 1.23.0_5 [poudriere] > grpc: 1.73.0,2 -> 1.73.1,2 [poudriere] > libxml2: 2.11.9_1 -> 2.14.4 [poudriere] > node22: 22.16.0_1 -> 22.17.0 [poudriere] > openblas: 0.3.29_1,2 -> 0.3.30,2 [poudriere] > p5-Specio: 0.50 -> 0.51 [poudriere] > portconfig: 0.6.2 -> 0.6.2_1 [poudriere] > py311-click-plugins: 1.1.1_1 -> 1.1.1.2 [poudriere] > py311-markdown: 3.8 -> 3.8.2 [poudriere] > py311-oauthlib: 3.2.2_1 -> 3.3.1 [poudriere] > py311-python-dotenv: 1.1.0 -> 1.1.1 [poudriere] > py311-trio: 0.29.0 -> 0.30.0 [poudriere] > > Installed packages to be REINSTALLED: > bind920-9.20.10 [poudriere] (required shared library changed) > clamav-1.4.2_3,1 [poudriere] (required shared library changed) > emacs-nox-30.1_4,3 [poudriere] (required shared library changed) > libxslt-1.1.43 [poudriere] (required shared library changed) > mariadb1011-server-10.11.13 [poudriere] (required shared library > changed) > p5-XML-LibXML-2.0210,1 [poudriere] (required shared library changed) > php83-8.3.22 [poudriere] (required shared library changed) > php83-dom-8.3.22 [poudriere] (required shared library changed) > php83-simplexml-8.3.22 [poudriere] (required shared library changed) > php83-soap-8.3.22 [poudriere] (required shared library changed) > php83-xml-8.3.22 [poudriere] (required shared library changed) > php83-xmlreader-8.3.22 [poudriere] (required shared library changed) > php83-xmlwriter-8.3.22 [poudriere] (required shared library changed) > php83-xsl-8.3.22 [poudriere] (required shared library changed) > postgresql17-contrib-17.5 [poudriere] (required shared library > changed) > postgresql17-server-17.5 [poudriere] (required shared library > changed) > py311-lxml-4.9.3_1 [poudriere] (required shared library changed) > rrdtool-1.9.0 [poudriere] (required shared library changed) > wayland-1.23.1 [poudriere] (required shared library changed) > > Installed packages to be REMOVED: > ImageMagick7: 7.1.1.45 > ffmpeg: 6.1.2_13,1 > gdk-pixbuf2: 2.42.12_1 > libavif: 1.3.0_1 > libheif: 1.19.8_1 > libjxl: 0.11.1_1 > librsvg2-rust: 2.60.0_2 > libwmf: 0.2.13_2 > nextcloud-php83: 31.0.6 > php83-pecl-imagick: 3.8.0 > py311-dj51-django-allauth: 65.9.0 > py311-img2pdf: 0.6.1 > py311-ocrmypdf: 16.10.1 > py311-paperless-ngx: 2.16.3 > py311-pdf2image: 1.17.0_3 > py311-pdfminer.six: 20250506 > py311-pikepdf: 9.5.2_1 > py311-pillow: 11.2.1 > py311-pillow-heif: 0.22.0 > py311-pyzbar: 0.1.9_1 > py311-qrcode: 8.2 > shared-mime-info: 2.4_1 > unpaper: 7.0.0_3 > vips: 8.17.0 > zbar: 0.23.90_6 > > Number of packages to be removed: 25 > Number of packages to be installed: 2 > Number of packages to be upgraded: 12 > Number of packages to be reinstalled: 19 > > > It seems to me, that that unexpected behavior started after the upgrade to > pkg 2.2.1.
The problem is not (yet) pkg, pkg is the messenger, the problem is unsolvable situation in your case, debug outpout will probably show it, I am pretty sure the issue is the libxml2 upgrade which causes an unsolvable problem: libxml2 had a breaking bump, some of your packages are probably probably still demanding libxml2.so.2 while the remote has libxml2.so.16. I would need the content of your /var/db/pkg to be able to further analyse. the output of pkg -o DEBUG_LEVEL=4 should be helpful but complicated to read ;) Best regards, Bapt
