3

I am in my /w dir and I saved the .tar.gz archive from the MediaWiki server like this:

$ cd /public_html/w 
$ wget releases.wikimedia.org/mediawiki/1.24/mediawiki-1.24.1.tar.gz

But once I try to extract it:

$ tar -xvzf mediawiki-1.24.1.tar.gz 

It extract to one point and then it stops, I get an error: -bash: tar: cannot reach server

How to extract it?

EDIT:

tar --version:

tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

file -zi mediawiki-1.24.1.tar.gz:

mediawiki-1.24.1.tar.gz: cannot open `mediawiki-1.24.1.tar.gz' (No such file or directory)
PowerUser
  • 133
  • 4

1 Answers1

0

How about if you try to unzip and untar in separate steps:

gunzip mediawiki-1.24.1.tar.gz 

This will create the file mediawiki-1.24.1.tar, and then untar with:

tar xvf mediawiki-1.24.1.tar

Is that better?

janos
  • 808
  • 1
  • 6
  • 22