Hello,
I need to enable a common repository for many FreeBSD servers, for some packages that are compiled with custom patches and options. On the server repository, where I compile the custom packages, I bump the minor version number.
I've added the repository to the all servers in /usr/local/etc/pkg/repos/local.conf
But I do not see package upgrades when I run pkg upgrade, it gives me only package upgrades from the official repository, not the local ones.
Only when I do :
The updates appear, but the above command seems to disable all updates from the official repository.
How I can have both repositories enabled, where only higher version of a package is updated/installed?
I need to enable a common repository for many FreeBSD servers, for some packages that are compiled with custom patches and options. On the server repository, where I compile the custom packages, I bump the minor version number.
I've added the repository to the all servers in /usr/local/etc/pkg/repos/local.conf
Code:
local: { url: "http://REPOSITORY_SERVER", mirror_type: "srv", enabled: yes, priority : 100 }
But I do not see package upgrades when I run pkg upgrade, it gives me only package upgrades from the official repository, not the local ones.
Only when I do :
Bash:
echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
How I can have both repositories enabled, where only higher version of a package is updated/installed?