Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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'm trying to find the original, unmodified /etc/apt/sources.list file for Kubuntu 12.04 (or Ubuntu 12.04). I'm referring to the one that is found in a newly-installed system. I've found lots of information on how to modify the file, but nothing on where to find the virgin version of it. It doesn't seem to be in any package.
And I'm curious: what agent is responsible for creating that original file?
The source list generator is neat and does solve the problem, but it doesn't quite answer my question. The original sources.list that somehow got onto my system included a bunch of comments which aren't in the generated list. And I'm still wondering where the list that appears in a newly installed system comes from, since it doesn't appear to be in any package.
#deb cdrom:[Ubuntu 12.04 _Precise Pangolin_ - Release i386]/ Precise main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://gb.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner
I'm so not familiar with the Ubuntu installer, but at least on Debian the initial /etc/apt/sources.list is generated during the install process by apt-setup. It is probably something similar in Ubuntu, but to be sure you'd need to poke around in the installer code.
The commented version is the one I was looking for
@vtel57, the commented version is precisely the one I was asking about. So apt-setup does the deed during installation. That's plausible!! Interestingly, apt-setup isn't in Synaptic's package list for Kubuntu.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.