Date: Wed, 15 Jan 2025 06:32:34 +0000 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) Message-ID: <bug-284054-32340-MJP69mTP8G@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-284054-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-284054-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284054 --- Comment #12 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Terry Kennedy from comment #11) pkg-create has: QUOTE -f format, --format format Set format as the package output format. It can be = one of tzst, txz, tbz, tgz or tar which are currently = the only supported formats. If an invalid or no format = is specified txz is assumed. END QUOTE Also: https://github.com/freebsd/pkg/blob/main/README.md reports: QUOTE The pkg package format is a tar archive that may be raw or compressed using one of the following algorithms: gz, bzip2, zstd, or xz. The default compression algorithm is zstd. END QUOTE Note that that would mean that the modern default format produced is tzst instead of txz . But all of those options produce .pkg as the file extension as far as I can tell. *.pkg gives no clue which format is in use. Nor does -f pkg do so. Making it silent would just lead to confusions when mismatches happen. Making it be txz format would be to make it not use the modern default format. Making it use tzst would not match tools that are not being updated to track. To me it seems best to have the "pay attention here" notice than to be silent. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284054-32340-MJP69mTP8G>