07
2025
05
01:51:13

Error: bzip2: Compressed file ends unexpectedly; # perhaps it is corrupted?

Error: bzip2: Compressed file ends unexpectedly; # perhaps it is corrupted?

# 下载了一个.tar.bz2结尾的压缩文件,
# 使用tar -xjf解压,但是报错。
 
# 报错信息:
# bzip2: Compressed file ends unexpectedly;
        # perhaps it is corrupted?  *Possible* reason follows.
# bzip2: Inappropriate ioctl for device
        # Input file = (stdin), output file = (stdout)
# 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.
# tar: Child returned status 2
# tar: Error is not recoverable: exiting now
 
# 解决方式:换源
cd /etc/yum.repos.dmv CentOS-Base.repo CentOS-Base.repo.backupwget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repoyum clean allyum makecache




推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

本文链接:https://www.hqyman.cn/post/11073.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏





休息一下~~


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

请先 登录 再评论,若不是会员请先 注册

您的IP地址是: