python html5 bootstrap 视频教程

德云社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 3189|回复: 0

解决Ubuntu kylin14.04下apt-get update警告Duplicate sources.list entry问题

[复制链接]

195

主题

220

帖子

1050

积分

工程师

Rank: 5Rank: 5

金钱
620
金币
6
威望
0
贡献
0
发表于 2018-6-2 22:53:00 | 显示全部楼层 |阅读模式
AI人工智能 语音助理 人工翻译 教程
解决Ubuntu kylin14.04下apt-get update警告Duplicate sources.list entry问题

这两天 apt-get update 升级 Ubuntu kylin 14.04 中文界面系统时,出现以下问题

  1. W: Duplicate sources.list entry http://archive.ubuntukylin.com:10006/ubuntukylin/ trusty/main amd64 Packages (/var/lib/apt/lists/archive.ubuntukylin.com:10006_ubuntukylin_dists_trusty_main_binary-amd64_Packages)
  2. W: Duplicate sources.list entry http://archive.ubuntukylin.com:10006/ubuntukylin/ trusty/main i386 Packages (/var/lib/apt/lists/archive.ubuntukylin.com:10006_ubuntukylin_dists_trusty_main_binary-i386_Packages)
复制代码

致 apt-get dist-upgrade 无法使用,具体如下所示:

  1. root:# apt-get update
  2. 忽略 http://cn.archive.ubuntu.com trusty InRelease
  3. 命中 http://cn.archive.ubuntu.com trusty-updates InRelease               
  4. 命中 http://cn.archive.ubuntu.com trusty-backports InRelease                  
  5. 命中 http://cn.archive.ubuntu.com trusty Release.gpg                           
  6. 忽略 http://archive.ubuntukylin.com:10006 trusty InRelease                     
  7. 命中 http://archive.ubuntukylin.com:10006 trusty Release.gpg                  
  8. 命中 http://cn.archive.ubuntu.com trusty Release                              
  9. 命中 http://archive.ubuntukylin.com:10006 trusty Release                       
  10. 命中 http://security.ubuntu.com trusty-security InRelease                     
  11. 命中 http://cn.archive.ubuntu.com trusty-updates/main Sources
  12. 命中 http://cn.archive.ubuntu.com trusty-updates/restricted Sources
  13. 命中 http://cn.archive.ubuntu.com trusty-updates/universe Sources
  14. 命中 http://archive.ubuntukylin.com:10006 trusty/main amd64 Packages           
  15. 命中 http://cn.archive.ubuntu.com trusty-updates/multiverse Sources            
  16. 命中 http://archive.ubuntukylin.com:10006 trusty/main i386 Packages
  17. 命中 http://cn.archive.ubuntu.com trusty-updates/main amd64 Packages
  18. 忽略 http://archive.ubuntukylin.com:10006 trusty/main Translation-en
  19. 命中 http://cn.archive.ubuntu.com trusty-updates/restricted amd64 Packages     
  20. 命中 http://cn.archive.ubuntu.com trusty-updates/universe amd64 Packages      
  21. 命中 http://security.ubuntu.com trusty-security/main Sources                  
  22. 命中 http://cn.archive.ubuntu.com trusty-updates/multiverse amd64 Packages     
  23. 命中 http://cn.archive.ubuntu.com trusty-updates/main i386 Packages            
  24. 命中 http://cn.archive.ubuntu.com trusty-updates/restricted i386 Packages      
  25. 命中 http://cn.archive.ubuntu.com trusty-updates/universe i386 Packages   
  26. 命中 http://cn.archive.ubuntu.com trusty-updates/multiverse i386 Packages  
  27. 命中 http://cn.archive.ubuntu.com trusty-updates/main Translation-en           
  28. 命中 http://security.ubuntu.com trusty-security/restricted Sources            
  29. 命中 http://cn.archive.ubuntu.com trusty-updates/multiverse Translation-en     
  30. 命中 http://cn.archive.ubuntu.com trusty-updates/restricted Translation-en     
  31. 命中 http://cn.archive.ubuntu.com trusty-updates/universe Translation-en      
  32. 命中 http://cn.archive.ubuntu.com trusty-backports/main Sources            
  33. 命中 http://cn.archive.ubuntu.com trusty-backports/restricted Sources      
  34. 命中 http://cn.archive.ubuntu.com trusty-backports/universe Sources            
  35. 命中 http://security.ubuntu.com trusty-security/universe Sources               
  36. 命中 http://cn.archive.ubuntu.com trusty-backports/multiverse Sources         
  37. 命中 http://cn.archive.ubuntu.com trusty-backports/main amd64 Packages         
  38. 命中 http://cn.archive.ubuntu.com trusty-backports/restricted amd64 Packages   
  39. 命中 http://cn.archive.ubuntu.com trusty-backports/universe amd64 Packages
  40. 命中 http://cn.archive.ubuntu.com trusty-backports/multiverse amd64 Packages   
  41. 命中 http://cn.archive.ubuntu.com trusty-backports/main i386 Packages         
  42. 命中 http://cn.archive.ubuntu.com trusty-backports/restricted i386 Packages   
  43. 命中 http://security.ubuntu.com trusty-security/multiverse Sources            
  44. 命中 http://cn.archive.ubuntu.com trusty-backports/universe i386 Packages      
  45. 命中 http://cn.archive.ubuntu.com trusty-backports/multiverse i386 Packages   
  46. 命中 http://cn.archive.ubuntu.com trusty-backports/main Translation-en     
  47. 命中 http://cn.archive.ubuntu.com trusty-backports/multiverse Translation-en
  48. 命中 http://cn.archive.ubuntu.com trusty-backports/restricted Translation-en   
  49. 命中 http://cn.archive.ubuntu.com trusty-backports/universe Translation-en     
  50. 命中 http://cn.archive.ubuntu.com trusty/main Sources                          
  51. 命中 http://security.ubuntu.com trusty-security/main amd64 Packages            
  52. 命中 http://cn.archive.ubuntu.com trusty/restricted Sources                    
  53. 命中 http://cn.archive.ubuntu.com trusty/universe Sources                     
  54. 命中 http://cn.archive.ubuntu.com trusty/multiverse Sources               
  55. 命中 http://cn.archive.ubuntu.com trusty/main amd64 Packages               
  56. 命中 http://cn.archive.ubuntu.com trusty/restricted amd64 Packages         
  57. 命中 http://cn.archive.ubuntu.com trusty/universe amd64 Packages               
  58. 命中 http://cn.archive.ubuntu.com trusty/multiverse amd64 Packages            
  59. 命中 http://cn.archive.ubuntu.com trusty/main i386 Packages                    
  60. 命中 http://security.ubuntu.com trusty-security/restricted amd64 Packages      
  61. 命中 http://cn.archive.ubuntu.com trusty/restricted i386 Packages              
  62. 命中 http://cn.archive.ubuntu.com trusty/universe i386 Packages               
  63. 命中 http://cn.archive.ubuntu.com trusty/multiverse i386 Packages              
  64. 命中 http://cn.archive.ubuntu.com trusty/main Translation-zh_CN               
  65. 命中 http://cn.archive.ubuntu.com trusty/main Translation-en                  
  66. 命中 http://cn.archive.ubuntu.com trusty/multiverse Translation-zh_CN         
  67. 命中 http://security.ubuntu.com trusty-security/universe amd64 Packages        
  68. 命中 http://cn.archive.ubuntu.com trusty/multiverse Translation-en            
  69. 命中 http://cn.archive.ubuntu.com trusty/restricted Translation-zh_CN         
  70. 命中 http://cn.archive.ubuntu.com trusty/restricted Translation-en        
  71. 命中 http://cn.archive.ubuntu.com trusty/universe Translation-zh_CN            
  72. 命中 http://security.ubuntu.com trusty-security/multiverse amd64 Packages      
  73. 命中 http://cn.archive.ubuntu.com trusty/universe Translation-en               
  74. 忽略 http://cn.archive.ubuntu.com trusty/main Translation-zh                  
  75. 忽略 http://cn.archive.ubuntu.com trusty/multiverse Translation-zh            
  76. 忽略 http://cn.archive.ubuntu.com trusty/restricted Translation-zh      
  77. 忽略 http://cn.archive.ubuntu.com trusty/universe Translation-zh         
  78. 命中 http://security.ubuntu.com trusty-security/main i386 Packages      
  79. 命中 http://security.ubuntu.com trusty-security/restricted i386 Packages
  80. 命中 http://security.ubuntu.com trusty-security/universe i386 Packages   
  81. 命中 http://security.ubuntu.com trusty-security/multiverse i386 Packages      
  82. 命中 http://security.ubuntu.com trusty-security/main Translation-en            
  83. 命中 http://security.ubuntu.com trusty-security/multiverse Translation-en      
  84. 命中 http://security.ubuntu.com trusty-security/restricted Translation-en
  85. 命中 http://security.ubuntu.com trusty-security/universe Translation-en        
  86. 正在读取软件包列表... 完成                                                     
  87. W: Duplicate sources.list entry http://archive.ubuntukylin.com:10006/ubuntukylin/ trusty/main amd64 Packages (/var/lib/apt/lists/archive.ubuntukylin.com:10006_ubuntukylin_dists_trusty_main_binary-amd64_Packages)
  88. W: Duplicate sources.list entry http://archive.ubuntukylin.com:10006/ubuntukylin/ trusty/main i386 Packages (/var/lib/apt/lists/archive.ubuntukylin.com:10006_ubuntukylin_dists_trusty_main_binary-i386_Packages)
  89. W: 您可能需要运行 apt-get update 来解决这些问题
  90. root:#
