LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-12-2008, 04:02 AM   #1
sitka
LQ Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: Ubuntu 10.10
Posts: 28

Rep: Reputation: 15
Question sources.list


I've seen a few posts about users who put their CD's in this file. When I looked at my Ubuntu gutsy sources.list, I found that every line had been commented out due to me not having an internet connection at the time.
Do I just un-comment these lines and save the file, or do I have to do something else?
How essential is the sources.list file to the running of the system?
 
Old 03-12-2008, 05:25 AM   #2
redhatrosh
Member
 
Registered: May 2004
Location: Student of University of Mumbai, Maharastra State, India
Distribution: Redhat Linux 9.0, Knoppix LIVE CD, Ubuntu Live CD, Kubuntu Live CD
Posts: 483

Rep: Reputation: 30
How do you update your system? (if at all). If you plan to update your system using an Internet connection, you'll need to uncomment the lines and save the file (with root permissions). Though it is highly recommended to update your system with latest security updates, it may not be compulsory for you to do so.

However, later, if you do plan to update, you'll need to uncomment the lines, as I said earlier, before you actually update.
 
Old 03-12-2008, 05:27 AM   #3
redgoblin
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 189

Rep: Reputation: 41
Yes you can just uncomment them and then run an update.

The sources list is quite essential for upgrading your system (security bugs, etc) and installing new software. Is used by package managers like aptitude and synaptic so they know where to find "packages" of software.

The sources list can refer to CDs or sites on the internet. They all become sources that you can draw on. If you now have a working internet connection then you don't need your CDs. Probably best to leave any reference to them commented out.

For the rest of them, remove the comment markers from lines that start with deb or deb-src. Make sure you don't uncomment any lines that are meant to be comments.

Now use your package management application (is it synaptic?) to update the system or install something new. It should be working.
 
Old 03-13-2008, 12:43 AM   #4
sitka
LQ Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: Ubuntu 10.10
Posts: 28

Original Poster
Rep: Reputation: 15
OK that clears it up for me - thanks for your help. I un-commented all the lines, saved the file and checked for updates - it worked.
 
  


Reply

Tags
sourceslist, ubuntu



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
sources.list...no sources! phantom_cyph Fedora 4 10-16-2007 09:26 PM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
what should be in my sources.list? oomfoofoo Linux - Software 4 08-12-2005 10:35 PM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM
sources.list caleb Conectiva 2 03-19-2003 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration