From nobody Thu Jan 23 17:47:46 2025 X-Original-To: questions@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 4Yf7h82n25z5lFhh for ; Thu, 23 Jan 2025 17:47:52 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "E6" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yf7h64mP8z4Dv9 for ; Thu, 23 Jan 2025 17:47:50 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org; dmarc=none Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.18.1/8.18.1) with ESMTP id 50NHlk5t003766 for ; Thu, 23 Jan 2025 10:47:47 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <13ac79d6-2eed-4c1a-bc32-5baf7f9a7881@dreamchaser.org> Date: Thu, 23 Jan 2025 10:47:46 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pkg install -f ... doesn't? To: questions@freebsd.org References: <64c317d0-8011-4176-9460-61cf6a88ff7c@dreamchaser.org> Content-Language: en-US From: Gary Aitken Reply-To: freebsd@dreamchaser.org In-Reply-To: <64c317d0-8011-4176-9460-61cf6a88ff7c@dreamchaser.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Thu, 23 Jan 2025 10:47:47 -0700 (MST) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Thu, 23 Jan 2025 10:47:47 -0700 (MST) X-Spamd-Result: default: False [1.14 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.959]; NEURAL_SPAM_LONG(0.92)[0.918]; NEURAL_SPAM_SHORT(0.29)[0.285]; R_SPF_ALLOW(-0.20)[+mx]; ONCE_RECEIVED(0.20)[]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[dreamchaser.org]; REPLYTO_DOM_NEQ_TO_DOM(0.00)[] X-Spamd-Bar: + X-Rspamd-Queue-Id: 4Yf7h64mP8z4Dv9 Not sure exactly what the problem was, but updating the package database and using security/py-certbot-apache instead of py-certbot-apache solved the problem: # pkg update -f Updating FreeBSD repository catalogue... Fetching meta.conf: 100% 178 B 0.2kB/s 00:01 Fetching data.pkg: 100% 7 MiB 503.1kB/s 00:15 Processing entries: 100% FreeBSD repository update completed. 35910 packages processed. # pkg install py-certbot-apache Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'py-certbot-apache' have been found in the repositories # pkg install security/py-certbot-apache Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 21 package(s) will be affected (of 0 checked): New packages to be INSTALLED: ... Installed packages to be REMOVED: py39-charset-normalizer: 3.3.2 py39-distro: 1.9.0 py39-requests: 2.31.0 New packages to be INSTALLED: py311-acme: 3.0.1,1 ... I tried security/py-certbot-apache after checking freshports, which says: To add the package, run one of these commands: pkg install security/py-certbot-apache pkg install py311-certbot-apache Why is the "security/" required? Thanks, Gary On 1/23/25 09:38, Gary Aitken wrote: > On 1/23/25 00:28, Erwan David wrote: >> Le 22/01/2025 à 21:48, Gary Aitken a écrit : >>> After recent upgrade to 13.4, >>> daily security says py39-pycparser checksum doesn't match. >>> Attempting to reinstall doesn't reinstall. >>> What am I missing? > ... >> To force reinstall you must use pkg upgrade -f py39-pycparser > > Thanks. > However, that doesn't do the trick. > I was informed via PM that maybe I need to do a pkg delete first. > However, now I'm in a real pickle: > > # pkg delete py39-pycparser > > Proceed with deinstalling packages? [y/N]: > ... > Installed packages to be REMOVED: >     py39-acme: 2.8.0,1 >     py39-certbot: 2.8.0,1 >     py39-certbot-apache: 2.8.0 >     py39-cffi: 1.16.0 >     py39-cryptography: 41.0.7_1,1 >     py39-josepy: 1.14.0 >     py39-openssl: 23.2.0,1 >     py39-pycparser: 2.21 > ... > package database is busy while closing! > > #  pkg upgrade -f py39-pycparser > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date > All repositories are up to date. > pkg: No packages available to upgrade matching 'py39-pycparser' have been found in the repositories. > # pkg install py39-certbot-apache > ... > pkg: No packages available to install matching 'py39-certbot-apache' have been found in the repositories. > > Note: > This system was recently upgraded from 13.3-RELEASE to 13.4-RELEASE, > Ports (installed using packages) were upgraded using >   pkg upgrade -f > which appeared to complete successfully. > However, there were a few pkgs which were not upgraded, and those are all > in the set which was deleted when deinstalling py39-pycparser. > > How to proceed? > > Thanks, > > Gary > > > >