Results 1 to 6 of 6

Thread: Question: "source.list" vs the update manager sources

Hybrid View

  1. #1
    Join Date
    Mar 2012
    Beans
    6

    Question Question: "source.list" vs the update manager sources

    Hello everyone,

    I would like to understand something:

    Why, when I add new sources/repositories in update manager (for example ppa:n-muench/vlc or ppa:kubuntu-ppa/backports), are they not also listed in /etc/apt/sources.list?

    Does that means that the update manager is using a different source/repository list than apt-get?
    Does that mean that a system update via the update manager will give different results than a "sudo apt-get dist-upgrade" ?


    thanks a lot!

    Using: Ubuntu 11.10 i386

    Sosigene

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Question: "source.list" vs the update manager sources

    Have a look in /etc/apt/sources.list.d/
    Anything in that folder gets parsed along with /etc/apt/sources.list

    (I think that's the correct directory name, I'm not on my Ubuntu box at the minute)
    Cheesemill

  3. #3
    Join Date
    Mar 2012
    Beans
    6

    Re: Question: "source.list" vs the update manager sources

    Ahhh!
    thanks a lot Cheesemill!

    Do you have any idea why they are separated like that?
    Granted, it is one of those "why" question...

    thanks a lot

    Sosigene

  4. #4
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Question: "source.list" vs the update manager sources

    I think it just makes it easier for applications to add and remove repos, they can just create or delete a file instead of having to parse sources.list and add/remove lines from it.

    It happens with a lot of configuration files, every directory on your system that ends with .d works in the same way, for example /etc/apache.conf and /etc/apache.conf.d/ etc...
    Last edited by Cheesemill; March 13th, 2012 at 05:55 PM.
    Cheesemill

  5. #5
    Join Date
    Mar 2012
    Beans
    6

    Re: Question: "source.list" vs the update manager sources

    ok, it makes sense...

    thanks again Cheesemill

    I consider this thread close

  6. #6
    Join Date
    Aug 2011
    Beans
    12

    Re: Question: "source.list" vs the update manager sources

    Use synaptic it will update all the necessary files

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
  •