Skip to content

mime type of ripgrep-15.2.0-x86_64-unknown-linux-musl.tar.gz is wrong #3479

Description

@yangyingchao

Please tick this box to confirm you have reviewed the above.

  • I have a different issue.

What version of ripgrep are you using?

15.2.0

How did you install ripgrep?

https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-x86_64-unknown-linux-musl.tar.gz

What operating system are you using ripgrep on?

Gentoo linux

Describe your bug.

mime type of ripgrep-15.2.0-x86_64-unknown-linux-musl.tar.gz is wrong.

It should be gzip compressed data, instead of DOS/MBR boot sector...

# (yyc@tdesk)-[~/Downloads]
$ file ripgrep-15.2.0-* 
ripgrep-15.2.0-aarch64-apple-darwin.tar.gz:      gzip compressed data, last modified: Wed Jul 15 16:09:11 2026, from Unix, original size modulo 2^32 4404224
ripgrep-15.2.0-x86_64-unknown-linux-musl.tar.gz: DOS/MBR boot sector
                                                                                                                                                                                                                                        
# (yyc@tdesk)-[~/Downloads]
$ file --mime-type ripgrep-15.2.0-*                 
ripgrep-15.2.0-aarch64-apple-darwin.tar.gz:      application/gzip
ripgrep-15.2.0-x86_64-unknown-linux-musl.tar.gz: application/octet-stream

What are the steps to reproduce the behavior?

  1. download from: https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-x86_64-unknown-linux-musl.tar.gz

  2. execute

file ripgrep-15.2.0-x86_64-unknown-linux-musl.tar.gz 

What is the actual behavior?

file reports dos boot sector

What is the expected behavior?

file should report gzip compressed data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions