WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tar: warning: skipping header 'g'  (Read 2749 times)

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
tar: warning: skipping header 'g'
« on: November 24, 2014, 09:06:42 PM »
Hi all,

Am trying to setup Rdiff-Web for tinycore, have worked throught some dependencies, and am now trying to extract the tarball for rdiff-web itself and came across the following strange error.

Site
Code: [Select]
https://github.com/ikus060/rdiffweb/blob/master/README.md
Download
Code: [Select]
wget --no-check-certificate -O ikus060-rdiffweb.tar.gz https://github.com/ikus060/rdiffweb/archive/v0.6.5.tar.gz
Extract
Code: [Select]
tar -xf ikus060-rdiffweb.tar.gz
tar: warning: skipping header 'g'

I've done a bit of googling and am wondering if this has something to do with busybox not having pax header support ?
I could be way off base on this error.

All comments and suggestions are welcome.

Thanks :)
Live long and prosper.

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: tar: warning: skipping header 'g'
« Reply #1 on: November 24, 2014, 10:00:08 PM »
copied tar.gz file to windows

extracted with 7zip

copied contents back to microcore system

repackaged dir for storage

Will test and see if doing stuff to it on windows screwed up the source files.
Live long and prosper.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: tar: warning: skipping header 'g'
« Reply #2 on: November 24, 2014, 10:50:28 PM »
To untar a gzipped tar file you need to use the 'z' option.

tar -xzf ikus060-rdiffweb.tar.gz

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: tar: warning: skipping header 'g'
« Reply #3 on: November 24, 2014, 10:58:36 PM »
 ::)

Oh man how embarrassing I got into a lazy habbit of just using -xf cause it worked for all the tar.gz files I was downloading.

Thanks gerald_clark, much appreciated.

Remus
Live long and prosper.