Date: Thu, 6 Jun 2024 22:51:51 -0700 From: Yuri <yuri@FreeBSD.org> To: "ports@freebsd.org" <ports@freebsd.org> Subject: After following the advise from UPDATING about pythoin-3.11, 'pkg add' now says: pkg: "Cannot solve problem using SAT solver" and attempts to install and then offers to remove py39- packages Message-ID: <b9d28cb8-4071-4d16-9e5b-54b833fe65e8@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------QeeZ6F17L9h07gHXvuX4zHgw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I followed the advise from /usr/ports/UPDATING and ran these commands: # for i in $(pkg query -g %n 'py39-*'); do pkg set -yn ${i}:py311-${i#py39-}; done # pkg upgrade This first command above only affects currently installed py39-* packages, and would be a no-op otherwise. Despite this and not having any py39-* packages installed I keep getting the errors when I try to install some packages using origins, see below. /etc/make.conf doesn't mentions anything about python. Why is pkg attempting to bring back py39-* packages? What is wrong? 'make -V PYTHON_VER' prints 3.11 Yuri ----errors that 'pkg install -A x/xx y/yy ...' prints ---- 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 cannot install package py311-pytest-jupyter, remove it from request? [Y/n]: pkg: Cannot solve problem using SAT solver conflict rule: The following packages conflict with each other: py39-pyasn1-modules-0.4.0(r), py311-pyasn1-modules-0.4.0(r) conflict rule: The following packages conflict with each other: py311-pyasn1-modules-0.4.0(r), py39-pyasn1-modules-0.4.0(r) cannot install package py39-pyasn1-modules, remove it from request? [Y/n]: pkg: Cannot solve problem using SAT solver cannot install package py311-nbclient, remove it from request? [Y/n]: pkg: Cannot solve problem using SAT solver cannot install package py39-pytest-timeout, remove it from request? [Y/n]: pkg: Cannot solve problem using SAT solver cannot install package py39-pytest-rerunfailures, remove it from request? [Y/n]: pkg: Cannot solve problem using SAT solver conflict rule: The following packages conflict with each other: py39-Babel-2.14.0(r), py311-Babel-2.14.0(r) conflict rule: The following packages conflict with each other: py311-Babel-2.14.0(r), py39-Babel-2.14.0(r) cannot install package py39-Babel, remove it from request? [Y/n]: pkg: Cannot solve problem using SAT solver conflict rule: The following packages conflict with each other: py311-sphinx-5.3.0_1,1(r), py39-sphinx-5.3.0_1,1(r) conflict rule: The following packages conflict with each other: py39-sphinx-5.3.0_1,1(r), py311-sphinx-5.3.0_1,1(r) cannot install package py311-sphinx, remove it from request? [Y/n]: pkg: Cannot solve problem using SAT solver conflict rule: The following packages conflict with each other: py311-pyflakes-3.2.0_1(r), py39-pyflakes-3.2.0_1(r) conflict rule: The following packages conflict with each other: py39-pyflakes-3.2.0_1(r), py311-pyflakes-3.2.0_1(r) cannot install package py311-pyflakes, remove it from request? [Y/n]: --------------QeeZ6F17L9h07gHXvuX4zHgw Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <font face="monospace">I followed the advise from /usr/ports/UPDATING and ran these commands:</font><br> <br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;"># for i in $(pkg query -g %n 'py39-*'); do pkg set -yn ${i}:py3</span><span style="color:#000000;background-color:#ffff54;">11</span><span style="color:#000000;background-color:#ffffff;">-${i#py39-}; done </span><br> # pkg upgrade<br> </font> <font face="monospace"><br> </font><br> <font face="monospace">This first command above only affects currently installed py39-* packages, and would be a no-op otherwise.<br> </font><br> <font face="monospace"><br> </font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">Despite this and not having any py39-* packages installed I keep getting the errors when I try to install some packages using origins, see below.<br> </span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">/etc/make.conf doesn't mentions anything about python.<br> </span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">Why is pkg attempting to bring back py39-* packages? What is wrong?</span></font><br> <p><br> </p> <p><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">'make -V PYTHON_VER'</span> prints 3.11<br> </span></p> <br> <p><br> </p> <p><font face="monospace">Yuri</font><br> </p> <br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;"><br> </span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">----errors that 'pkg install -A x/xx y/yy ...' prints ----<br> </span></font> <p><font face="monospace"><span style="color:#000000;background-color:#ffffff;">Cannot solve problem using SAT solver, trying another plan </span></font><br> <font face="monospace">Cannot solve problem using SAT solver, trying another plan </font><br> <font face="monospace">Cannot solve problem using SAT solver, trying another plan </font><br> <font face="monospace">Cannot solve problem using SAT solver, trying another plan </font><br> <font face="monospace">Cannot solve problem using SAT solver, trying another plan </font><br> <font face="monospace">Cannot solve problem using SAT solver, trying another plan </font><br> <font face="monospace">Cannot solve problem using SAT solver, trying another plan </font><br> <font face="monospace">Cannot solve problem using SAT solver, trying another plan </font><br> <font face="monospace">Cannot solve problem using SAT solver, trying another plan </font><br> <font face="monospace">pkg: Cannot solve problem using SAT solver </font><br> <font face="monospace">cannot install package py311-pytest-jupyter, remove it from request? [Y/n]: </font><br> <font face="monospace">pkg: Cannot solve problem using SAT solver </font><br> <font face="monospace">conflict rule: The following packages conflict with each other: py39-pyasn1-modules-0.4.0(r), py311-pyasn1-modules-0.4.0(r) </font><br> <font face="monospace">conflict rule: The following packages conflict with each other: py311-pyasn1-modules-0.4.0(r), py39-pyasn1-modules-0.4.0(r) </font><br> <font face="monospace">cannot install package py39-pyasn1-modules, remove it from request? [Y/n]: </font><br> <font face="monospace">pkg: Cannot solve problem using SAT solver </font><br> <font face="monospace">cannot install package py311-nbclient, remove it from request? [Y/n]: </font><br> <font face="monospace">pkg: Cannot solve problem using SAT solver </font><br> <font face="monospace">cannot install package py39-pytest-timeout, remove it from request? [Y/n]: </font><br> <font face="monospace">pkg: Cannot solve problem using SAT solver </font><br> <font face="monospace">cannot install package py39-pytest-rerunfailures, remove it from request? [Y/n]: </font><br> <font face="monospace">pkg: Cannot solve problem using SAT solver </font><br> <font face="monospace">conflict rule: The following packages conflict with each other: py39-Babel-2.14.0(r), py311-Babel-2.14.0(r) </font><br> <font face="monospace">conflict rule: The following packages conflict with each other: py311-Babel-2.14.0(r), py39-Babel-2.14.0(r) </font><br> <font face="monospace">cannot install package py39-Babel, remove it from request? [Y/n]: </font><br> <font face="monospace">pkg: Cannot solve problem using SAT solver </font><br> <font face="monospace">conflict rule: The following packages conflict with each other: py311-sphinx-5.3.0_1,1(r), py39-sphinx-5.3.0_1,1(r) </font><br> <font face="monospace">conflict rule: The following packages conflict with each other: py39-sphinx-5.3.0_1,1(r), py311-sphinx-5.3.0_1,1(r) </font><br> <font face="monospace">cannot install package py311-sphinx, remove it from request? [Y/n]: </font><br> <font face="monospace">pkg: Cannot solve problem using SAT solver </font><br> <font face="monospace">conflict rule: The following packages conflict with each other: py311-pyflakes-3.2.0_1(r), py39-pyflakes-3.2.0_1(r) </font><br> <font face="monospace">conflict rule: The following packages conflict with each other: py39-pyflakes-3.2.0_1(r), py311-pyflakes-3.2.0_1(r) </font><br> <font face="monospace">cannot install package py311-pyflakes, remove it from request? [Y/n]: </font><br> <font face="monospace"> </font><br> </p> <font face="monospace"><br> </font> </body> </html> --------------QeeZ6F17L9h07gHXvuX4zHgw--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b9d28cb8-4071-4d16-9e5b-54b833fe65e8>