>Synopsis:      pkg_info -Q uses only first URL in PKG_PATH
>Category:      package management
>Environment:
        System      : OpenBSD 6.4
        Details     : OpenBSD 6.4 (GENERIC.MP) #364: Thu Oct 11 13:30:23 MDT 
2018
                         
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        Using pkg_info with a PKG_PATH that has more than one URL separated by 
a colon will only search the first URL.
>How-To-Repeat:
        
PKG_PATH=https://stable.mtier.org/updates/6.4/amd64:https://cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64
 pkg_info -Q git
        It will print out only gitea from the mtier repo.
>Fix:
        pkg_info should search all URLs sequentially. I'm not sure how to 
handle the case where a package is in both repos but printing out just the 
first would be fine I guess?

Reply via email to