cannot extract moodle-1.6.1.tgz

cannot extract moodle-1.6.1.tgz

by john zhang -
Number of replies: 12

I'm using FreeBSD, but cannot extract moodle-1.6.1.tgz using "tar -zxf".

could some some one give me some hint...sorry this is really a naive question.....

Average of ratings: -
In reply to john zhang

Re: cannot extract moodle-1.6.1.tgz

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Please tell us what error message you got when you tried the "tar" command.
In reply to Gordon Bateson

Re: cannot extract moodle-1.6.1.tgz

by john zhang -

i issued

# tar -zxf moodle-1.6.1tgz

it says: tar: unrecognized artchive format: inappropriate file type or format

i'm on FreeBSD v6.

 

thank you!

In reply to john zhang

Re: cannot extract moodle-1.6.1.tgz

by Scott Elliott -
John,

Is it moodle-1.6.1tgz or moodle-1.6.1.tgz?

Also, you might try downloading the file again.  I know I sometimes get a bad download if my internet connection is having issues.

You might try tar xzvf filename.tgz to see if the verbose options gives you anything else.

Alternatively, you could download the zip file and see if you can unzip it.

Hope this helps!

Scott
In reply to Scott Elliott

Re: cannot extract moodle-1.6.1.tgz

by john zhang -

Thanks!

I tried both, does not work.

for tar, it still says "Unrecognized archive format..." it might be FreeBSD thing.....

In reply to john zhang

Re: cannot extract moodle-1.6.1.tgz

by Guenther Dirks -

What does the file commando say?

# file moodle-1.6.1.tgz
In reply to Guenther Dirks

Re: cannot extract moodle-1.6.1.tgz

by john zhang -

it says "moodle-1.6.1.tgz: HTML document text"

thank you!

In reply to john zhang

Re: cannot extract moodle-1.6.1.tgz

by Scott Elliott -
John,

Are you right-clicking on the dowload link and trying to save the file?  I don't think you are actually making it to the download.  Keep left-clicking the links.  The file will download automatically.

Scott
In reply to john zhang

Re: cannot extract moodle-1.6.1.tgz

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
What output does the following "ls" command produce?
ls -l moodle-1.6.1.tgz
In reply to john zhang

Re: cannot extract moodle-1.6.1.tgz

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
How about downloading the zip file, and upzip it using "gunzip"?
In reply to john zhang

Re: cannot extract moodle-1.6.1.tgz

by Scott Elliott -
John,

Just curious as to whether or not you were able to get this going.  If so, do you care to post your solution here so other's could benefit?

I hope things worked out!

Scott
In reply to john zhang

Re: cannot extract moodle-1.6.1.tgz

by Eduardo Hernandez -
John,

we had that problem yesterday with the same file.. it was our tar command that was damaged.. replaced tar was the solution.
In reply to john zhang

Re: cannot extract moodle-1.6.1.tgz

by Miguel Costa -
We had the same problem and felt stupid about it tongueout

We tried to download from the links in http://download.moodle.org/, but the download must be made from the links after selecting the version