How to fix “Duplicate sources.list entry …” issue
The correct format of repository source line is
<type of repository> <location> <dist-name> <components>
For example, a repo line can be like this one
deb http://archive.ubuntu.com/ubuntu precise main
Here, it means, the repository is for binary packages, which are hosted in http://archive.ubuntu.com/ubuntu and
this repository is for Ubuntu precise (12.04) and
this repository contains the main (software which are officially supported by Canonical) component.
Type: The type can be deb and deb-src. deb means a binary repository where deb-src means a source repository
Location: http://archive.ubuntu.com/ubuntu location of the repository.
Dist-name: The distribution name of Ubuntu release. For Ubuntu 12.04 it is precise, for 11.10 it is oneiric.
Component: It can be main, universe, multiverse and restricted.
These words indicates the level of supports for the packages and the licensing status.
See this page for more information.
Please take note that, you can add one or more component in a line,
so “main”, “universe”, “restricted” and “multiverse” can be in a single line. Also note,
Though you add more than one component in a single line,
APT system considers them as seperate line containing only one component.
最新文章
- CSS中不定宽块状元素的水平居中显示
- ASP.NET MVC+EF框架+EasyUI实现权限管理系列(23)-设置角色遗留问题和为权限设置角色以及EasyUI Tabs的使用
- Sql中的Merge和output
- 【IOS笔记】Gesture Recognizers
- hdu 4888
- XML 实体扩展攻击
- poi导出到excel步骤分析
- Activiti 工作流得到最后一次批注的时间
- Hibernate绑定参数
- PreparedStatement设置时间
- Linux 安装Nginx详细图解教程
- 关于Java集合
- iOS开发之资讯类App常用分类控件的封装与实现(CollectionView+Swift3.0+)
- 小白的Python之路 if __name__ == &#39;__main__&#39; 解析
- 整理几个js上传多张图片的效果
- python自动拉取备份压缩包并删除3天前的旧备份
- 赋给个人账户sudo的全部root执行权限
- 最小化spring XML配置,Spring提供了4种自动装配策略。
- MIME 参考手册
- Linux下统计当前文件夹下的文件个数、目录个数