Vmware下的Linux系统,安装WPS报错:[Errno 256] No more mirrors to try

最近新装了虚拟环境Vmware下的Linux系统,准备看doc文档发现不能读取,才想起来一起都是重新开始的~没别的~开始安装吧:

 

1、关虚拟机Linux,添加cdrom镜像ISO文件--开虚拟机---挂在cdrom

mount /dev/cdrom /mnt

2、搭建yum仓库

vim /etc/yum.repos.d/rhel7.repo

 

[rhel7]

name=rhel7

baseurl=file:///mnt

enabled=1

gpgcheck=0

 

结束编辑,保存退出

3、yum repolist

 

[root@svr7 桌面]# yum repolist

已加载插件:langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

rhel7                                                    | 4.1 kB     00:00    

(1/2): rhel7/group_gz                                      | 136 kB   00:00    

(2/2): rhel7/primary_db                                    | 3.6 MB   00:00    

源标识                               源名称                                状态

rhel7                                rhel7.2                               4,620

repolist: 4,620

 

如上显示,挂在成功~

4、开始安装wps------(软件包网上有很多,需要的可以联系我:ykliuxingtao@sina.com)

 

# yum -y install wps-office-10.1.0.5672-1.a21.x86_64.rpm

 

结果~~报错了~~~,反正一坨英文,我只看“依赖关系”和报错信息

 

依赖包: libpng12.x86_64.0.1.2.50-6.el7 找不到软件包,

 

去网上搜 ----下载-----在安装----还是报错:[Errno 256] No more mirrors to try

 

重点来了::

 

感觉是yum方面出问题了:

 

1yum clean all

2yum makecache

 

[root@svr7 桌面]# yum makecache

已加载插件:langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

rhel7                                                    | 4.1 kB     00:00    

(1/2): rhel7/filelists_db                                  | 3.2 MB   00:00    

(2/2): rhel7/other_db                                      | 1.4 MB   00:00    

元数据缓存已建立

 

 

3、yum update

 

 已加载插件:langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

No packages marked for update

 

4、再次执行安装WPS

 

# yum -y install wps-office-10.1.0.5672-1.a21.x86_64.rpm

  最后完美解决依赖安装

  “完毕”

 

 

以上是个人安装经历,有问题欢迎来共同探讨、总结、分享~~谢谢!

转载于:https://www.cnblogs.com/frxxkdn/p/9656073.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值