Package: lsb-release
Version: 3.2-23

Hi.

I'm also affected by this bug, I spent an hour trying to understand why
openjdk-6 didn't compile (it thought to be on lenny, so it searched for
wrong paths).

I've had a look at the distribution detection algorithm. Right now,
lsb_release sorts by priority and then returns the one with the highest
priority. If there are more than one with the highest priority, it
returns one of them, randomly (well, that that is put at the highest
place by sort(), without any knowledge of their meaning).

Maybe this could be improved: when there is more than one distribution
with maximum priority, it can return the most recent one (this make
sens, because it's the same algorithm used by APT when it falls back to
comparing versions).

I'll try to write a patch tonight or tomorrow.

Thanks, Giovanni.
-- 
Giovanni Mascellani <[email protected]>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: [email protected] / [email protected]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to