[Bug 291200] ports-mgmt/pkg periodic script weekly/400.status-pkg uses a wrong pkg -R option
Date: Wed, 18 Mar 2026 17:27:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291200
--- Comment #9 from Vladimir Druzenko <vvd@FreeBSD.org> ---
pkg-version(8):
The database of available packages and versions to compare against the
installed packages may be chosen by specifying one of -P, -R or -I or by
setting VERSION_SOURCE in pkg.conf(5). If not specified then the ports
index file will be used if it exists (-I). Otherwise, should a ports
tree exist that will be used to compare versions (-P). Failing either of
those two choices, the repository catalogue will be used (-R).
pkg.conf(5):
VERSION_SOURCE: string
Default database for comparing version numbers in
pkg-version(8). Valid values are I for index, P for ports,
R for remote. Default: If unset, the algorithm described in
pkg-version(8) is used to determine the version source
automatically.
We can use "setting VERSION_SOURCE in pkg.conf(5)" instead.
1) Change default behavior in pkg-version (update man page too) to use by
default "-R".
2) Or add in pkg.conf.sample option VERSION_SOURCE=R.
--
You are receiving this mail because:
You are the assignee for the bug.