Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-12-2008, 05:02 AM
|
#1
|
LQ Newbie
Registered: Nov 2003
Location: London, UK
Distribution: Ubuntu 10.10
Posts: 28
Rep:
|
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?
|
|
|
03-12-2008, 06:25 AM
|
#2
|
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:
|
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.
|
|
|
03-12-2008, 06:27 AM
|
#3
|
Member
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 189
Rep:
|
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.
|
|
|
03-13-2008, 01:43 AM
|
#4
|
LQ Newbie
Registered: Nov 2003
Location: London, UK
Distribution: Ubuntu 10.10
Posts: 28
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|