Archive for March, 2007

Aptitude

Monday, March 26th, 2007

I’ve been using dpkg, apt-get and apt-cache for a long time, but since I got a new laptop with a fresh install of Debian testing I have been playing with new toys.

One is aptitude.

I found the curses-based interface obnoxious, but after some time I came to like the command line interface. It has some very nice abilities.

It integrates debfoster functionality as it automatically uninstalls unused dependencies of packages being removed. That’ll be a great help in maintaining a clean uncluttered system.

The search function is really useful, adding a lot of possibilities that used to require several programs. Here are few examples:

Search for all packages whose description matches “syncml”:

aptitude search ~dsyncml

Search for installed packages depending on “rsync”:

aptitude search ~Drsync~i

The search patterns are regular expressions, so the above will actually search for an installed package depending on some other package whose name contains the substring “rsync”.

Simpel terms search on the package names, such as:

aptitude search '^rdiff'

Aptitude has a silly little easter egg. Try “aptitude moo” and then add “-v” options one at a time.

Nokia N800 firmware upgrade 3.2007.10-7

Sunday, March 25th, 2007

Nokia released a new firmware for the N800 tablets, and I flashed mine yesterday. It was by far the easiest upgrade ever.

I took a backup first and stored it on the internal flash card, and flashed the unit as per the instructions. One of the first questions asked was if I wanted a backup restored and I picked the backup made just before the flash.

The backup restored my gconf settings, and all the application repositories I had added, so while the non-standard applications weren’t restored automatically, all it took was to go to the Application Manager and install the ones I wanted. Applications that use gconf for user preferences had their preferences set already so I had to do nothing. For example, the FM radio applet had all the same stations as before the upgrade.

Blog moved to WordPress

Sunday, March 18th, 2007

I finally got my act together at moved this blog to WordPress. There’s still a few lose ends, some uploaded pictures are missing and will have to be added by hand, and the top graphic needs replacing.

It’ll probably make a mess of those places using the feeds from here. Sorry about that.