From nobody Sun Jul 9 16:34:51 2023 X-Original-To: freebsd-current@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 4QzXmJ1KZfz4m6rb for ; Sun, 9 Jul 2023 16:34:56 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QzXmF2Rf8z3MCd for ; Sun, 9 Jul 2023 16:34:53 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org; dmarc=none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.17.1/8.15.2) with ESMTP id 369GYpCv008653 for ; Sun, 9 Jul 2023 16:34:51 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.17.1/8.17.1/Submit) id 369GYpm8008652 for freebsd-current@freebsd.org; Sun, 9 Jul 2023 09:34:51 -0700 (PDT) (envelope-from david) Date: Sun, 9 Jul 2023 09:34:51 -0700 From: David Wolfskill To: freebsd-current@freebsd.org Subject: Re: problems on new -current install with pkg/ssl Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="C2UJeatT75R+Edd8" Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-5.40 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.995]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; DMARC_NA(0.00)[catwhisker.org]; HAS_REPLYTO(0.00)[current@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; BLOCKLISTDE_FAIL(0.00)[107.204.234.170:server fail]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[david]; ARC_NA(0.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4QzXmF2Rf8z3MCd X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N --C2UJeatT75R+Edd8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 09, 2023 at 05:17:38PM +0100, void wrote: > Hi, >=20 > On a fresh 14-current install (main-n263444-653738e895ba) I try to use pkg > for anything and this error > happens: >=20 > # pkg install doas > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest= , please wait... > Verifying signature with trusted certificate pkg.freebsd.org.2013102301..= =2E done > Installing pkg-1.19.2... > Newer FreeBSD version for package pkg: > To ignore this error set IGNORE_OSVERSION=3Dyes > - package: 1400092 > - running kernel: 1400090 That's warning you that the "pkg" version you're selecting is for FreeBSD 14 with a "FreeBSD version" of 1400092, but what you're running is at "1400090". > Ignore the mismatch and continue? [y/N]: y > Extracting pkg-1.19.2: 100% > ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg" So your FreeBSD installtion appears to have been from before the import of OpenSSL 3, while the "pkg" you just installed requires OpenSSL 3. > How can I fix? Either upgrade your FreeBSD installation to some point after the OpenSSL 3 import -- here's the src/UPDATING entry: 20230623: OpenSSL has been updated to version 3.0, including changes througho= ut the base system. It is important to rebuild third-party software after upgrading. The commit was at main-n263775-b077aed33b7b, but there was a bit of "turbulence"for a few days after that, so I suggest updating to something more recent. (My latest successful was main-n264066-e64780fbc394, FWIW.) Or downgrade to an older "pkg". In your position, I'd do the former. Peace, david --=20 David H. Wolfskill david@catwhisker.org "Putin supports any set of ideas to end the conflict,=E2=80=9D -- Dmitry Pe= skov Putin is the source of the conflict. Remove the source; end of conflict. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --C2UJeatT75R+Edd8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSr0Kzv+UJRY3wfOii0+6PfV4Ix1AUCZKrhq18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0QUJE MEFDRUZGOTQyNTE2MzdDMUYzQTI4QjRGQkEzREY1NzgyMzFENAAKCRC0+6PfV4Ix 1DE1AP9BNOEyAcKDr1kFnaHz7y29MvghnLzzf2QO7fKSBHvAFQEAiJzsYOds8KV0 E76GmQxItbQigjDzRm+PUVaMbb/3UQ4= =Hdcb -----END PGP SIGNATURE----- --C2UJeatT75R+Edd8--