Setup:

- Stock /etc/pkg/FreeBSD.conf
- The following in /usr/local/etc/pkg/repos/local.conf

local: {
        url: "file:///some/long/path",
        enabled: yes,
        priority: 1,
}

Querying for a package that exists in both repos yields apparently
duplicate results:

$ pkg rquery '%n' dokuwiki
dokuwiki
dokuwiki

Adding the %R pattern disambiguates things:

$ pkg rquery '%R-%n' dokuwiki
FreeBSD-dokuwiki
local-dokuwiki

Is there a way to ask rquery to only return results for the highest
priority repo? (Local in this case).

Thanks,
Jose
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to