Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-24-2004, 08:34 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
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?

Old 03-24-2004, 09:30 AM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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.

Old 03-24-2004, 11:30 AM   #3
LQ Newbie
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
i dont mind editing it by hand, my question was, what do i change it to?

thanks again.
Old 03-24-2004, 12:42 PM   #4
Registered: Jan 2004
Location: New Delhi, India
Distribution: L.F.S 5.0 | FreeBSD 5.2 | Debian sid | Gentoo 2004.0 | Slackware 9.1
Posts: 78

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

deb stable main contrib non-free
deb stable/non-US main contrib non-free
deb unstable main contrib non-free
deb unstable/non-US main contrib non-free
deb stable/updates main contrib non-free

deb unstable main

# deb-src stable main contrib non-free
# deb-src stable non-US


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
apt sources.list TranceDude Linux - Software 11 08-13-2005 01:22 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
apt-get sources.list utw-mephisto Debian 5 05-17-2005 11:36 PM
help with /etc/apt/sources.list please Lleb_KCir Linux - Software 0 10-05-2004 01:15 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration