FreeBSD 15 RELEASE, not clear how to use 'pkgbase' to get weekly updates

Hi all!

I've installed the 15.0 release (uname -r : "5.0-RELEASE-p5") with the 'pkgbase' enabled from the beginning.

I've then updated the '/usr/local/etc/pkg/repos/FreeBSD.conf' to use the 'base_weekly'.

'pkg update/upgrade -r FreeBSD-base' doesn't pick-up the new patch levels of the kernel, (now p8).

I've re-read the handbook, looked at the forum threads, etc. Couldn't find any guidance.

I suspect that if one installs the 'RELEASE' branch and then tries to move to 'base_weekly' there's is some mismatch somewhere
that prevents the 'pkg' to pick up the updates.

Would be grateful for any pointers!
 
'pkg update/upgrade -r FreeBSD-base' doesn't pick-up the new patch levels of the kernel, (now p8).
base_weekly is 15-STABLE (or 14-STABLE, depending on ${ABI}), which is now 15.2-STABLE. There are no "patch" versions on -STABLE, it's more like a rolling release (it's actually more like an alpha version of the next minor release).

Post the output of pkg repos and freebsd-version -urk
 
if you actually want to switch from 15.0-RELEASE to 15-STABLE, then you have to use pkg install -f -r FreeBSD-basefor the initial upgrade. this is because pkg considers the "stable" packages to be older than the "release" packages. this is only required the first time you run pkg upgrade; after that, a normal pkg upgrade will work fine.

however, it sounds like you don't want to switch to stable, since you're expecting a "p8" kernel, and those only exist on release branches. in that case, don't do this, and immediately revert the changes you made to FreeBSD-base.conf to avoid accidentally installing packages from stable.

note that stable is a development branch and is not intended for end-user production systems.
 
Back
Top