From nobody Sun Jun 21 14:01:11 2026 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 4gjtKP4Th3z6jmf1 for ; Sun, 21 Jun 2026 14:01:13 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gjtKP3xP8z3tKv; Sun, 21 Jun 2026 14:01:13 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782050473; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QDGniOuhg0rdg58K+H9PCw34qXNq9ToBkpzcqcs8R1Y=; b=cDVKnHd9FVDcoL+H9zuxC6uLFjL6t8CuRiFhSjteNl22+JB1BS5t1+tNg7Zrtw2YwJwU+b /vGb678dO41LQsJSZOBl8WfpGNUrdhKyYk73Ww1CzWil5XuN0Ada9P780ZDMHkTzbFJlmy 9FHgynULbIUq6wUJKRlod8XfFWy27Qw4xclxn6tcqDkhS9lTQhOf0OSCoVVgGYwieOLgmR 5L2TqbsYRo+dJg+6Z6O3glHlDgA+yXYRxlKs7XX+h87lpKqoDWlDBP6Tz6jXU6yQ7FgRrF 8GJIpmM7GGxC1WgWeCFhJh+Th0k5j8RQOETGlT7UxWsQ3AP5CVXS3L0w07SW8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782050473; a=rsa-sha256; cv=none; b=rS6tAE71LZNA/EesGfpmcPGjLhi3Jxmyie1v+kKqgBMsOwH/CfzIrk+bWT5aZqjejQN7vt JaVsLABM8XTIfidzBM2YHNcbRAca10rSxcdLy4iWbF8hjijLhvhBTv+c5tSzSYcZ/pU9BO VJ8Et4NFDPu0VeA1NdIWb8GMg7t5PIIix3Lj518qE2Xjt5znlMDH3Pjt/iT928AqaChCJ5 9BmCbaApRJLUXzj+iNJHomeVCviuZCoVMdSIckAivoicOuEzcFxnScxa7i1W54kbg0CvcG 3hp8QA3d6inQR3RsDKOIg3HK4eCoyF3r7Ltb0ameMllIBH7/YRX41Rccq+MB5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782050473; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QDGniOuhg0rdg58K+H9PCw34qXNq9ToBkpzcqcs8R1Y=; b=f7z6svBQbGNx1cNL1pSoaSAWLbaKXEIRX5XTqwOrOcRJn42CMhFtObdYyNG/R6728DKsSC S14bCyatNevOcKjXd6ze3c4PE83UdzilUHFfwWlnw15x4ZuNt1cuN5wTY5RTVsCp4IRIlI cSElz2nlmr76QfyvxAOABEHNivODItSBiMXxfbF33S+5iTkkEHt0UKodwOcg58atYJrQ9A ODGp8rmqe042l35Ki1R+9bpLdsZBtDffEgXFwTkpjTrSkKHjITY4zv86+tzba94OzA32o4 n6l3w87aZKCOK+ulFhU0mcn2B1tcKBY3G8XIQ2fs+go4KGpj/HevJpobYkRf2w== Received: from ltc.des.dev (2a01cb0585070b0036e894fffeca9834.ipv6.abo.wanadoo.fr [IPv6:2a01:cb05:8507:b00:36e8:94ff:feca:9834]) (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) (Authenticated sender: des/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4gjtKP2BCJzy8r; Sun, 21 Jun 2026 14:01:13 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id B6E0A5010D; Sun, 21 Jun 2026 16:01:11 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Mike Cc: freebsd-pkgbase@FreeBSD.org Subject: Re: Moving to pkg-based in 15.1 ... In-Reply-To: (Mike's message of "Sat, 20 Jun 2026 19:25:02 -0400") References: User-Agent: Gnus/5.13 (Gnus v5.13) Date: Sun, 21 Jun 2026 16:01:11 +0200 Message-ID: <86a4sot2l4.fsf@ltc.des.dev> 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mike writes: > Now, as I understand the pkgbase system, it has gotten a bit more > complex. On the contrary... > I no longer see that easy ability to update from one patch level to > the current patch level within the installed version. To upgrade a pkgbase system, simply run: # pkg upgrade or, if you want to upgrade _only_ the base system and leave the rest untouched: # pkg upgrade -r FreeBSD-base This essentially replaces `freebsd-update fetch` and `freebsd-update install` in your script, including the intervening prompt, and the rest will work as before. If you want to get fancy, do: # pkg upgrade -r FreeBSD-base -Fy to download updated packagtes without installing them, then # pkg upgrade -r FreeBSD-base to prompt the user and install the downloaded packages. This will also avoid a rare situation (very unlikely to occur with pkgbase on a release branch) where pkg computes an upgrade plan, prompts the user, then computes a different plan after examining the packages it downloaded and prompts the user a second time. A reboot is always recommended, unless you know exactly what was updated and can manually restart all affected services (or you know that none of the services that you run are affected). That was always the case. > https://wiki.freebsd.org/PkgBase This is severely out of date and (like most of the wiki) was always more of an internal roadmap than any sort of user documentation. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org