Page 1 of 1

5.2.8 tar archive issue

Posted: Tue Jun 07, 2016 8:35 pm
by bspeed
Hey,

I keep getting this error when I try to install the latest update.

[root@****** tmp]# tar xzf xi-latest.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

[root@****** tmp]# ls -l -h xi-latest.tar.gz
-rw-r--r-- 1 root root 49M Jun 8 11:04 xi-latest.tar.gz


I've tried downloading using this https://assets.nagios.com/downloads/nag ... 1443496503 and http://assets.nagios.com/downloads/nagi ... est.tar.gz.

I've downloaded it a couple of times, I use SCP to copy the file over from my local machine. The file exports using 7-zip fine on my machine?

Anyone else had this issue? Thanks,

Re: 5.2.8 tar archive issue

Posted: Tue Jun 07, 2016 9:20 pm
by Box293
Yeah it's because you're SCP'ing it over, something is different to the file compared to if you did a wget directly on the server.

Do this:

Code: Select all

gunzip xi-latest.tar.gz
tar xzf xi-latest.tar

Re: 5.2.8 tar archive issue

Posted: Tue Jun 07, 2016 9:49 pm
by bspeed
Awesome! Thanks Box293. Haven't had that issue in the past but I'll remember it now.

Re: 5.2.8 tar archive issue

Posted: Wed Jun 08, 2016 9:07 am
by rkennedy
Are we good to mark this thread as resolved?

Re: 5.2.8 tar archive issue

Posted: Wed Jun 15, 2016 4:53 pm
by bspeed
Yes thank you.