yacc_deno 发表于 2005-5-9 08:51:38

不能解压bz2

我的系统一直对*.tar.bz2 文件解压有问题。
在Shell下:
#tar -xjf *.tar.bz2
bzip2:(stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors

我的系统是RH 9.0 ,在KDE中用ark解压也不行。

zhy2111314 发表于 2005-5-9 09:08:44

文件格式不对!用file命令看看文件到底是什么格式!

yacc_deno 发表于 2005-5-9 09:16:55

$file *.tar.bz2
wxdfast-0.2.1e-srcnew.tar.bz2:gzip compressed data,from Unix
$

什么意思呀?

felix 发表于 2005-5-9 09:31:36

注意:gzip compressed data,from Unix
用tar -zxvf wxdfast-0.2.1e-srcnew.tar.bz2

yacc_deno 发表于 2005-5-9 09:47:50

$ tar -zxvf *.tar.bz2
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors
$

zhy2111314 发表于 2005-5-9 10:16:29

gunzip试试!

yacc_deno 发表于 2005-5-9 10:22:07

$ gunzip -df *.tar.bz2
gunzip: wxdfast-0.2.1e-srcnew.tar.bz2: unknown suffix -- ignored
$

谢谢各位了,只是还是不行呢

zhy2111314 发表于 2005-5-9 11:12:26

try this:
以.tar.bz2为扩展名的文件:
#tar xvIf file.tar.bz2
或 bzip2 -dc file.tar.bz2 | xvf -
页: [1]
查看完整版本: 不能解压bz2