Hi there... My name is Marcos Daniel Marado Torres, but I'm often known in the Internet by the handle of Mind Booster Noori.I was born in the Yule day of 1982 in Lamego - Portugal. I'm an Informatics Engineer since July of 2005.

10.8.07

Since many people ask me about these, here's a quick post about some Debian stuff:

apt-get vs. aptitude - aptitude is, IMHO, more flexible, even if you don't want to use the interective client (aptitude update && aptitude upgrade also work). If you use apt-get and aptitude now tells you that you have some unused packages, you can fix that by making an aptitude install to those packages.

apt.conf - you can configure your debian box behaviour in a really flexible way. For instance, in this box I have this:

The first line says that I prefer stable packages. That means that if I have stable and testing repositories, he tryis stable first. To force testing, for instance, do a {apt-get|aptitude} -t testing install package .The two last lines tell you that I want aptitude to install recommended and suggested packages by default.

wajig - This tool is most commonly used for:

Common JIG commands:

update Update the list of down-loadable packages

new List packages that became available since last update newupgrades List packages newly available for upgrading

install Install (or upgrade) one or more packages or .deb files remove Remove one or more packages (see also purge)

toupgrade List packages with newer versions available for upgrading upgrade Upgrade all of the installed packages or just those listed

listfiles List the files that are supplied by the named package listnames List all known packages or those containing supplied string whatis For each package named obtain a one line description whichpkg Find the package that supplies the given command or file

But what I think it's most important in wajig is:$ wajig installrs package - Install package, including recommended and suggested others$ wajig list-orphans - List installed libs not required by any installed package$ wajig purge-depend package - Purge package and libs that would get orphan with the removal$ wajig purge-orphans - Purge orphaned libraries