Page 1 of 1

Improperly compressed 1.17.7 archives

Posted: Thu Aug 15, 2024 11:59 pm
by loucipher
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)

Re: Improperly compressed 1.17.7 archives

Posted: Wed Aug 21, 2024 2:23 pm
by timsoft
I get the same issue. thanks for the work-around. The files can also be manually extracted using 7zip gui. :D

Re: Improperly compressed 1.17.7 archives

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

Code: Select all

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

Re: Improperly compressed 1.17.7 archives

Posted: Thu Sep 05, 2024 8:50 am
by FeRDNYC
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'.

Re: Improperly compressed 1.17.7 archives

Posted: Fri Oct 11, 2024 12:20 am
by waldo22
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!