PDA

View Full Version : Better way to change sources.list ?


jc87
October 22nd, 2006, 11:24 AM
Under the current method according to the ubuntuguide the users backups his sources.list, ans then mannualy edits the sources.list with gedit by copy/paste, then saves and updates.

I believe to have discovered an even easier way to do it8)

A) Backup the sources.list

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

B) We tell the user to download an already made sources.list


wget http://clientes.netvisao.pt/xw166644/6.06/internacional/sources.list

C) We tell the user to change the sources.list

sudo cp ~/sources.list /etc/apt/sources.list

D) In conclusion the apt-get update

sudo apt-get update

That way the chances of the user "screw" things up is lower by my personall experience with providing tech support to newcomers, and also this part of the guide becomes smaller and less "scary".

Even if it is too late to do this now at edgy, i would like to know if it is possible in the future with 7.04 and future versions, so i would like to receive some feedback.

Ozitraveller
October 22nd, 2006, 11:12 PM
Check this out:

Sources.list generator
http://www.ubuntulinux.nl/source-o-matic

billybag
November 18th, 2006, 10:28 PM
i want to know if that source-o-matic thing is compatable with edgy at all. i know it asks if you have HOARY, BREEZY, or DAPPER but it doesnt ask if you have edgy

steevk
November 21st, 2006, 03:25 AM
The only issue with this is when multiple guides do it this way.

Example: I want to install Beryl, then I want to install Automatix. So just download the new .list for Beryl, then...download the new .list for automatix. Now beryl updates don't happen.

Mabye I picked poor example programs, but you get the idea...

adamkane
November 21st, 2006, 03:27 AM
Ubuntu Click-and-Run will become a nice alternative for those who don't want/need to bother with sources.list.
http://www.getdeb.net/