From nobody Wed Sep 18 14:21:11 2024 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X816J26BRz5WTry for ; Wed, 18 Sep 2024 14:21:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X816H6Nc3z48L3 for ; Wed, 18 Sep 2024 14:21:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726669271; a=rsa-sha256; cv=none; b=n0tJw4O+V2OVhgwBS5Rr2qrghKIl/WWxur2+0XOVtAwPpDjujtjaAqDKUQ13IqI3tdvmxT NPyUsOYf+EHPh4dt97FxNHcf3Ym/33VB7iWQCRjaaPnDErst+LBResCZS9gWS8jnFDliQY +Ftyooq0xNDoLyI4M1oIQFTPcxipvGYin9vBQNlIy0mUglRfEbeGitI/Fb2KgX0lmeqzSO oSUys57ZD2Ai+rCKe4hGDAIgeC2IbO6K3llcq54NPVRkk71g6ZnWccSXfSyli55LIxNj9w Md1L+t/XZ0eH+5j/62ISIFiI5RCNG9AuRhgP86uzd1g3Z2lxHwWy19PaBGfADQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726669271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dEjs2rjAgl+Iw3Wgko29cQAOxE9TbgNsK/QrWNp19sc=; b=uTne47Izv6bcWAWObQsiIEPB7sC+HiVWyoG8FxN1yB1o0Ew1ytBK8MOQHrX97oSFo1xd0i xaHtGwLgA0nZGaL1SRA3r8/sgtm3Yc5C5Tj0sJ5WB7fnS2bWReJpK0RFrqKHdcH+4bjvHh 3jZGkJ9weecmGbIRR17VhSNlusWYxYYlwdQGhReTrGPIzZbEZBmiFnTtPG5CSMlRHYoZO0 hpQstub5XXJzy1zdbyfQSVGnb/sWSiQ2MQF/dY0YcLZMJZPApQZbYh8x7DoffdIPxESVO0 GF7+Eiyj1ff+5SV88c7kHE43DwCbD2C/9JXbbWR8hMsg1gW2AV2wQ8NK8TstcQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X816H614HzPjg for ; Wed, 18 Sep 2024 14:21:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48IELBwB038439 for ; Wed, 18 Sep 2024 14:21:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48IELBNa038438 for doc@FreeBSD.org; Wed, 18 Sep 2024 14:21:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 281570] What's reponame? (and what's pkg-name?) Missing explanation Date: Wed, 18 Sep 2024 14:21:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bofh@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281570 Muhammad Moinur Rahman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bofh@freebsd.org --- Comment #1 from Muhammad Moinur Rahman --- `pkg help fetch` mentions that it "Fetches packages from the given repo nam= e 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 reposi= tory name you have configured in your .conf file. If you are using t= he FreeBSD one by default it is `FreeBSD`. This is what I get in my builder: =E2=9D=AF 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