Quick Debian Package Management Hack
Sources.list, What?
For those of us using the Debian package management systems, i.e. anyone using "apt-get" or Synaptic for management, there's a better way to organize your repository sources. Most of the time while needing to add more repositories, you would usually add a line to the "sources.list" configuration file. The problem with this is that as you add more repositories to it, it soon becomes cluttered and bloated.
Thankfully, there's a different way to add new repositories without tacking them onto sources.list. If you edit add an empty file to the "sources.list.d" folder (most likely located at "/etc/apt/sources.list.d/", same folder as sources.list), you can add a new repository by place the configuration in that file. If the repository goes down for some reason, instead of searching through the sources list, you could simply delete the configuration file, most probably located at "/etc/apt/sources.list.d/(name of repository).list".
The Hack
For example, if you wanted to add the repository for the Treviño’s Ubuntu packages, rather than tacking it on to sources.list, you could create a new file located at "/etc/apt/source.list.d/trevinos.list", using your favorite text editor. For example, type this into a command line:
sudo gedit /etc/apt/sources.list.d/trevinos.list
Then inside that file simply paste the configuration for his repository and save:
# Treviño’s Ubuntu Feisty Fawn Repository (GPG key: 81836EBF - DD800CD9)
# Many "random" bleeding edge software: aMule, aMSN, Mercury, flash…
# Further informations and complete packages list: http://3v1n0.tuxfamily.org
deb http://download.tuxfamily.org/3v1deb feisty 3v1n0
deb-src http://download.tuxfamily.org/3v1deb feisty 3v1n0
The next time you update your repository lists, Treviño’s will be automatically updated. You can use this for any Debian (Ubuntu) repository, so hopefully you'll keep things organized from now on.

I didn't know you could do that - that would come in handy. That script I told you about needs updating...
So, what exactly is the setup of this site? Is it all you Ross? Cus I've been thinking of doing a kinda consolidated "beginners Linux" geared towards the person thinking of trying out "this Linux thing." Somewhere between a wikipedia entry on Linux and a technical manual - language geared for the linux newbie but with more substance than just an encyclopedia entry. I guess you could call it a survival guide. I guess what I'm asking is if I get some of this done, would you be interested in a "guest post" since my blog is entirely personal?
Hi... Can I do this with a sngle archive... I want to place the source in an FTP server so every time I run apt-get this will syncro them... ?? Sorry for my English, I expect to be clear in the question.... Thanks..
[...] repository sources. Here’s a simple tutorial to keep your repository lists more organized. read more | digg story Social Bookmark Thisdel.icio.us Digg it Give a Link StumbleUpon Yahoo [...]
Do you know if some company use the same marketing concept as Webkinz?
I'm writing a few articles right now and want to get some info and opinions.