Results 1 to 2 of 2

Thread: /etc/apt/sources.list Duplicate sources.list entry

  1. #1
    Join Date
    Oct 2012
    Beans
    8

    Question /etc/apt/sources.list Duplicate sources.list entry

    This is my /etc/apt/sources.list:
    Code:
    #############################################################
    ################### OFFICIAL UBUNTU REPOS ###################
    #############################################################
    
    ###### Ubuntu Main Repos
    deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
    
    ###### Ubuntu Update Repos
    deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
    
    ###### Ubuntu Partner Repo
    deb http://archive.canonical.com/ubuntu precise partner
    
    ###### Ubuntu Extras Repo
    deb http://extras.ubuntu.com/ubuntu precise main
    deb http://download.virtualbox.org/virtualbox/debian precise contrib
    ##############################################################
    ##################### UNOFFICIAL  REPOS ######################
    ##############################################################
    
    ###### 3rd Party Binary Repos
    
    #### Opera - http://www.opera.com/
    ## Run this command: sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
    deb http://deb.opera.com/opera/ stable non-free
    When i run apt-get update i get:
    Code:
    Reading package lists... Done
    W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
    W: Duplicate sources.list entry http://deb.opera.com/opera/ stable/non-free i386 Packages (/var/lib/apt/lists/deb.opera.com_opera_dists_stable_non-free_binary-i386_Packages)
    W: You may want to run apt-get update to correct these problems
    However, there is no duplicates!?

    P.S. Of course, when i comment them error disappears
    Last edited by diabolusss; November 30th, 2012 at 02:20 PM. Reason: add

  2. #2
    Join Date
    Apr 2012
    Beans
    7,095

    Re: /etc/apt/sources.list Duplicate sources.list entry

    Do you have additional source files in the /etc/apt/sources.list.d/ directory maybe?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •