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.

最新文章

  1. CSS中不定宽块状元素的水平居中显示
  2. ASP.NET MVC+EF框架+EasyUI实现权限管理系列(23)-设置角色遗留问题和为权限设置角色以及EasyUI Tabs的使用
  3. Sql中的Merge和output
  4. 【IOS笔记】Gesture Recognizers
  5. hdu 4888
  6. XML 实体扩展攻击
  7. poi导出到excel步骤分析
  8. Activiti 工作流得到最后一次批注的时间
  9. Hibernate绑定参数
  10. PreparedStatement设置时间
  11. Linux 安装Nginx详细图解教程
  12. 关于Java集合
  13. iOS开发之资讯类App常用分类控件的封装与实现(CollectionView+Swift3.0+)
  14. 小白的Python之路 if __name__ == &#39;__main__&#39; 解析
  15. 整理几个js上传多张图片的效果
  16. python自动拉取备份压缩包并删除3天前的旧备份
  17. 赋给个人账户sudo的全部root执行权限
  18. 最小化spring XML配置,Spring提供了4种自动装配策略。
  19. MIME 参考手册
  20. Linux下统计当前文件夹下的文件个数、目录个数

热门文章

  1. 全局唯一ID的生成方式
  2. 反射---Java高级开发必须懂的
  3. jni 之helloworld
  4. jQuery选择器模糊匹配
  5. mysql datetime、date、time、timestamp区别
  6. 【转】 如何利用Cocos2d-x开发一个游戏
  7. 路径(keyPath)、键值编码(KVC)和键值观察(KVO)
  8. Android(java)学习笔记123:Clock app编写报错01
  9. C# for AUTOCAD ActiveX获取图形对象坐标程序
  10. Android Sutido 编译速度优化