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.

  • 相关阅读:
    Git常用命令
    maven profile动态选择配置文件
    Nodejs的偏函数
    用CountDownLatch来同步java的多线程
    NodeJS的Promise的用法
    alluxio常用命令
    常见小代码
    Mongodb
    Mysql_常用语法
    PostgreSQL
  • 原文地址:https://www.cnblogs.com/uniqid/p/4150671.html
Copyright © 2011-2022 走看看