PDA

View Full Version : [ubuntu] Change software sources command line ?



bonevg
June 9th, 2010, 08:29 AM
Is there a complete mirror list you can choose from the command line.
There is good way doing it from Administration > Software Sources.
However.. if you don't have X.. is there an easy way to choose between different sources(mirrors) without editing the sources.lst manually, but choosing for example main mirror or some other faster one let's say in your region?

dino99
June 9th, 2010, 09:49 AM
choose the server into synaptic

bonevg
June 9th, 2010, 11:28 AM
choose the server into synaptic

synaptic uses X

apt-get install synaptic
advices me to install x11-common and whole bunch of other packets as dependencies

My question was if there is a way to do it without GUI but just from your shell.
Unless there is non-graphic kind with curses of synaptic ? Is it ?

oldos2er
June 9th, 2010, 08:31 PM
Unless there is non-graphic kind with curses of synaptic ? Is it ?

Yes, aptitude. Use the nano editor to modify repositories.

https://help.ubuntu.com/community/Repositories/CommandLine

http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/