不能解压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解压也不行。 文件格式不对!用file命令看看文件到底是什么格式! $file *.tar.bz2
wxdfast-0.2.1e-srcnew.tar.bz2:gzip compressed data,from Unix
$
什么意思呀? 注意:gzip compressed data,from Unix
用tar -zxvf wxdfast-0.2.1e-srcnew.tar.bz2 $ 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
$ gunzip试试! $ gunzip -df *.tar.bz2
gunzip: wxdfast-0.2.1e-srcnew.tar.bz2: unknown suffix -- ignored
$
谢谢各位了,只是还是不行呢 try this:
以.tar.bz2为扩展名的文件:
#tar xvIf file.tar.bz2
或 bzip2 -dc file.tar.bz2 | xvf -
页:
[1]