zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    计算机基础
    POJO(PO)与javaBean的比较、以及DTO的说明
    Spring Assert(方法入参检测工具类-断言)
    Extjs tree的相关方法及配置项
    spring aop两种配置方式(1)
    Oracle存储过程中临时表的使用技巧
    文件上传
    java中的IO操作总结
    ExtJs文件上传(Ext.ux.form.FileUploadField)
    Extjs 属性控件[转载]
  • 原文地址:https://www.cnblogs.com/uniqid/p/4150671.html
Copyright © 2011-2022 走看看