bugGNU tar - Bugs: bug #63508, Tar does not recognize the bzip3...


bug #63508: Tar does not recognize the bzip3 compression format

Submitter:  None
Submitted:  Sun 11 Dec 2022 01:03:50 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  gray
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Sat 11 Feb 2023 12:51:49 PM UTC, comment #2: 

This is a recurring theme in bug reports: it re-appears each time a new compression utility emerges. I doubt that a new long option should be added for each existing compression utility: after all `--bzip3` is no better than `-Ibzip3`. On the other hand, GNU tar had long ago run out of alphabet letters for use in short options. What can be done is to implement automatic recognition of bzip3 format for extraction and recognition of .bz3 suffix for archiving with `-a`.

I'll update this tracker if/when it is implemented.

Sergey Poznyakoff <gray>
Group administrator
Sat 24 Dec 2022 03:03:32 PM UTC, comment #1: 

GNU tar does not officially support bzip3, only up to bzip2.
This is not a bug, bug a feature request.
In the meantime the workaround is pretty simple:

tar -I bzip3 -xf calgary.tar.bz3

LGTR <lgtr>
Sun 11 Dec 2022 01:03:50 PM UTC, original submission:  

Tar does not recognize the bzip3 compression format. Here is how one can reproduce this error.

1. Download the attached file calgary.tar, and compress it with bzip3, using `bzip3 -z calgary.tar`. It will produce a file called calgary.tar.bz3
2. Try to decompress the file with tar only, for example `tar -xf calgary.tar.bz3` The following error results:

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #54083:  calgary.tar.bz3 added by None (789KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gray (Posted a comment)
  • -email is unavailable- added by lgtr (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-02-11 gray StatusNone Confirmed
        Assigned toNone gray
    2022-12-11 None Attached File- Added calgary.tar.bz3, #54083

    Back to the top

    Powered by Savane 3.13-7b9d.
    Corresponding source code