[PLUG] Question on Ubuntu repositories

Sam Hart criswellious at gmail.com
Fri Jan 7 03:23:05 UTC 2011


On Thu, Jan 6, 2011 at 6:58 PM, Word Wizard <Word.Wizard at comcast.net> wrote:
> I can't find a way to output a list of ALL Ubuntu repositories to
> stdout.  The apt/get/sources.list does not show added third party
> repositories like googleearth and the like. I can see them with the
> Software Sources app or through Synaptic but there seems to be no way to
> treat the entire repository list  as text, only as a graphical
> screenshot file. Apt seems to have no "list" feature.
>
> I want a text file of the entire repository list to save so I can cut 'n
> paste the desired third party additions to later installs
>
>  Is there another file for added third party repositories?

They should all be found in

* /etc/apt/sources.list

and then in the files in

* /etc/apt/sources.list.d/

Specifically, the third party ones will be in the latter.

                                      ---Sam



More information about the PLUG mailing list