[Bug 192703] ports-mgmt/pkg: pkg install uses the wrong repository for some packages
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 13 15:26:39 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192703
--- Comment #5 from elofu17 at hotmail.com ---
Hi Baptiste!
Thanks. The CONSERVATIVE_UPGRADE mode in 1.4.3 works fine.
Ports annotated to myrepo is now upgraded from myrepo while the rest is taken
from FreeBSD. Good.
However, I think you need to explain more about Priority, and possibly remove
conflicting information, in the manpage for pkg.conf.
I assume that "priority" and "repo order" are the same thing.
The command 'pkg -v -v' show the repo order.
No matter if I set priority: 15 on myrepo and priority: 1 on FreeBSD, or vice
versa, 'pkg -v -v' always show FreeBSD first and then myrepo.
If this is *not* an error, this need to be better explained in the manual.
Right now the manual states:
Repositories are prioritized in the order they are found on the REPOS_DIR
search path, with individual repository configuration files in the same
directory processed in alphabetical order. Earlier files take prece-
dence, meaning that packages will be downloaded from them preferentially
where the same package is available from several repositories. This be-
haviour may be overridden per-package by adding a repository annotation
to the installed package. See pkg-repository(8) for details.
I believe this needs to be updated.
Also, 'pkg -v -v' should be updated to always show the Priority of each listed
repo (which it doesn't in v1.4.3), imho.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list