Difference between revisions of "Changing Debian sources easier"

From BubbaWiki
Jump to navigation Jump to search
(Created page with 'Just a quick tip, a small tool that was developed internally by Carl to streamline editing of the sour  On the command line - as root - try:<br> <pre># change_distributio...')
 
Line 1: Line 1:
Just a quick tip, a small tool that was developed internally by Carl to streamline editing of the sour
Just a quick tip, a small tool that was developed internally by Carl to streamline editing of the sources.list file.&nbsp;
 
&nbsp;On the command line - as root - try:<br>


&nbsp;On the command line - as root - try:<br>


<br>
<pre># change_distribution --help
<pre># change_distribution --help


Line 18: Line 18:




</pre>
</pre>  
 
<br> For instance, on B3:  
 
<pre>change_distribution elvin -u</pre>  
For instance, on B3:  
<pre>change_distribution elvin -u</pre>
..would enable the B3 stable repo (elvin) and also add the debian upstream sources.&nbsp;This works on B2 and B3.&nbsp;
..would enable the B3 stable repo (elvin) and also add the debian upstream sources.&nbsp;This works on B2 and B3.&nbsp;

Revision as of 09:27, 28 April 2011

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.