LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 03-24-2004, 08:34 AM   #1
bmrust
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?

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

Rep: Reputation: 57
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
 
Old 03-24-2004, 11:30 AM   #3
bmrust
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
bhaskie
Member
 
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 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
 
  


Reply


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


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

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