Pin the packages to FreeBSD to ver 12.2

Hi, is there a way to pin the upgrade of packages to release ver 12.2 instead of updating to the latest?

Once in a while when I run 'pkg install packagename', it seems to prompt for 'pkg' to update to the latest, then updating the package itself.
 
Dear erdos,
from my understanding packages are build for the supported FreeBSD RELEASE versions based on the same ports tree. Additionally only the major number counts because this is related to the ABI. The packages for 12.2 and 12.3 should be similar.

Once in a while when I run 'pkg install packagename', it seems to prompt for 'pkg' to update to the latest, then updating the package itself.
Sometimes even pkg is updated. May be this is what you observe.
 
Hi, is there a way to pin the upgrade of packages to release ver 12.2 instead of updating to the latest?
The versions of ports/packages are not linked to the version of FreeBSD. There's only one ports tree, all supported versions of FreeBSD use that same ports tree. Thus all supported versions have the same versions w.r.t. ports/packages.
 
based on the same ports tree.

Latest, the main branch; and quarterly, which is currently the 2022Q1 branch.

Visualised in cgit:

1647281594268.png


In greater detail, but outdated:

Ports and Packages for Supported Releases | The FreeBSD Project
 
Dear erdos,
from my understanding packages are build for the supported FreeBSD RELEASE versions based on the same ports tree. Additionally only the major number counts because this is related to the ABI. The packages for 12.2 and 12.3 should be similar.


Sometimes even pkg is updated. May be this is what you observe.
I have a question about this, what does "The packages for 12.2 and 12.3 should be similar" entail?

I currently have one builder, 12amd64 running in a 12.2-RELEASE jail and another builder 13amd64 running in a 13.0-RELEASE jail.
I'm upgrading servers from 12.2 > 12.3-RELEASE. Should I create a third builder, 123amd64 using a 12.3-RELEASE jail or upgrade the 12amd64 jail to 12.3-RELEASE and have the 12.2 servers use that repo, even though some might run 12.2 for a few days?
 
From my understanding two builders should match your requirements. One for the FreeBSD-12.*, one for the FreeBSD-13.*. It should make no difference if the FreeBSD-12.* builder runs FreeBSD-12.2 or FreeBSD-12.3. About the update or upgrade to FreeBSD-12.3 of the builder: I would keep them running FreeBSD-12.2 and update them when you update your other computers to FreeBSD-12.3.
 
I see you commenting on versions of FreeBSD, and which run, I have a FreeBSD 11 on a machine running full steam, I'm still building up the courage to build the world. :D
 
The versions of ports/packages are not linked to the version of FreeBSD. There's only one ports tree, all supported versions of FreeBSD use that same ports tree. Thus all supported versions have the same versions w.r.t. ports/packages.
let's say not all of them. depends on the version of FreeBSD as I said I have a version running FreeBSD 11, it's a modified version until, I intend, keep until I have a time and build the world.
 
Back
Top