From nobody Fri Dec 08 22:46:57 2023 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 4Sn5qZ1hj8z53Y5q for ; Fri, 8 Dec 2023 22:47:06 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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 4Sn5qY2BTGz4c8B for ; Fri, 8 Dec 2023 22:47:05 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=rqU+L0xX; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org; dmarc=pass (policy=quarantine) header.from=nomadlogic.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1702075618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dMLCUcj3OwLF+Yy97ZUuMBmOyilwfB1Ckn9eSVrqsrw=; b=rqU+L0xXYOtuwmGyY0OFV/1hqFGQhnrzv3NwVAv6RggxHK0o7WBBBqYcQ/OSbDUwwVfaej uPh1VXPj2RGoZpaXNJhy4n59cC92lfqFf/OsTqygkXYLk4VAca8Jt6BYsV1vbi58b9SERs NmBEpVYuoAuryfy1TsM4zB1YyuI/WnY= Received: from [192.168.1.240] (024-024-168-214.inf.spectrum.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id aa3db2f2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 8 Dec 2023 22:46:58 +0000 (UTC) Message-ID: <44c6cc8d-0da5-4f62-b5ee-3a28b5b07800@nomadlogic.org> Date: Fri, 8 Dec 2023 14:46:57 -0800 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pkg killed on FreeBSD upgrade to 14 Content-Language: en-US To: questions@freebsd.org References: <1ba6fb31-9a43-47fa-aa0e-721e179c7317@fjl.co.uk> From: Pete Wright In-Reply-To: <1ba6fb31-9a43-47fa-aa0e-721e179c7317@fjl.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[nomadlogic.org:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Sn5qY2BTGz4c8B X-Spamd-Bar: --- On 12/8/23 2:25 PM, Frank Leonhardt wrote: > On 08/12/2023 19:21, robert@rrbrussell.com wrote: >> On Fri, Dec 8, 2023, at 12:43, Frank Leonhardt wrote: >>> >>> I got "bad vibes" going to from 13.2->14.0 - warnings that seemed >>> reasonable about stuff missing from /src/ and suchlike that I didn't >>> expect to see, but no actual errors as far as I could tell. >>> >>> On completion, however, pkg was no longer working - the following error >>> message: >>> >>> 'ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg"' >>> >>> >>> Has anyone else had the same problem, and what are the runes to avoid it >>> should I decide to have another go? >>> >> pkg-static bootstrap -f will force an upgrade of pkg from the package repository. After that several rounds of portmaster -af should find all the breakages. >> >> I have found poudrière to be more reliable at rebuilding everything than portmaster. >> > Thanks - I could could find an install the relevant library manually, > but I want to know *why* a standard upgrade on a vanilla installation > broke. Are there any undocumented pre-upgrade steps. Good idea to use > pkg-static to recover pkg, but I took this as a bad sign and did a > rollback. I suspect there was more than just this wonky about it.The > certificate login was also broken, and I'm sure csh being swapped out > would cause trouble too :-( > It's standard practice to upgrade pkg itself before updating any other packages when doing any major updates to a freebsd release. The docs may need to be clarified around this, but the standard operating procedure IMHO is after you've updated your kernel and userland with a new major version the first step is to "pkg-static upgrade" which should make sure all of the correct libraries for pkg are in place. -pete -- Pete Wright pete@nomadlogic.org