LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apt sources.list (https://www.linuxquestions.org/questions/linux-newbie-8/apt-sources-list-161767/)

bmrust 03-24-2004 08:34 AM

apt sources.list
 
I installed debian off of the CDs. How can I change the /etc/apt/sources.list file to now look online to download the latest version of the software, instead of getting it off of the CDs?

Thanks.

hw-tph 03-24-2004 09:30 AM

You can either edit /etc/apt/sources.list by hand, or make a backup copy of it and run dselect. The first option in dselect will let you update your sources.list to look online.
It can be a bit confusing so it might be wise to get an example sources.list from the web and change it to your preferences.


Håkan

bmrust 03-24-2004 11:30 AM

i dont mind editing it by hand, my question was, what do i change it to?

thanks again.

bhaskie 03-24-2004 12:42 PM

These are a few lines from my sources.list. Please change the mirrors as it suits you.

deb http://http.us.debian.org/debian/ stable main contrib non-free
deb http://non-us.debian.org/debian-non-US/ stable/non-US main contrib non-free
deb http://http.us.debian.org/debian/ unstable main contrib non-free
deb http://non-us.debian.org/debian-non-US/ unstable/non-US main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free

# MPLAYER UNSTABLE DEBS
deb http://marillat.free.fr/ unstable main

# deb-src http://http.us.debian.org/debian/ stable main contrib non-free
# deb-src http://non-us.debian.org/debian-non-US/ stable non-US


All times are GMT -5. The time now is 03:00 AM.