updates is listed more than once in the configuration 的解决
来源:互联网 发布:cpu评测软件 编辑:程序博客网 时间:2024/06/01 23:04
觉得记性渐渐变差了,决定把遇到的问题记录下来。
最近更新的时候,update后都会先出现
Repository updates is listed more than once in the configurationRepository updates-debuginfo is listed more than once in the configurationRepository updates-source is listed more than once in the configurationRepository fedora is listed more than once in the configurationRepository fedora-debuginfo is listed more than once in the configurationRepository fedora-source is listed more than once in the configurationRepository fzug-free is listed more than once in the configurationRepository fzug-free-source is listed more than once in the configurationRepository fzug-nonfree is listed more than once in the configurationRepository fzug-nonfree-source is listed more than once in the configuration
大概是在一次中断升级之后出现。根据系统自己的建议,使用了
# dnf clean all
可以成功清除缓存,但是以上提示继续存在。
在网上搜寻后参考以下两篇文章解决了问题:
解决 YUM Repository updates is listed more than once in the configuration 的问题
记一次Centos下yum故障的解决过程与方法
过程如下:
# ls -l /etc/yum.repos.d/
看到
-rw-r--r--. 1 root root 649 12月 5 2013 cmplayer-repo.repo-rw-r--r--. 1 root root 689 8月 13 18:44 fedora-cisco-openh264.repo-rw-r--r--. 1 root root 1253 8月 13 18:44 fedora.repo-rw-r--r--. 1 root root 1270 8月 13 18:44 fedora-updates.repo-rw-r--r--. 1 root root 1328 8月 13 18:44 fedora-updates-testing.repo-rw-r--r--. 1 root root 1113 8月 22 11:23 fedora-updates-ustc.repo-rw-r--r--. 1 root root 1157 8月 22 11:23 fedora-ustc.repo-rw-r--r--. 1 root root 1241 8月 24 14:07 rpmfusion-free-rawhide.repo-rw-r--r--. 1 root root 1172 8月 24 14:07 rpmfusion-free.repo-rw-r--r--. 1 root root 1170 8月 24 14:07 rpmfusion-free-updates.repo-rw-r--r--. 1 root root 1230 8月 24 14:07 rpmfusion-free-updates-testing.repo
参考开头的提示,删除了以下源
# rm -rf /etc/yum.repos.d/fzug-free.repo# rm -rf /etc/yum.repos.d/fzug-nonfree.repo# rm -rf /etc/yum.repos.d/FZUG.repo# rm -rf /etc/yum.repos.d/fedora-updates.repo# rm -rf /etc/yum.repos.d/fedora.repo
于是不会出现那一把提示了。
另外参考这个百度知道,出现这种问题的原因是源被提供方删除了。好吧fzug的源是前几天才添加进去的,然而一添加就提示没有用,囧。
centos更新为163的yum源出错
最后,删除文件之前应该做好备份。
0 0
- 解决 YUM Repository updates is listed more than once in the configuration 的问题
- updates is listed more than once in the configuration 的解决
- ios解决bug--“Pushing the same view controller instance more than once is not supported”
- Column specified more than once in the INSERT list.
- appears more than once in the keychain. The codesign tool requires there onl
- appears more than once in the keychain The codesign tool requires there only be one
- “Pushing the same view controller instance more than once is not supported” exception
- iOS--错误集锦--pushing the same view controller instance more than once is not supperted
- 【xcode】错误之Certificate identity 'iPhone Developer: XXX' appears more than once in the keychain
- 【Xcode】Certificate identity 'iPhone Developer: XXXXXXXX' appears more than once in the keychain
- CodeSign error: Certificate identity 'iPhone Developer:xxx appears more than once in the keychain.
- AcceptChanges and Updates once more
- 解决“certificateidentity 'iphone distribution' appears more than once”错误
- 解决“certificateidentity 'iphone distribution' appears more than once”错误
- CodeSign error: Certificate identity 'iPhone Developer:**** appears more than once in the keychain.
- (引)The item "obj/Debug/xxx.resources" was specified more than once the "Resources
- InfoPath error : "a dataset that contains a table name that is defined more than once"
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- Android 6.0指纹识别App开发demo
- iOS_Pass iOS10适配:权限访问、MiPush小米推送(更新中)
- WEB前端 | H5基础——(1)H5新增标签
- python面向对象实现K均值聚类
- Wdatepicker日期控件的使用指南
- updates is listed more than once in the configuration 的解决
- webpack入坑之旅
- 解决Android Studio加载第三方jar包,出现包重复加载的问题:
- Java并发专题 带返回结果的批量任务执行 CompletionService ExecutorService.invokeAll
- 51nod 1136 欧拉函数(欧拉函数)
- Chrome 浏览器修改默认搜索引擎跟网页右键搜索 启动特定页
- Cocos2dx游戏资源加密之XXTEA
- 版本更新
- 程序员常见的思维运算题