我正在尝试安装,这是一个tar.gz文件。下面是我得到的输出。
一审:
tar -zxvf apache-cassandra-2.0.3-bin.tar.gz
tar (child): apache-cassandra-2.0.3-bin.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
二审:
tar -zxvf apache-cassandra-2.0.3-bin.tar.gz.gitignore
tar (child): apache-cassandra-2.0.3-bin.tar.gz.gitignore: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
该怎么办呢?我需要安装的文件在磁盘中,而不是复制到机器上。这有关系吗?
发布于 2014-06-21 08:23:41
您出现问题的原因在错误报告中。
Cannot open: No such file or directory
cd
编辑到apache-cassandra-2.0.3-bin.tar.gz
文件所在的目录,然后运行下面的命令来提取它的内容。
tar -zxvf filename.tar.gz # Replace the filename with your's
https://askubuntu.com/questions/486264
复制相似问题