Writing "pkg help fetch" I see the term reponame used, however this term is not explained while running "pkg help fetch", nor do I find this term in the manual page of pkg or if I search the FreeBSD documentaiton online.
`pkg help fetch` mentions that it "Fetches packages from the given repo name if multiple repo support is enabled. See pkg.conf(5)." So have you read `man 5 pkg.conf` Although it's not exactly mentioned there either but reponame is the repository name you have configured in your <REPOSITORY>.conf file. If you are using the FreeBSD one by default it is `FreeBSD`. This is what I get in my builder: ❯ grep -E '\:\s\{' /usr/local/etc/pkg/repos/*.conf /etc/pkg/*.conf | grep -v '#' /usr/local/etc/pkg/repos/base.conf:base: { /usr/local/etc/pkg/repos/FreeBSD.conf:FreeBSD: { /usr/local/etc/pkg/repos/infrastructure.conf:infrastructure: { /etc/pkg/FreeBSD.conf:FreeBSD: { So in my case the repo names are base, FreeBSD and infrastructure. So as I have multiple pkg repos configured I can use `pkg -r <base|FreeBSD|infrastructure> <PKG SUBCOMMAND` to mention from which repo I want to install.
Thanks, however, I feel it could be more clearly and explicitly stated in "pkg help fetch" and (potentially also in "man pkg.conf"). Right now it's a bit confusing(In reply to Muhammad Moinur Rahman from comment #1)