From owner-freebsd-questions@freebsd.org Sat Jul 25 18:38:05 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0E24836C0A4 for ; Sat, 25 Jul 2020 18:38:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BDZZM6Z2sz4WYj for ; Sat, 25 Jul 2020 18:38:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.23.103]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1MDhV1-1k7tNu1aRL-00AkBz; Sat, 25 Jul 2020 20:38:01 +0200 Date: Sat, 25 Jul 2020 20:38:01 +0200 From: Polytropon To: Lonnie Cumberland Cc: freebsd-questions@freebsd.org Subject: Re: tbz file from pkg Message-Id: <20200725203801.9a4965b8.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:8tZAKJHY4dLPdlarzPu6Avv63IgEeNpQVqGuOnvzCw+JJ9MQ7GQ yBCqUXVVUxWHe4Z8y3ypmoEsQrxRJeeEOA3+j/QZW6VT+6swmE5sxUOos+fDA8M7z0rSRzD NZdMq1NaubW9DNtv5sGYRMcBuU8UhcgV1UMm3fU5c1/EU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=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [2.13 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-0.16)[-0.162]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.23.103:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.43)[-0.431]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.33)[0.326]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.131:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.131:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2020 18:38:05 -0000 On Sat, 25 Jul 2020 13:25:19 -0400, Lonnie Cumberland wrote: > In working with the "pkg fetch .." command, I notice that the coles come > back with the ".txz" extension. > > In my reading on FreeBSD, it seems that the common extension is a ".tbz" Those extensions mean different things. > So then, I am wondering how to either have "pkg fetch" return ".tbz" files > or perhaps there is a way to convert the ".txz" files. > > Any insight on this? The extensions usually identify what 't' that is is a tar archive, and "xz" indicates the kind of compression. There are many: ----- filename extensions ----- ------- compression -------- short long alternate meaning tar option ------------------------------------------------------------ .tar tar .tgz .tar.gz tar + GNU zip -z .tbz .tar.bz .tar.bz2 tar + bzip -j .txz .tar.xz tar + xz -J BSD tar supports them all, it can conveniently combine the uncompression and extraction operations. Also see "man 1 xz" and "man 1 bzip2" for details, as well as "man 1 tar", of course. :-) In order to convert a .txz to a .tbz archive, you can use the tools mentioned above to uncompress and recompress the content. Note that there are various options that can affect the compression level. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...