Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Daniel Marmion
Daniel Marmion
8,337 Points

Building Software From Source - "This does not look like a tar archive"

Getting an error in the Treehouse console after attempting to run the command:

tar -xvf sqlite-autoconf...(etc.)

This is the error:

tar: This does not look like a tar archive
gzip: stdin: not in gzip format
tar: child returned status 1
tar: Error is not recoverable: exiting now

I've completed all the previous steps in the video, and am running the command from the src/ folder, PLUS this course is my first and only exposure to the console, so I'm an absolute, complete newb at this. Thanks for any help!

1 Answer

Stephen Bone
Stephen Bone
12,359 Points

With this being a thread that's a couple of months old I'm assuming you've probably moved on but thought I'd post a reply in case others run into this as I got the exact same problem and due to the error message the cause wasn't immediately obvious.

When downloading the file using the curl command I'd typed the file name incorrectly as part of the URL and rather than this producing an error it just seems to create the file with the incorrect name.

So it's worth checking that you're typing the URL in correctly from the sqlite site as I also presume the link used in the video may no longer exist depending on how long ago it was recorded.