[Bug 281570] What's reponame? (and what's pkg-name?) Missing explanation
Date: Wed, 18 Sep 2024 14:21:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281570 Muhammad Moinur Rahman <bofh@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bofh@freebsd.org --- Comment #1 from Muhammad Moinur Rahman <bofh@freebsd.org> --- `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. -- You are receiving this mail because: You are on the CC list for the bug.