关于解决RedHat6.0以上版本:Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
2018-01-03 22:29
405 查看
edhat默认自带的yum源需要注册,才能更新,报错:
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
http://mirrors.163.com/centos/6Server/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
可替换为centos对应的源。 操作如下:
清除原有缓存,重建缓存:
#yum clean all
#yum makecache
更新系统:
#yum update
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
http://mirrors.163.com/centos/6Server/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
可替换为centos对应的源。 操作如下:
更换yum源,将原有源删除或备份到别的目下下: #cd /etc/yum.repos.d/ #wget http://mirrors.163.com/.help/CentOS6-Base-163.repo #vi CentOS6-Base-163.repo 编辑文件,把文件里面的$releasever全部替换为版本号:6(注意,不是6.5!)最后保存! :%s/$releasever/6/g
清除原有缓存,重建缓存:
#yum clean all
#yum makecache
更新系统:
#yum update
相关文章推荐
- CentOS 使用yum命令安装出现错误提示:Loaded plugins: fastestmirror, refresh-packagekit, security
- 关于note2等(Android4.1版本)以上无法启动支付宝的问题"java.security.spec.InvalidKeySpecException"
- 关于resin3以上版本不能运行struts1.2程序的问题解决办法
- 关于“Android SDK manager中不出现完整Android版本安装包列表”的动态解决方法
- 关于百度地图SDK v3.6.0以上版本找不到PoiOverlay类(开源代码)的解决方法.
- 关于50.0版本以上浏览器无法添加使用firebug的解决办法
- 关于在MDK4.5以上版本不能使用JLINK V8的解决办法
- 关于mac注册机core keygen在10.12及以上版本不能使用的解决方法
- 关于note2等(Android4.1版本)以上无法启动支付宝的问题"java.security.spec.InvalidKeySpecException"
- 【转】关于Oracle 9i或9i以上版本客户端连接Oracle 8i及8i版本以下服务器端中文字符乱码的解决办法
- Oracle新手笔记(2) 关于Oracle 9i或9i以上版本客户端连接Oracle 8i及8i版本以下服务器端中文字符乱码的解决办法
- 关于在centos下安装python3.7.0以上版本时报错ModuleNotFoundError: No module named '_ctypes'的解决办法
- 关于android4.4及以上版本无法恢复还原短信的问题记录与解决
- 关于android4.4及以上版本无法恢复还原短信的问题记录与解决
- 关于note2等(Android4.1版本)以上无法启动支付宝的问题"java.security.spec.InvalidKeySpecException"
- 关于Oracle 10g Enterprise Manager Console不能启动的故障解决
- 关于tomcat版本造成的404的解决办法
- ModSecurity requires mod_unique_id to be installed. 解决
- 更换PHP 5.4以上版本后Dedecms后台登录空白的解决方法
- 解决chrome32以上版本,非商店扩展程序被停用的问题