LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 03-12-2008, 05:02 AM   #1
sitka
LQ Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: Ubuntu 7.10
Posts: 24
Thanked: 0
Question sources.list


[Log in to get rid of this advertisement]
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?
sitka is offline  
Tag This Post ,
Reply With Quote
Old 03-12-2008, 06: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
Thanked: 0
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.
redhatrosh is offline     Reply With Quote
Old 03-12-2008, 06:27 AM   #3
redgoblin
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 112
Thanked: 0
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.
redgoblin is offline     Reply With Quote
Old 03-13-2008, 01:43 AM   #4
sitka
LQ Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: Ubuntu 7.10
Posts: 24
Thanked: 0

Original Poster
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.
sitka is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 10:26 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration