tar Cannot open: No such file or directory
- by Jakobud
Fresh install of CentOS 5.4
Downloaded the following:
http://prdownloads.sourceforge.net/webadmin/webmin-1.510.tar.gz
MD5 sum is correct (cdcc09d71d85d81914a90413eaf21d3f). The file is located here:
/tmp/webmin-1.510.tar.gz
tmp and webmin-1.510.tar.gz both have chmod 777. I am logged in as root.
Command:
tar -zxfv webmin-1.510.tar
Result:
tar: v: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: webmin-1.510.tar: Not found in archive
tar: Error exit delayed from previous errors
Never run across this before. It's like it thinks that v is a file I want to extract, but its one of the command arguments...
If I leave out the v...
tar -zxf webmin-1.510.tar.gz
The command stalls. It doesn't do anything. Just goes to the next line and no prompt comes up. I have to CTRL-C to get back to the prompt and a ls verifies that it didn't extract anything...
My first reaction is that its not a valid tar/gz file or something. But the MD5 matches just fine. So I'm at a loss just a bit...