发布网友
共5个回答
热心网友
现在的 Linux 里面的 tar 命令已经可以自动识别 bz2 还是 gzip 还是 xz 还是 lzma 了。
你解压缩是不需要 jz 两个参数了。只有压缩的时候需要。
你这个问题先 file 一下这个包看看具体是什么格式吧,我怀疑这个包有问题。追问file MPlayer-1.0rc4.tar.bz2 出现 MPlayer-1.0rc4.tar.bz2: bzip2 compressed data, block size = 900
输入 file -f MPlayer-1.0rc4.tar.bz2 出现很多乱码 是什么问题吗?
追答呃?
就是 bzip2 压缩包啊,为毛这个错误涅?你重新下载一下吧。这个下载可能是坏的。
热心网友
在Ubuntu上遇到同类的问题,抛砖引玉一下:
bzip2的版本不正确可能会存在该问题,需要选择升级或者降级bzip2版本,以Ubuntu16.04为例,运行如下命令降级后可以解决:
sudo apt install bzip2=1.0.6-8 libbz2-1.0=1.0.6-8
热心网友
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files.
兄弟仔细看看这个话是什么意思,上边说了,你的文件有问题,倒是不可以正常的安装,你可以尝试使用 -tvv 或者 bzip2recover 覆盖
热心网友
你的命令错误了,tar xvjf MPlayer-1.0rc4.tar.bz2 -C /root
热心网友
tar xjvf MPlayer-1.0rc4.tar.bz2 -C /root