Niels Thykier: Testing migration and package relations
While looking at the dpkg Breaks-field[0]
[0] There is perfectly valid reason for doing that.
I might get back to that in a later post.
[1] One in unstable, testing, testing-proposed-updates and proposed-updates. The latter may seem a bit weird, but [0]
[2] This is the rule that prune relations like the one in the dpkg Breaks-field.
Edit: 2011-01/09, clarified that we have at most 4 versions per architecture.
$ aptitude show dpkg Package: dpkg [...] Version: 1.16.1.2 [...] Breaks: apt (< 0.7.7), aptitude (< 0.4.7-1), dpkg-dev (< 1.15.8), libdpkg-perl (< 1.15.8), pinfo (< 0.6.9-3.1), tkinfo (< 2.8-3.1)it occurred to me that most (all?) of these relations were irrelevant to Britney when she migrated dpkg 1.16.1.2 to testing. Right now, at least the APT relations are only relevant if you are doing something like a distribution upgrade from Lenny/Squeeze to Wheezy. Similarly, the version constraints in a lot of dependency relations (e.g. libc6 (>= 2.11) ) are satisfied in testing and unstable at the same time. Removing the version constrains on dependencies is a rather minor thing as it is basically just a minor constant time optimization on each dependency check. However, removing an entire clause slightly reduces the problem size a bit. Particularly, the Conflicts/Breaks relations tends to be expensive for us. The first task was to identify the relations that can (or cannot) be simplified. In a Britney run we at most 4 versions of the same package per architecture, though usually only 1 or 2[1]. I devised a small set of rules to simplify the relations. These rules are applied to each package in the relation (atomic proposition, if you will).
- If the relation is versioned and it involves a virtual package in any suite, then do not change the relation in any way. Rationale: A virtual package cannot satisfy any versioned relation (Policy Manual 7.5)
- If the relation is a dependency (i.e. Pre-Depends or Depends) and the package is not available in any suite, then do not change the relation in any way.
- If the relation is versioned and the relation is satisfied in all suites (where the relationed-on package is available), then remove the version constrain. Rationale: If all (present) versions satisfy the relation, then version constrain does not change the semantics.
- If the relation is a conflict (i.e. Conflicts or Breaks) and relation is unsatisfiable in all suites, then remove the relation. Rationale: If none of the (present) versions satisfy the conflict-relation, then there is no conflict[2].
Having designed the 3D model for a Pinard Horn (Foetoscope) last night, I 
Recently I've been wanting to replace my old point and shoot camera, a
That time of the year comes where I summarize my running
activities. It's now 4.5 years that I resumed running, after nearly 10
years without active sports. Apparently, things continue to improve,
though I'm logically reaching my limits in some way.
I finally missed the 2500km mark by 14 kilometers, mostly because of a
cold I had during the last 2 days of the year.
The grand total is thus 2486 kilometers run, in 237 hours (9 days
21hours), at about 10.5km/h. The climbed height difference is 27700
meters, so about three times the altitude of Mount Sagarmatha..:-)
This was achieved in 294 "activities". That seems to be a lot (nearly
1 activity per day): indeed, there are days where I have up to 4
activities, when I run to/back work, which means two runs in the
morning (3+4km) and two in the evening. If I count the number of days
where I had at least one running activity, this lowers to 181.
In short, I ran about every 2 days. Indeed, along the year, the
biggest timeframe between two runs has been 7 days. In short, I ran
at least once every week during this year. The most active month was
July with 272km and the less active was September with 163.5.
When counted by distance, this summarizes to:

The system which was hosting this blog had a tendency to go down every few days. I swapped it out for a spare yesterday. Let s see if it stays up. The hypervisor hosts this web server, a mysql server and an SKS pool member, all of which are built on top of Squeeze.
Part of our work to make it possible to use UEFI Secure Boot on Linux has been to improve our EFI variable support code. Right now this has a hardcoded assumption that variables are 1024 bytes or smaller, which was true in pre-1.0 versions of the EFI spec. Modern implementations allow the maximum variable size to be determined by the hardware, and with implementations using large key sizes and hashes 1024 bytes isn't really going to cut it. My first attempt at this was a little ugly but also fell foul of the fact that sysfs only allows writes of up to the size of a page - so 4KB on most of the platforms we're caring about. So I've now reimplemented it as a filesystem[1], which is trickier but avoids this problem nicely.
So there should be 


The