UbuntuThis 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.
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.