本地yum源报 无法打开*.sqlite.bz2

在配置本地yum仓库后,执行yum clean all和yum makecache时遇到无法打开*.sqlite.bz2的错误。问题源于镜像文件缺少正确扩展名。通过将文件重命名为包含.sqlite.bz2扩展名的格式,如6ec2bb89ebc4b716fe62ea930164b179f2cd90e1bdf1a504cdd7832153392b1e-filelists.sqlite.bz2等,解决了问题并成功执行了yum操作。
摘要由CSDN通过智能技术生成

无法打开*.sqlite.bz2

在自己创建yum仓库建立本地yum源之后,执行yum clean all,然后yum makecache 报 无法打开*.sqlite.bz2
[root@weas repodata]# yum makecache
Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
base/group_gz FAILED
file:///mnt/cdrom/repodata/c55e5b7bbe933fa8dac2cffca4596c265812b74ed12ef3968d487dd6eb22ad93-c7-x86_64-comps.xml.gz: [Errno 14] curl#37 - “Couldn’t open file /mnt/cdrom/repodata/c55e5b7bbe933fa8dac2cffca4596c265812b74ed12ef3968d487dd6eb22ad93-c7-x86_64-comps.xml.gz”
Trying other mirror.
base/filelists_db FAILED
file:///mnt/cdrom/repodata/6ec2bb89ebc4b716fe62ea930164b179f2cd90e1bdf1a504cdd7832153392b1e-filelists.sqlite.bz2: [Errno 14] curl#37 - “Couldn’t open file /mnt/cdrom/repodata/6ec2bb89ebc4b716fe62ea930164b179f2cd90e1bdf1a504cdd7832153392b1e-filelists.sqlite.bz2”
Trying other mirror.
base/primary_db FAILED
file:///mnt/cdrom/repodata/b1b2cb9f67759ef5d143a211c2399d800fa58cf3ab12c205188e3c13d1b3d41d-primary.sqlite.bz2: [Errno 14] curl#37 - “Couldn’t open file /mnt/cdrom/repodata/b1b2cb9f67759ef5d143a211c2399d800fa58cf3ab12c205188e3c13d1b3d41d-primary.sqlite.bz2”
Trying other mirror.
base/other_db FAILED
file:///mnt/cdrom/repodata/e4e51f819c9dfc35ad68a2745f1e39020d003741cbb1346d93f776d13e44351c-other.sqlite.bz2: [Errno 14] curl#37 - “Couldn’t open f

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值