Results 1 to 7 of 7

Thread: apt sources.list.d

  1. #1
    Join Date
    Nov 2005
    Beans
    12

    apt sources.list.d

    Hello,

    I used apt on debian and redhat, where there were additional configuration
    files placed in sources.list.d directory.

    However, in ubuntu it does not work this way.

    I tried to solve the problem on my onw and set
    Code:
    Dir::Etc::sourceparts "sources.list.d";
    in /etc/apt/apt.conf.d/999sourceparts
    and after doing
    Code:
    apt-config dump
    i see that this exist.

    But this does not cause apt-get update to fetch sources from the locations from files in sources.list.d directory.

    Can you help me to enable this?
    THX.

  2. #2
    Join Date
    Nov 2005
    Location
    Sweden
    Beans
    209
    Distro
    Ubuntu Breezy 5.10

    Re: apt sources.list.d

    I think this is what you're after: https://wiki.ubuntu.com/AddingRepositoriesHowto

  3. #3
    Join Date
    Nov 2005
    Beans
    12

    Re: apt sources.list.d

    Quote Originally Posted by Mr_Grieves
    I think this is what you're after: https://wiki.ubuntu.com/AddingRepositoriesHowto
    Thanks man,
    but this is not the solution i am looking for.
    This just adds custom line to the source.list file and that of course works.
    Works means that i can download from repository.

    But I just want to enable reading repositories from the sources.list.d directory.
    It may be qustion more apt specyfic rahter that ubuntu related, anyway somebody knows the solution?

  4. #4
    Join Date
    Nov 2005
    Beans
    12

    Thumbs up Re: apt sources.list.d

    Quote Originally Posted by marekdef
    But this does not cause apt-get update to fetch sources from the locations from files in sources.list.d directory.
    Ok I solved the problem after looking at apt source.
    Files in the sources.list.d should end with .list.
    I changed and it works .

  5. #5
    Join Date
    Aug 2009
    Beans
    12

    Re: apt sources.list.d

    Quote Originally Posted by marekdef View Post
    Ok I solved the problem after looking at apt source.
    Files in the sources.list.d should end with .list.
    I changed and it works .
    Thanks marekdef.

  6. #6
    Join Date
    Jul 2009
    Beans
    26

    Re: apt sources.list.d

    Thanks also, that was what I was looking for

  7. #7
    Join Date
    Jul 2010
    Beans
    4

    Re: apt sources.list.d

    Thanks to marekdef as well.

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
  •