PDA

View Full Version : apt sources.list.d


marekdef
January 12th, 2006, 05:44 PM
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
Dir::Etc::sourceparts "sources.list.d";
in /etc/apt/apt.conf.d/999sourceparts
and after doing 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.

Mr_Grieves
January 12th, 2006, 08:27 PM
I think this is what you're after: https://wiki.ubuntu.com/AddingRepositoriesHowto

marekdef
January 13th, 2006, 05:35 PM
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?

marekdef
January 13th, 2006, 06:58 PM
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 :KS.

refried
September 5th, 2009, 10:43 AM
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 :KS.

Thanks marekdef.

graemev
December 16th, 2009, 09:53 PM
Thanks also, that was what I was looking for

pletiplot
August 2nd, 2010, 05:48 AM
Thanks to marekdef as well. ;)