复制代码

百度网盘

https://pan.baidu.com/s/1cKxajG


软件仓库

https://github.com/digitser

https://digitser.sourceforge.io/

https://pan.baidu.com/s/1TV70__Be1ta0ney1-tudFQ


快速高效 智能编辑 重构 批处理 "数字化 Python IDE" 集成开发环境

http://idepy.digitser.cn/

http://forum.digitser.cn/thread-2266-1-1.html


快速解决办法

递归移除 /etc/apt/sources.list.d/ 目录下的所有文件及目录

  1. rm -r /etc/apt/sources.list.d/
复制代码


"长按二维码" 或 "扫一扫" 关注 "德云社区" 微信公众号
参考:
http://askubuntu.com/questions/120621/how-to-fix-duplicate-sources-list-entry

版权声明:
本文为独家原创稿件,版权归 德云社区,未经许可不得转载;否则,将追究其法律责任。

AI人工智能 语音助理 人工翻译 教程
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|Sitemap|小黑屋|德云社区 |网站地图  

GMT+8, 2024-4-25 20:03 , Processed in 0.024719 second(s), 25 queries .

工业和信息化部: 粤ICP备14079481号-2

技术支持 乐数软件     版权所有 © 2014-2021 德云社区    

快速回复 返回顶部 返回列表