I managed to trash my sources.list and its backup file...
could someone please post theirs or point me to where I can find an official list so I can put everything back together please
This is more of a curiosity question as I try to get a better understanding of apt and package management.
I'm seeing that in my /etc/apt/ and /etc/apt/sources.list.d/ folders I have very or sometimes identical files which have the extension of sources.list, sources.list.distUpgrade, sources.list.save, and so on.
What's the point of these duplicate or similar files?
The Ubuntu sources.list generator, is a web application that can create custom sources.list files for various version of Ubuntu. The sources.list file tells the packaging system where it can look for software to install. The generator can add many additional sources, including those for proprietary software.
I made a lame mistake of deleting some precise .list files from /etc/apt/sources.list.d in backtrack 5 R3. The reason for this was that the KPackageKit notified me about a ubuntu upgrade and the upgrade hanged at the "ilegal" source files, so i deleted them, without making a backup.
I was trying to install ruby using the rvm and it was failing due to a problem with apt-get update. I discovered that this is caused by problems with the sources.list file in the etc/apt directory. I tried to use this http://blog.ubuntu-tweak.com/guide/how-to-fix-the-source-list-files to understand and fix my sources file.