Changing Debian sources easier

From BubbaWiki
Revision as of 09:30, 28 April 2011 by Johannes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Just a quick tip, a small tool that was developed internally by Carl to streamline editing of the sources.list file. 

 On the command line - as root - try:


# change_distribution --help

Usage:
change_distribution [options] distribution ...

Options:
--upstream, -u include upstream in sources.list
--source, -s include source packages in sources.list
--nonfree, -n include upstream non free sources
--contrib, -c include upstream contrib sources
--help, -h show brief help
--man, -m display manual



For instance, on B3:

change_distribution elvin -u

..would enable the B3 stable repo (elvin) and also add the debian upstream sources. This works on B2 and B3. 


Quick cheat sheet of Excito's repo names

Bubba 2 

Stable: marielle

Unstable: estelle

Testing: claire


B3

Stable: elvin

Unstable: vincent

Testing: hugo