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.
 
anguisette - thanks a lot for the reply! This is exactly the detail ("stable" pkgs being considered "older") I was looking for.

I didn't express myself precisely enough, though. I expected the 'pkg' to pick up the updated packages from the 'weekly' repository and referred to "p8" kernel as an indication that it didn't happen (i.e. no upgrades to the currently installed "p5" kernel at all). Now it's clear why.

I might actully want to switch to the "STABLE" for a machine I use for experimentation. Or even better, I should be able to do it in "jain", no?

Question - the handbook doesn't explain this well, IMHO. Should I try to propose an update to it? Or is it usually done by the core BSD team?

Thanks a lot again!
 
I might actully want to switch to the "STABLE" for a machine I use for experimentation. Or even better, I should be able to do it in "jain", no?
You can't run a 15.2-STABLE jail on a 15.1-RELEASE host.

Should I try to propose an update to it?
Anyone can submit patches. For the OS, for ports, for documentation, for anything really.
 
Back
Top