From nobody Fri Jun 07 05:51:51 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VwVhJ0DWgz5MKk8 for ; Fri, 07 Jun 2024 05:52:00 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4VwVhG6S3Kz4j9H for ; Fri, 7 Jun 2024 05:51:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=freebsd.org (policy=none); spf=softfail (mx1.freebsd.org: 198.144.192.42 is neither permitted nor denied by domain of yuri@FreeBSD.org) smtp.mailfrom=yuri@FreeBSD.org Received: from [192.168.5.3] (c-98-42-44-116.hsd1.ca.comcast.net [98.42.44.116]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 4575pqPg067308 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 6 Jun 2024 22:51:52 -0700 (PDT) (envelope-from yuri@FreeBSD.org) X-Authentication-Warning: shell1.rawbw.com: Host c-98-42-44-116.hsd1.ca.comcast.net [98.42.44.116] claimed to be [192.168.5.3] Content-Type: multipart/alternative; boundary="------------QeeZ6F17L9h07gHXvuX4zHgw" Message-ID: Date: Thu, 6 Jun 2024 22:51:51 -0700 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "ports@freebsd.org" From: Yuri 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 X-Spamd-Bar: / X-Spamd-Result: default: False [0.71 / 15.00]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, No valid DKIM,none]; ONCE_RECEIVED(0.10)[]; RCVD_NO_TLS_LAST(0.10)[]; XM_UA_NO_VERSION(0.01)[]; RCVD_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[yuri]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_SPF_SOFTFAIL(0.00)[~all:c]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:7961, ipnet:198.144.192.0/23, country:US]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; HAS_XAW(0.00)[] X-Rspamd-Queue-Id: 4VwVhG6S3Kz4j9H 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 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--