From nobody Tue Aug 19 01:23:32 2025 X-Original-To: freebsd-pkgbase@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 4c5X0h1BwXz64mL8 for ; Tue, 19 Aug 2025 01:23:48 +0000 (UTC) (envelope-from tilde@ultros.pro) Received: from mailtransmit05.runbox.com (mailtransmit05.runbox.com [IPv6:2a0c:5a00:149::26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4c5X0g1zyKz45sV for ; Tue, 19 Aug 2025 01:23:47 +0000 (UTC) (envelope-from tilde@ultros.pro) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ultros.pro header.s=selector2 header.b=QBzpwIzV; dmarc=none; spf=pass (mx1.freebsd.org: domain of tilde@ultros.pro designates 2a0c:5a00:149::26 as permitted sender) smtp.mailfrom=tilde@ultros.pro Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1uoB4f-0000jm-1g for freebsd-pkgbase@freebsd.org; Tue, 19 Aug 2025 03:23:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ultros.pro; s=selector2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID; bh=fJS6UYo5ozKKbJUVxD2GU6HRQsOhbNEI4uf7G3wNoOU=; b=QBzpwIzVokDmvb8g07S/qE/1OL Uos3DB+OUbxoBtQGppqlf86LAFIoi0OG8IH4F1tidhwFWca+iqYDXZEj4asgFg33qrdU+EGRKcWkd khFu7Yd0mrgVBkfzpASFvkN2TQKyimzMyUC15KUbV0KkCyTUKBcRFhg4i7fTQhYsZ8omAO+g+N2br Ref3u4wbTbw4+nmMIYIAWfR5nCWMbT1fsAJ5I/DS/H7oxbhUCrH7IG6o5kLBbVmWb8SqP4/b/3qkq UKuWy8ZgVdzA39BHAsfvyA2m+vmz7gRBa3DPNTybkOeZN1aOdymWiW2qFCJAD9G2lKR7V6awoeXQV 2PEuLa0g==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1uoB4e-0004k6-OR for freebsd-pkgbase@freebsd.org; Tue, 19 Aug 2025 03:23:40 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (1420294)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1uoB4a-009cXy-Ne for freebsd-pkgbase@freebsd.org; Tue, 19 Aug 2025 03:23:37 +0200 Message-ID: <1a1f3edb-456e-4754-951f-2a0373a22099@ultros.pro> Date: Tue, 19 Aug 2025 11:23:32 +1000 List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: HEADS-UP: pkgbase pkg upgrade breaks systems Re: after updating to latest, pkg base segfaults and leaves me unbootable To: freebsd-pkgbase@freebsd.org References: <582d802f-da93-415c-9dee-1f1f1beb1830@smeets.xyz> <6d5b80be-b333-4ec3-9082-42d97fad52c8@madpilot.net> Content-Language: en-US From: Tilde Joy In-Reply-To: <6d5b80be-b333-4ec3-9082-42d97fad52c8@madpilot.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.47 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.87)[-0.871]; R_SPF_ALLOW(-0.20)[+ip6:2a0c:5a00:149::26]; R_DKIM_ALLOW(-0.20)[ultros.pro:s=selector2]; RCVD_IN_DNSWL_LOW(-0.10)[2a0c:5a00:149::26:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:50304, ipnet:2a0c:5a00::/29, country:NO]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[ultros.pro]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-pkgbase@freebsd.org]; DKIM_TRACE(0.00)[ultros.pro:+] X-Rspamd-Queue-Id: 4c5X0g1zyKz45sV On 8/14/25 18:17, Guido Falsi wrote: > Hi, > > I was also bitten by this. I'm sharing how I got past the issue in > case it could be useful to others. > > I recovered by rolling back to a previous ZFS snapshot using an USB > installation media. This can be a viable solution depending on FS > being used and availability of snapshots. > > Anyway, after taking the machine to a usable state I was able to > update past the tripping point by doing: > > pkg-static upgrade -r -g 'FreeBSD-runtime*' > 'FreeBSD-pkg-bootstrap*' 'FreeBSD-clibs*' > > (the bootstrap part is most probably not needed) > > this will tell you it wants to remove the pkg package, but will not do > so, since there is no '-f' option. After this proceed with a > `pkg-static -r upgrade`. > > Depending on how old the previous installation is you will need to > check for new packages to install, I was missing a bunch -dev and -man > ones, and some new ones. > > I then had to add this to libmap.conf (actually to > /usr/local/etc/libmap.d/upgrade.conf): > > libcrypto.so.30 libcrypto.so.35 > libutil.so.9 libutil.so.10 > libssl.so.30 libssl.so.35 > > > So old ports depending on old libraries still work. I'm keeping these > for a while, until I can perform a `pkg upgrade -f` > > > Hope this can be helpful until the issue is solved. thanks for this guido, this helped me out a lot, in my case the first command still aborted with pkg trying to remove itself, i had to run the arguments separately: pkg-static upgrade -r FreeBSD-base -g 'FreeBSD-runtime*' pkg-static upgrade -r FreeBSD-base -g 'FreeBSD-pkg-bootstrap*' pkg-static upgrade -r FreeBSD-base -g 'FreeBSD-clibs*' and these were the new packages i installed: FreeBSD-bsdconfig FreeBSD-gssd FreeBSD-kerberos-kdc FreeBSD-libmilter FreeBSD-rip FreeBSD-test not sure if any of these were essential or not, can't hurt to have them i suppose, but i'm finally updated to 15.0-PRERELEASE <3 tilde~