ulla
Posts: 9
Joined: Fri Dec 04, 2015 11:18 am

Error uncompressing .tar.gz file

Fri Dec 04, 2015 11:33 am

Hi,

I am a new user running Raspbian Jessie (8.0) on a Raspberry Pi 2 B.
Everything seems to be running fine, I can run the applications that came with the Raspbian.

I am trying to install openFrameworks. I used curl -O to download the .tar.gz and as a result I can see the file in the file manager.
But when I try to uncompress it with tar vxfz *.tar.gz I get the following error:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

It seems to me that the .tar.gz file is not recognised as an archive. The file command returns the following information:
HTML document, ASCII text, with CRLF line terminators

Any help would be very much appreciated.

Thanks,
Ulla

User avatar
hansotten
Posts: 341
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 12:26 pm

You did not download the archive, but an HTML page, possibly the page where the download can be found.

What is the url you are using for the download?

A quick check on teh OpenFrameworks page shows me: http://www.openframeworks.cc/versions/v ... ase.tar.gz for RPi B, B+ (ARMv6) and http://www.openframeworks.cc/versions/v ... ase.tar.gz for 2B (ARMV7)
Last edited by hansotten on Fri Dec 04, 2015 12:29 pm, edited 1 time in total.
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu


User avatar
hansotten
Posts: 341
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 12:30 pm

Alternative way would be to use wget <url>
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

ulla
Posts: 9
Joined: Fri Dec 04, 2015 11:18 am

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 12:38 pm

Hi hansotten,
Thanks for your reply, but unfortunately this leads to the same error.
Ulla

User avatar
hansotten
Posts: 341
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 12:48 pm

Just did a

Code: Select all

wget http://www.openframeworks.cc/versions/v0.9.0/of_v0.9.0_linuxarmv7l_release.tar.gz
tar -xvf of_v0.9.0_linuxarmv7l_release.tar.gz
and is downloaded and unpacked fine.

To be sure, also a curl -O command did get the same file, on which tar did its job.
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

ulla
Posts: 9
Joined: Fri Dec 04, 2015 11:18 am

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 1:03 pm

I am still getting the same error. Could there be something wrong with my operating system?

DirkS
Posts: 10362
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 1:05 pm

ulla wrote:I am still getting the same error. Could there be something wrong with my operating system?
If it's a HTML file it could be an error page.
Try opening the link in a web browser, or open the downloaded file in a viewer / editor to check its contents.

ulla
Posts: 9
Joined: Fri Dec 04, 2015 11:18 am

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 1:35 pm

I have just opened the file with Text Editor, see content below:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="refresh" content="0;url=http://www.webaddresshelp.bt.com/main?ParticipantID=mg76cjr54t8kx45jjw4j4k9j5hsr5m26&FailedURI=http%3A%2F%2Fwww.openframeforks.cc%2Fversions%2Fv0.9.0%2Fof_v0.9.0_linuxarmv71_release.tar.gz&FailureMode=1&Implementation=&AddInType=4&Version=pywr1.0&ClientLocation=uk"/><script type="text/javascript">url="http://www.webaddresshelp.bt.com/main?ParticipantID=mg76cjr54t8kx45jjw4j4k9j5hsr5m26&FailedURI=http%3A%2F%2Fwww.openframeforks.cc%2Fversions%2Fv0.9.0%2Fof_v0.9.0_linuxarmv71_release.tar.gz&FailureMode=1&Implementation=&AddInType=4&Version=pywr1.0&ClientLocation=uk";if(top.location!=location){var w=window,d=document,e=d.documentElement,b=d.body,x=w.innerWidth||e.clientWidth||b.clientWidth,y=w.innerHeight||e.clientHeight||b.clientHeight;url+="&w="+x+"&h="+y;}window.location.replace(url);</script></head><body></body></html>

User avatar
topguy
Posts: 6491
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 1:38 pm

Definitly a web-page..

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 1:40 pm

With the last few minutes of typing this, I have used Firefox on a Windows PC to click on that URL. It offered a 57 Mbyte download which 7zip has no problem to show as containing 8 folders and 5 files at top level.

So nothing wrong with the URL.

User avatar
topguy
Posts: 6491
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 1:45 pm

The web-page you got is a page from British Telecom (BT) telling you that it can't find the server "www.openframeforks.com".
Yes FORKS, you typed wrong..

User avatar
hansotten
Posts: 341
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 1:59 pm

Its a typing error.

You typed:

http://www.openframeforks.cc/

instead of

http://www.openframeworks.cc/

Edit: sorry topguy, you were faster to post the typing error! Got distracted while entering my reply.
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

ulla
Posts: 9
Joined: Fri Dec 04, 2015 11:18 am

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 2:27 pm

Thanks everyone for your help. I got it to work, by downloading the file via the browser!

About the download resulting in a error via the command line tool, I still do not understand why. I went through this process lots of times and even if I made a spelling mistake once, I certainly did not do so repeatedly.

I'm very happy to have the openFrameworks installer!
Thanks,
Ulla

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 3:45 pm

topguy wrote:The web-page you got is a page from British Telecom (BT) telling you that it can't find the server "www.openframeforks.com".
Yes FORKS, you typed wrong..
That puts BT in the "you're a bunch of morons who don't understand networking and DNS" camp. If your DNS fails to resolve an address it should return an NXDOMAIN or SERVFAIL not a stupid web page that redirects to a search engine.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: Error uncompressing .tar.gz file

Fri Dec 04, 2015 9:49 pm

DougieLawson wrote:
topguy wrote:The web-page you got is a page from British Telecom (BT) telling you that it can't find the server "www.openframeforks.com".
Yes FORKS, you typed wrong..
That puts BT in the "you're a bunch of morons who don't understand networking and DNS" camp. If your DNS fails to resolve an address it should return an NXDOMAIN or SERVFAIL not a stupid web page that redirects to a search engine.
Why don't you offer to show the BT morons the error of their ways for a small reward. Ask them to let you keep the BT Tower. :)

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Error uncompressing .tar.gz file

Sat Dec 05, 2015 6:06 pm

The Post Office tower isn't that special compared to more modern skyscrapers. I was there three days before the IRA bomb went off and it got closed to the public forever. We were just in the galleries not the revolving restaurant. Dinner on the 42nd floor of the NatWest Tower (now renamed Tower 42) was more of an experience.

At least BTs subsidiary ISP (PlusNet) isn't so brain dead.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”