Announcement

Collapse
No announcement yet.

sources.list update battle between apt-get and muon

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    sources.list update battle between apt-get and muon

    Does anyone know the proper route to change /etc/apt/sources.list so that you do not end up with duplicates in Muon Package Manager or Apt-get.

    On two machines I totally replaced the contents of sourses.list with a nice new shiny formated easy to read one as like below only with more entries.

    When I did this I ended up with a nightmare of duplicate warnings when running apt-get update.
    It turns out that in order to avoid this problem I had to do the following procedure.

    1) Go into Muon Package manager to get to Software sources and delete all sources and then close the app
    2) change /etc/apt/sources.list
    3) run sudo apt-get update
    4) now open Muon again and check for updates.

    Question is Here >> Is there a way to get these two pieces of software in sync with the same sources.list without having to do the 4 steps above?

    Code:
    ################################################################################ OFFICIAL UBUNTU REPOS ###################
    #############################################################
    
    
    ###### Ubuntu Main Repos
    deb http://us.archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse
    
    
    ###### Ubuntu Update Repos
    deb http://us.archive.ubuntu.com/ubuntu/ utopic-security main restricted universe multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ utopic-security main restricted universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse
    
    
    ###### Ubuntu Partner Repo
    deb http://archive.canonical.com/ubuntu utopic partner
    deb-src http://archive.canonical.com/ubuntu utopic partner
    
    
    ##############################################################
    ##################### UNOFFICIAL  REPOS ######################
    ##############################################################
    
    
    ###### 3rd Party Binary Repos
    
    
    #### Dropbox PPA - http://dropbox.com
    ## Run this command: sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
    deb http://linux.dropbox.com/ubuntu/ utopic main
    
    
    #### Kubuntu Backports PPA - https://edge.launchpad.net/~kubuntu-ppa/+archive/backports
    ## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AC93F7A
    deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu utopic main

    #2
    Guess

    Does anyone know the proper route to change /etc/apt/sources.list so that you do not end up with duplicates...
    Did you edit the /etc/apt/sources.list.d directory ?

    As told the man page - 'man sources.list':

    SOURCES.LIST.D The /etc/apt/sources.list.d directory provides a way to add sources.list entries in separate files. The format is the same as for the regular sources.list file...

    The Muon is using the 'software-properties-kde'

    Description: manage the repositories that you install software from (kde)
    This software provides an abstraction of the used apt repositories.
    It allows you to easily manage your distribution and independent software
    vendor software sources.
    .
    This package contains a Qt/KDE based graphical interface.
    The 'software-properties-kde' is showing the collection from the sources.list and the lists from the /etc/apt/sources.list.d/ directory.
    Last edited by Wheel Inventor; Feb 10, 2015, 01:28 PM.

    Comment


      #3
      Thanks for the reply Wheel Inventor it was informative and made me feel lazy at the same time .

      I did muck around in the /etc/apt/sources.list.d on one pc and found it made a difference in Muon.

      The biggest frustration for me was there is no easy way to compare the two methods and quickly eliminate duplicates. From what you have posted, I guess you really do have to dig through a couple places and rely on your eyes to get it right.

      Comment


        #4
        /etc/apt/sources.list ,,,,,,,is for the official sources .
        /etc/apt/sources.list.d ,,,,,,,,,,,,,,,,,is for any added sources , PPA's , google, ect,ect,,,,,,,,,

        I think your problem stemmed from having the PPA's in /etc/apt/sources.list (that you made) and in /etc/apt/sources.list.d still ,,,,,,,,?

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment

        Working...
        X