From nobody Tue Jan 14 16:53:37 2025 X-Original-To: pkg@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 4YXZvj29ghz5ktgw for ; Tue, 14 Jan 2025 16:53:37 +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 4YXZvj1Xgmz40W7 for ; Tue, 14 Jan 2025 16:53:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736873617; 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=MYf7mEMqcQRZWKetwIuNQFfzcSIb6z0VaG1ah43DgnE=; b=b5Ib+vTmeP+1Ox9uSbzE1ePu8fxvlu2bcUqEfGo1QfaX57GqPMBiIuYwJM/F+V8WOS9X4M UynDT3vpA1UVHv7jpt01lcQAdZzVQto2sfRFqtqO/v9F6ONdoZLCzJ96/8lbRqWGJ4wWCq ew+akWTErpGyLc11aUXkSp/63PgQDCl/23a+8ZsklIR+NG5Fx+3sUCwKIYL7Th7AdI7Sh4 jgRNFnZ/fQPTTqUvs52Df5/rNW3zwHYfjQcKi/kn6VpWo3esV7H4oLKtwxcSoi6uw6tLnN q+EQr+dkMVKlbRtsn0jgRnQyktxdN4FkBjZF2r+73Kewq7w1zOaUN+2V7pAp5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736873617; 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=MYf7mEMqcQRZWKetwIuNQFfzcSIb6z0VaG1ah43DgnE=; b=e++QBHlXXeVWfDjQr8268KgL5UmY0zmIRWPvMvZ+P9bIVnGOVSZSwemEdRf/cO0/gD1XWl B2UjFEiVa5B1H8aLv8sKmcYo4YTTABvUu8LZFC2F0jbmhNHITJO7Y8xAD0hSuyGUNbaNLL DzaGvPb9jPQvxqW+/e10N8jp+2o7Df3AiiQ2Nry4nnfvNTlbnJzIybOFmZSduHzOMWabXM Rx972L2EuXX2QcH/u868e/DOTb7cg2FgO8ru/II09QTU5bhV9rahnWdKbZ3t3rXpW6SwLI 7BcvdTTVSrDbOOaRdwQjAGq4zRrbUxJpllBWAwZVFWUYGx4/YKCgOV4oEpaUAw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736873617; a=rsa-sha256; cv=none; b=TDKcx89km566EzNenZiJlsn7RFcrti/1qyWuUOTN6LaWD7HBhL9EsvmUPz/p6t1gL61ehz 7eEjzpn6lZnTP3aPlTAlKdvkbzqHjyaYb8z8jRz/6ltbgt+bJJT7YYqEKnzV1DSM5+iWsS mqcua5u0ABD2YS6wx7itQGvxkt+C+vpKedgA3wd7J19ipnsELUZpgb+ZQu0wwUPz/zG3QK UtdFOWs8AXDm4mFBevBLNUIYhhVLuTfigEIUh5KEiiQkMNAaTSAHYpIQM4h7ubcoQGjdEb gYmGlq+9HiLInxzICA2O47izeyTFy9LS1ndh9ZASKDmJAZAVH45ofsF85/NEIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YXZvj0zQ6z1NY8 for ; Tue, 14 Jan 2025 16:53:37 +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 50EGrbuT014639 for ; Tue, 14 Jan 2025 16:53:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50EGrb0k014638 for pkg@FreeBSD.org; Tue, 14 Jan 2025 16:53:37 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: pkg@FreeBSD.org Subject: [Bug 284054] ports-mgmt/pkg: Does not recognize .pkg as a valid suffix (triggered by portupgrade) Date: Tue, 14 Jan 2025 16:53:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284054 --- Comment #9 from Mark Millard --- (In reply to Mark Millard from comment #7) Hmm. There was a much later fix (2024!) to the usage messages to track that change: diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c index 70086886fbc5..cc23ffb8c257 100644 --- a/usr.sbin/pkg/pkg.c +++ b/usr.sbin/pkg/pkg.c @@ -895,7 +895,7 @@ static const char args_bootstrap_message[] =3D static const char args_add_message[] =3D "Too many arguments\n" -"Usage: pkg add [-f] [-y] {pkg.txz}\n"; +"Usage: pkg add [-f] [-y] {pkg.pkg}\n"; static int pkg_query_yes_no(void) @@ -1167,7 +1167,7 @@ main(int argc, char *argv[]) if (add_pkg) { if (pkgarg =3D=3D NULL) { - fprintf(stderr, "Path to pkg.txz required\n= "); + fprintf(stderr, "Path to pkg.pkg required\n= "); exit(EXIT_FAILURE); } if (access(pkgarg, R_OK) =3D=3D -1) { See: https://cgit.freebsd.org/src/commit/usr.sbin/pkg?id=3Df5c847ae849aab9354d09= 56afd683f1c90bfd91e So the bootstrap's messaging did not make discovery of the default being .pkg simple via that path of discovery. --=20 You are receiving this mail because: You are the assignee for the bug.=