I am using nvidia packages as an example, because I personally have
been affected, but the problem can be more general.
Splitting nvidia-driver into the kernel and userland pieces was the
right thing from the perspective that the kernel driver is obvious
coupled with kernel version.
But it seems that nvidia userland and kernel module are also coupled
with each other.
Main package repo-s and kmod repo-s are updated at independent cadences. >Also, there can be build failures that can introduce further >unpredictability into package update cycles.
So, it can happen and has happened recently that nvidia packages got
updated in one place but remained at an older version in the other.
On Wed, Nov 12, 2025 at 03:28:28PM +0200, Andriy Gapon wrote:
I am using nvidia packages as an example, because I personally have
been affected, but the problem can be more general.
Splitting nvidia-driver into the kernel and userland pieces was the
right thing from the perspective that the kernel driver is obvious
coupled with kernel version.
But it seems that nvidia userland and kernel module are also coupled
with each other.
Main package repo-s and kmod repo-s are updated at independent cadences. >Also, there can be build failures that can introduce further >unpredictability into package update cycles.
So, it can happen and has happened recently that nvidia packages got >updated in one place but remained at an older version in the other.
Yikes! :(
I don't use repos/pkgs, and build everything from source.
Although everything in a port gets built into a pkg before it
installs.
On a desktop, the x11/nvidia-driver-470 port gets rebuilt and
reinstalled every time the kernel gets rebuilt and reinstalled.
It does this because of a PORTS_MODULES+= line
in /etc/src.conf containing x11/nvidia-driver-470
Will this still take care of everything required or is
"userland" something else, does it need to build something else
in addition to make sure userland and the kmod don't go out of sync
like you describe?
----
On Wed, Nov 12, 2025 at 03:28:28PM +0200, Andriy Gapon wrote:
Main package repo-s and kmod repo-s are updated at independent cadences. >>> Also, there can be build failures that can introduce further
unpredictability into package update cycles.
So, it can happen and has happened recently that nvidia packages got
updated in one place but remained at an older version in the other.
Hope this is an extraordinary situation in preparation of new
*.0-Release. I'm not using official pkg repos, but IIRC, nvidia
driver things on main repo are usually built quickly after commits.
On 13/11/2025 01:17, Tomoaki AOKI wrote:When there are two supported minor releases of the same branch,
On Wed, Nov 12, 2025 at 03:28:28PM +0200, Andriy Gapon wrote:
Main package repo-s and kmod repo-s are updated at independent cadences. >>> Also, there can be build failures that can introduce further
unpredictability into package update cycles.
So, it can happen and has happened recently that nvidia packages got
updated in one place but remained at an older version in the other.
Hope this is an extraordinary situation in preparation of new
*.0-Release. I'm not using official pkg repos, but IIRC, nvidia
driver things on main repo are usually built quickly after commits.
There is nothing extraordinary about this situation, it's a natural consequence
of packages being in different repositories which are built independently. It's bound to happen again.
So, it's better to prevent the desynchronization by means of pkg(8).
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 54 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 16:14:00 |
| Calls: | 742 |
| Files: | 1,218 |
| D/L today: |
3 files (2,681K bytes) |
| Messages: | 184,405 |
| Posted today: | 1 |