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
I've been at the gnome summit for most of the past two days. Not actually working on gnome makes this a little strange, but it's kinda fun anyway. I saw demos of both the online desktop and hotwire. I'm not sold on the online desktop yet, but hotwire looks promising and fun. I chatted with ajax about all the cool stuff I missed at XDS this year, and also managed to write some code that lets automatically loading drivers override each other (say, have intel override i810). I'll be putting that code in to the xserver as soon as I get some time, probably this week, so I guess I managed to be productive.
...but, really, Fiji would have deserved the victory. They did put the Stade
Velodrome on fire this afternoon, pushing South-Africa to play....a quite bad
rugby with few imagination and many errors.
In the RSA team, only Steyn emerged and saved his team from sinking (37-20). RSA
scored 5 tries mostly only because they have good four-wheel-driven "trucks".
In the Fiji side, Sisa Koyamaibole and Mosese Rauluni lead their team to
even the score 20-20 on 65th minute...unfortunately, losing in the last 10
minutes despite the support of the entire French crowd.
The Springboks need to improve their play dramatically if they want to have
a chance against Argentina (very probably unless Scotland realises a miracle).
My conclusion today: the Three Nations from southern hemisphere (RSA, NZL,
AUS) should really consider opening their annual tournament to other nations
such as Samoa, Tonga, Fiji or Argentina. That would certainly force them to
play another game than their usual game. Of course, that would mean being
less attractive to players (just count the number of players from Samoa,
Tonga and Fiji who play with New Zealand and Australia) but considerably
widening rugby in the Pacific area.
Let's say you're a French person who has EXTENDED_GLOB
on and types HEAD^ all the time, but can't be bothered
to type a backslash before the caret. Personally, I have no
problem typing HEAD\^, but I probably only do that twice
a day.
Here are a few/several/many (depending on how you count) solutions .
They all have their downsides. Finding out their side effects is an
exercise for the reader.
Number one: setopt noextendedglob
Number two: setopt nonomatch
Number three: alias git='noglob git'
Number four: custom ZLE widget:
In a lot of talks or blog posts (like
If you're ever on Sydney Buses bus number 2660 it can probably
still be seen on the driver side window on the back seat. Maybe what
Itanium needs isn't higher clock speeds, lower power, faster FSB,
etc., but a concerted tagging effort on public transport around the
world!
I love Susan Sontag for her crisp and biting writings. I like that she takes risks and in the process takes you for a ride through her beautiful imagery. I just finished reading Illness and Metaphor and think that her opening is probably one of my all-time favorites
Yesterday my new NAS arrived, to replace my aging and failing hacked
Linkstation. As part of the bundle I also received a
Today I received the replacement hard drives for the
We're a third of the way through spring, and already we're hitting
temperatures that would be a respectable mid-summer day. Tomorrow has also
been declared a Total Fire Ban day in our area. That's probably nearly
unheard of, especially given the large amount of rain that we've had over
winter.
I think I'm going to be a busy boy this summer. The bush around our town
last had a bushfire through it seven years ago, and there's a regular seven
year cycle of major bushfires. We're due for it. As this is my first
summer as a qualified bush firefighter, I'm a bit twitchy about what the
continued hot, dry weather may bring. Here's hoping it's not too horrific.
Looking at the web stats, I noticed, that quite a lot of people find
something relevant to "environmental" on my pages. As I was not aware of
anything related here, I