解压缩tar的tar.bz2文件错误 [英] Extract tar the tar.bz2 file error

查看:155
本文介绍了解压缩tar的tar.bz2文件错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Fedora 17 OS中解压缩tar.bz2文件.我使用了命令:

I tried to extract the tar.bz2 file in Fedora 17 OS. I used the command:

# tar -xvjf myfile.tar.bz2

我收到此错误消息:

tar (child):bzip2: Cannot exec :Nosuch of file or directory
tar (child): Error is not recoverable: exitng now
tar: Child returned status 2
tar:Error is not recoverable: exitng now

我该如何解决?

推荐答案

对于bz2,您需要这样执行,

For bz2 you need to execute like this,

tar -jxvf

或者,您也可以像这样执行

Alternatively, you can also execute like this

bunzip2 myfile.tar.bz2

有关更多信息,您应该进行检查,

For more information you should check it,

tar --help

如有疑问,请在存档上运行file,以确保它实际上已压缩为bz2格式.

If in doubt, run file on the archive to make sure it actually is compressed in bz2 format.

这篇关于解压缩tar的tar.bz2文件错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