Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2026 19:25:02 -0400
From:      Mike <the.lists@mgm51.com>
To:        freebsd-pkgbase@FreeBSD.org
Subject:   Moving to pkg-based in 15.1 ...
Message-ID:  <db84590d-4284-4a65-83bd-65b517fb783d@mgm51.com>

index | next in thread | raw e-mail


I have a couple of questions as I run a test environment ...

For starters, I downloaded and installed the memstick image of 15.1 
AMD64.  So that is what I am working with here.

OK, under the prior environment when I wanted to update from, say, p5 to 
p6 of the current installed version (e.g., 14.3 p5 to 14.3 p6), I had a 
script that ran ...

	/usr/sbin/freebsd-update fetch

then, after a yes/no prompt ...

	/usr/sbin/freebsd-update install

then, when that completed the script ran ...

	InstalledKernelVersion=$( /bin/freebsd-version -k )
	RunningKernelVersion=$( /bin/freebsd-version -r )
	InstalledUserLandVersion=$( /bin/freebsd-version -u )

	echo "Running kernel:     ${RunningKernelVersion}"
	echo "Installed kernel:   ${InstalledKernelVersion}"
	echo "Installed userland: ${InstalledUserLandVersion}"

and based upon that, I knew whether or not I needed to reboot.

It was fairly simple.  I just ran the script.  No config file changes 
needed.


Now, as I understand the pkgbase system, it has gotten a bit more complex.

I no longer see that easy ability to update from one patch level to the 
current patch level within the installed version.

As I read...

https://wiki.freebsd.org/PkgBase

I see examples of "Minor version upgrades."  But no examples of updating 
from one patch level to a subsequent patch level within a version.

Is there a FreeBSD wiki article I have missed?

thx.




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?db84590d-4284-4a65-83bd-65b517fb783d>