Improperly compressed 1.17.7 archives

The place to discuss linux version of MakeMKV
Post Reply
loucipher
Posts: 14
Joined: Tue Nov 29, 2022 12:45 am

Improperly compressed 1.17.7 archives

Post by loucipher » Thu Aug 15, 2024 11:59 pm

Seems the 1.17.7 release isn't packaged properly.

Code: Select all

$ tar xvf makemkv-bin-1.17.7.tar.gz 
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
However, if gzip -d it first,

Code: Select all

$ gzip -d makemkv-bin-1.17.7.tar.gz 

$ tar xvf makemkv-bin-1.17.7.tar 
makemkv-bin-1.17.7/
makemkv-bin-1.17.7/Makefile
makemkv-bin-1.17.7/bin/
makemkv-bin-1.17.7/bin/arm64/
makemkv-bin-1.17.7/bin/arm64/makemkvcon
makemkv-bin-1.17.7/bin/armhf/
makemkv-bin-1.17.7/bin/armhf/makemkvcon
makemkv-bin-1.17.7/bin/i386/
makemkv-bin-1.17.7/bin/i386/makemkvcon
makemkv-bin-1.17.7/bin/amd64/
makemkv-bin-1.17.7/bin/amd64/makemkvcon
makemkv-bin-1.17.7/src/
makemkv-bin-1.17.7/src/eula_en_linux.txt
makemkv-bin-1.17.7/src/share/
makemkv-bin-1.17.7/src/share/appdata.tar
makemkv-bin-1.17.7/src/share/blues.policy
makemkv-bin-1.17.7/src/share/blues.jar
makemkv-bin-1.17.7/src/ask_eula.sh
It works fine. Same for the oss tar.gz. Not a big deal, and a utility like Ark handles it fine, but with the CLI tar utility, it fails. Something to watch out for on the next release, and an FYI for anyone having issues.

(Side note, this is specific to this release, nothing wrong with my tar command. Works fine with previous releases such as 1.17.6)

timsoft
Posts: 1
Joined: Wed Aug 21, 2024 2:19 pm

Re: Improperly compressed 1.17.7 archives

Post by timsoft » Wed Aug 21, 2024 2:23 pm

I get the same issue. thanks for the work-around. The files can also be manually extracted using 7zip gui. :D

demon
Posts: 135
Joined: Sat Dec 20, 2014 7:06 am

Re: Improperly compressed 1.17.7 archives

Post by demon » Fri Aug 30, 2024 2:17 am

You need to run

Code: Select all

tar zxf [.tar.gz file name]
for a gzip'd file.

FeRDNYC
Posts: 4
Joined: Fri Jan 31, 2020 12:34 pm

Re: Improperly compressed 1.17.7 archives

Post by FeRDNYC » Thu Sep 05, 2024 8:50 am

demon wrote:
Fri Aug 30, 2024 2:17 am
You need to run

Code: Select all

tar zxf [.tar.gz file name]
for a gzip'd file.
You don't, any remotely modern GNU tar will auto-detect compressed archives; an explicit z or j or J hasn't been necessary when extracting since like the mid-2000s. When creating the archive, sure, but tar's x-mode is smart. You'd have to be using some ancient BSD tar (or, knowing Apple, probably the one bundled with even current macOS versions) for it to actually require an archive format specified on extraction.

That being said, I had no issues with extracting either makemkv-oss-1.17.7.tar.gz or makemkv-bin-1.17.7.tar.gz using 'tar xf $THEFILE'.

waldo22
Posts: 11
Joined: Sat Feb 27, 2016 5:18 pm

Re: Improperly compressed 1.17.7 archives

Post by waldo22 » Fri Oct 11, 2024 12:20 am

Just a quick "me too" on this. I had to run `gzip -d` on the file first before I could untar it.

Thanks for the tip!

Post Reply