From owner-freebsd-questions@freebsd.org Sun Feb 21 20:51:54 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7EEA653A2A4 for ; Sun, 21 Feb 2021 20:51:54 +0000 (UTC) (envelope-from johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gal.iecc.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkHYP4Qdzz3QDn for ; Sun, 21 Feb 2021 20:51:53 +0000 (UTC) (envelope-from johnl@iecc.com) Received: (qmail 24634 invoked from network); 21 Feb 2021 20:51:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=6035.6032c7e3.k2102; bh=iaiXNEG/yt5npPGjnEIdM8Rr0paf4w3hhm64kcaHHms=; b=bYWRGDnhuNav3Yw1sgrpRxUW/zdpv29uuW4Dy9qTi2cRQFEGEwE/ma/XeptqOlT83q+gP0Bt8ap6g91gDZA6HOrqjXG7EKxUcW0yymIafTsMwHu6YAP98EUEn/JNvAY61kEZW9Y4fl9fB/flnGvFeuaD7AhIl5Uvr88kAZQd3dzgogTDpOk9t3F1ERoqYK4mrMuWHTw8j2RMOSonhVrmlvW0zHb5GxJCRgcB0cCIpcTlaC23VOQerL+DsNlk6qRT0T2Jic1alCBHYDwjtGObcq+s0qLm7jWm4Ad3fs5sTMisOpNT7mh1okdsLsPitwUvEwDhlQWrxjEmrMVQKLNzCw== Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.2 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 21 Feb 2021 20:51:46 -0000 Received: by ary.qy (Postfix, from userid 501) id 364356E6BDB0; Sun, 21 Feb 2021 15:51:45 -0500 (EST) Date: 21 Feb 2021 15:51:45 -0500 Message-Id: <20210221205146.364356E6BDB0@ary.qy> From: "John Levine" To: freebsd-questions@freebsd.org Subject: Re: Certbot crashes after update of python installed In-Reply-To: <018a01d70888$7b2fe5b0$718fb110$@seibercom.net> Organization: Taughannock Networks X-Headerized: yes Cleverness: minimal Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-Rspamd-Queue-Id: 4DkHYP4Qdzz3QDn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=iecc.com header.s=6035.6032c7e3.k2102 header.b=bYWRGDnh; dmarc=pass (policy=none) header.from=iecc.com; spf=pass (mx1.freebsd.org: domain of johnl@iecc.com designates 2001:470:1f07:1126:0:43:6f73:7461 as permitted sender) smtp.mailfrom=johnl@iecc.com X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; SPAMHAUS_ZRD(0.00)[2001:470:1f07:1126:0:43:6f73:7461:from:127.0.2.255]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f07:1126::/64]; DKIM_TRACE(0.00)[iecc.com:~]; DMARC_POLICY_ALLOW(-0.50)[iecc.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_PERMFAIL(0.00)[iecc.com:s=6035.6032c7e3.k2102]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:1f07:1126:0:43:6f73:7461:from]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 20:51:54 -0000 It's telling you what the problem is: > raise VersionConflict(dist, req).with_context(dependent_req) >pkg_resources.ContextualVersionConflict: (cryptography 2.9.2 >(/usr/local/lib/python3.7/site-packages), >Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'}) It now requires version 3.2 or newer of the python cryptography package but the version in the ports and packages is only 2.9.2. You might drop a note to the person who maintains the py-cryptography port to see if he wants help updating it, or if you're feeling brave, you can use the python pip package manager to update it locally. (as root) # pkg install rust # the crypto bits are written in rust # pip install -U cryptography # pkg lock py37-cryptography # tell freebsd package manager not to downgrade it # pkg delete rust # if you don't otherwise need rust, get back 500MB I did this on FBSD 12.2 and it worked, leaving me with version 3.4.6 of cryptography. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly