Axel Beckert: Group packages by origin in aptitude
I always wondered how others recognise non-Debian packages in the
aptitude package tree. I also missed the additional priority level in
the hierachy well-known from good old dselect.
For the last one, I quickly found out that you can set the priority as
subsection — it’s straight forward after you’ve read the
documentation: Just add ,priority at the end of the
default grouping method for package views under “Options → UI
Options” in the aptitude menu.
Getting the origin as given in the Release file of the repository a
package originates from is a little bit more difficult. You need to
use the pattern() group function with the appropriate
search pattern: pattern(~O)
Since already the default default grouping method for package views
doesn’t fit into the dialog, I nowadays just edit /etc/apt/apt.conf directly for changes on
aptitude’s default grouping method for package views. It now looks
like this on several of my machines:
Aptitude::UI Default-Grouping "filter(missing),status,section(subdir,passthrough),pattern(~O),section(topdir),priority"; ;In aptitude this looks like this:
[...]
--- text - Text processing utilities
--\ utils - Various system utilities
--- Debian
--- Mowgli
--- volatile.debian.org
--\ web - Web browsers, servers, proxies, and other tools
--- Debian
--- Opera Software ASA
--\ x11 - The X window system and related software
--\ Debian
--- contrib - Programs which depend on software not in Debian
--\ main - The main Debian archive
--- Priority optional
--- Priority extra
--- non-free - Programs which are not free software
--- Mowgli
[...]
Unfortunately this doesn’t work with all non-Debian repositories since
a few repository maintainer, e.g. those from Emdebian, arrogate to just keep
“Debian” as their packages’ origin. This could be solved, if there’s a
possibility to group by e.g. repository URL (host and/or path).
Another problem I haven’t solved yet is that grouping by origin does
neither work with locally created nor virtual packages nor tasks
— probably since all of them lack an origin. Those branches are
just empty or don’t even show up anymore with this configuration. I
probably have to dig a little bit more in the aptitude documentation
to resolve this.
Now playing: E-Rotic — Max don’t have sex with your ex
Now that through black magic, voodoo, and a working network driver I have
Avahi working on my NAS and UPnP working on my SoundBridge, I can
get back to the task of learning a bit about
I was at the September meeting of the

Somewhat unbelievably (to me at least) there is still wireless in my mother’s backyard and it has only gotten better and stronger. But let’s face it, writing in garden lounge chairs among the frogs, birds, sun, rain and wind are sub-optimum for thinking and writing, so I am always looking for good and, most especially, gratis wireless.
I was pretty psyched to find a new cafe,
The
The best sci-fi series for a while IMNSHO,
At Debconf, we (the i18n crowd) discussed about the
A new release with a new feature: pommed can now act as a replacement for the PC Speaker and play your favorite WAV file as the system beep.
The feature is disabled by default as it’s not needed on all machines (most of the PowerPC machines have their system beep handled by the sound driver) and I guess not everybody wants it by default. You need to load the uinput driver before pommed starts for this to work.
If you want your Mac to behave like a good old Mac and have it quack at you, Google for Quack.aiff and turn that into a WAV file ;)
Back around 1999, I was really interested in getting all of