Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2025 20:29:22 +0000
From:      "Dave Cottlehuber" <dch@FreeBSD.org>
To:        "Mark Johnston" <markj@freebsd.org>, freebsd-pkgbase@freebsd.org
Cc:        freebsd-arch@freebsd.org, re <re@freebsd.org>
Subject:   Re: freebsd-update and pkgbase
Message-ID:  <c7a4122b-383f-40d4-8b3c-1c966e1eceea@app.fastmail.com>
In-Reply-To: <aKSgDAqct9o1MiNZ@nuc>
References:  <aJPGX9zXE3MeiuhP@nuc> <aKSgDAqct9o1MiNZ@nuc>

index | next in thread | previous in thread | raw e-mail

> On Wed, Aug 06, 2025 at 05:17:19PM -0400, Mark Johnston wrote:
>> The future of freebsd-update post 15.0 isn't totally clear.  There have
>> been proposals to remove it in 15.0.  IMO we can't remove it outright,
>> since may be needed in order to upgrade 13.x and 14.x jails on a 15.0
>> host.

Hi Mark,

This is an excellent point.

It is also a shame to lose a simple upgrade utility that is
>> well-documented and that many users are familiar with; compare
>> "freebsd-update upgrade -r 14.3-RELEASE" with the upgrade instructions
>> on the pkgbase wiki page.
>> 
>> pkgbase offers a lot of flexibility but I suspect many users don't need
>> it; they need a one-shot "upgrade my system, please" utility that will
>> automatically create a boot environment, configure pkg repositories as
>> needed for major/minor/security upgrades, fetch packages, and handle
>> package installation order (i.e., kernel first, followed by a reboot).

Arguably a "pkg-base-update" tool should aim for this level of simplicity anyway. And if pkgbase overall can't provide that,
we should address that.

>> I don't really think this functionality belongs in pkg itself.  So,
>> seeing as freebsd-update already handles some of the above, and users
>> are already familiar with it, I propose extending freebsd-update to work
>> in a pkgbase world.  Users would be free to not use it and instead use
>> pkg directly if they so desire, but this would provide a simple
>> alternative to those who don't want or need that flexibility.
>> 
>> I'm going to try implementing this, if only to see if there are 

thank-you. This seems like an excellent idea, happy to pilot this.

A+
Dave
———
O for a muse of fire, that would ascend the brightest heaven of invention!


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c7a4122b-383f-40d4-8b3c-1c966e1eceea>