Date: Tue, 13 Jan 2015 15:26:39 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 192703] ports-mgmt/pkg: pkg install uses the wrong repository for some packages Message-ID: <bug-192703-32340-Bg4qDaA68y@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-192703-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-192703-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192703 --- Comment #5 from elofu17@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192703-32340-Bg4qDaA68y>