From nobody Sat Oct 11 11:41:17 2025 X-Original-To: freebsd-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 4ckMC66mWxz6BjlL for ; Sat, 11 Oct 2025 11:41:38 +0000 (UTC) (envelope-from dch@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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ckMC66D1qz3p2N; Sat, 11 Oct 2025 11:41:38 +0000 (UTC) (envelope-from dch@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760182898; 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=dyynZkkc6tUFH7ooo9de8/PR0fn8/1hoJ8cJer8K1yY=; b=FFQoD7Zma7yCUeGq/wkCqCh35RoO6kg0566WfGeflWoWXFF+Gqu1cYRLKBhLxGx1GAVQbj AjO/JhBPnjLO/L5vxQIRlKoy0+DInXBHDn4JShtSsUGH2ZXry3/dm7bU6Pq3m6c7P5pXa+ PD4ktTdN5362f+uLHOUpa8o9uvU3svmrRnt0ccg7lKsMuBq/h6CVNZ7mE9EkwocxBp4wVW uftWLQBlPaTwJITSLBaN99G5VnVmR/cVBfZ4FCbJfAw3/5BNgkNI9QE9nz5Qeh0cDLRo+j CFZ3X0H1w8Cdexgsse/c10CGgeYyqwqnR5tUtWCCdx6IWPQohPeBsbb5v0PsSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760182898; 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=dyynZkkc6tUFH7ooo9de8/PR0fn8/1hoJ8cJer8K1yY=; b=yiN2p8QQqCbtxsJf4zy7poBg4g3YpBnlGX010M+t+iGUTkgbOoieBOcAnEeIpPNheRaqWW FwgNGmrm3Hvm7Itq7Qf6nabN69C0q7M+Bi6yromDn7AdNS4RTidr+XPYk2PZ8/uff0YrkM HMZfUTv9o0rNFoOrJjaZm72RilFv1FjRLawF7l3wh1/AamDJREu/4X4ixNBEITbZ28fvdV MZ9x18BmUeY5WtORTXQdlLlw7g08L6Xs9xptiGmhvJN2ldkoK4xG2mBiLil8IRHbRUVOeF s6hZeQmO7AL7f/f56zoCS5d+Qkfa/IaTK2USLS9kmq65NzwIjbZODgsCVvMH/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760182898; a=rsa-sha256; cv=none; b=kMeaseQMt8jjen+iJqNDsVrMCyTO5Tger6/DDyiJX4gH2UA4vJ3XboPVQHTZnIoQJUau8I GBN8tvyJQatlVYCtHfAw5skz/+O03U+5Zc8k7rzzEG0Qoe3sG31qzGtAWPdnPHjr3r7x1e cT8HqGrufAsDcuEEvMmeZIxKJYEYnSjmq0s0N8E19YaijvDKxpfhPMuMFhlIsADCoxUjP4 v8VifRUrKZqFFGuGokMEV1zrkXpzOmCURj2+ObGG4yVbnPdyAclRTU0yQ9lwOJmeS188Kh zzxDSbgjbjC97tHxotiVGjGjmIrOlbl8vBBAJFcCoLcdnNO5Sr9Km691kwhfmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from fauth-a2-smtp.messagingengine.com (fauth-a2-smtp.messagingengine.com [103.168.172.201]) (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: dch/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ckMC65bsJzFYr; Sat, 11 Oct 2025 11:41:38 +0000 (UTC) (envelope-from dch@freebsd.org) Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfauth.phl.internal (Postfix) with ESMTP id 46838F40068; Sat, 11 Oct 2025 07:41:38 -0400 (EDT) Received: from phl-imap-16 ([10.202.2.88]) by phl-compute-02.internal (MEProxy); Sat, 11 Oct 2025 07:41:38 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdduuddukedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefoggffhffvvefkjghfufgtgfesthhqre dtredtjeenucfhrhhomhepfdffrghvvgcuvehothhtlhgvhhhusggvrhdfuceouggthhes fhhrvggvsghsugdrohhrgheqnecuggftrfgrthhtvghrnhepgeetgfdugfefvddtudffud ehtdelvedtkedttddvgeelgedtleefueffgeekhefhnecuffhomhgrihhnpehfrhgvvggs shgurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepuggthhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddvgeeluddt feeguddquddvudefuddujeejqdgutghhpeepfhhrvggvsghsugdrohhrghesfhgrshhtmh grihhlrdhfmhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtohepfhhrvggvsghsugdqqhhuvghsthhiohhnshesfhhrvggvsghsugdrohhrghdprh gtphhtthhopehiihhojeesphhrohhtohhnmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: icedc46df:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 139BF2CC0054; Sat, 11 Oct 2025 07:41:38 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface 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 X-ThreadId: AV-x8lvoUplN Date: Sat, 11 Oct 2025 11:41:17 +0000 From: "Dave Cottlehuber" To: Martin Cc: freebsd-questions Message-Id: In-Reply-To: References: Subject: Re: About the upcoming changes to pkgbase Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, 10 Oct 2025, at 20:25, Martin wrote: > Regarding the upcoming change from freebsd-update to pkgbase, I have > two questions which I haven't been able to find a clear answer to, or > perhaps I have overlooked something. > > In the documentation[1] it says that pkgbase will replace tarball > distribution sets, such as base.txz or kernel.txz. Hi Martin TLDR don't worry they will be around for 15.0. Similar to the snapshots, this will line up for BETA1 (albeit under /releases/ not snapshots) https://download.freebsd.org/snapshots/amd64/15.0-ALPHA5/ This is the current deprecation plan for dist sets: https://lists.freebsd.org/archives/freebsd-current/2025-September/008918= .html This snippet answers most of your questions: 15.0-RELEASE: * PKGBASE becomes the default in release/Makefile and a new NOPKGBASE option is added. * The installer supports both install options, with dist sets marked as "legacy" in the pick-how-to-install menu. * The disc1 images only contain a pkgbase repo; people who want to insta= ll from disc1 without pkgbase will need an internet connection. * The dvd images contain both dist sets and a pkgbase repo suitable for offline installation with either mechanism. * Traditional FreeBSD Update will work for the entire 15.x branch, inclu= ding security updates, since this is relatively easy to do as long as we have= dist sets. * Work is underway to make freebsd-update behave as a wrapper around pkg= base on pkgbase-enabled systems (right now it just refuses to do anything). > It also seems that pkgbase is going to ruin one of the most loved > features of FreeBSD, the clean separation between the base system > and the third party packages? No. Even with pkgbase, packages are still just tarballs, you can go and see for yourself: https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/ Just download one and unpack it. > Even though the pkgbase is going to reside on a separate repository, > which needs it own setup in pkg.conf, this is AFAIK not the same > clean separation. I've been actively using pkg base sets for the last few months, and while there were earlier issues, I think these have all been covered - development in both pkg, and CURRENT & STABLE/15 has been vigorous. `pkg upgrade -r FreeBSD-base` or `pkg upgrade -r FreeBSD-ports` should do the right thing. > Doing a "pkg WHATEVER" now always has the potential to either mess up > the base system or the third party packages. Like the documentation > says, > > "This step might remove non-base packages, which could include the > running desktop environment. Be careful." > > This does actually happen from time to time, pkg is removing installed > packages during an upgrade which it shouldn't remove and you have to > reinstall those packages manually afterwards. Let's see where we're at with 15.0 BETA1 and follow up any remaining bugs closely. It has been a fast & rough road to get to where we're at in the last months, but I am really pleased with using this in production already. Using pkgbase has allowed me to reduce the footprint of our production servers significantly, a win both for security and a disk space, and operationally it's a delight to upgrade systems with it, and build and run podman containers with it too. A+ Dave =E2=80=94=E2=80=94=E2=80=94 O for a muse of fire, that would ascend the brightest heaven of inventio= n!