Hi, if I try for instance SELECT MAX(version) FROM packages WHERE package = 'gcc' GROUP BY version order by version desc; max ------------ 4:4.3.3-5 4:4.3.3-3 4:4.3.2-2 4:4.2.4-5 4:4.1.1-15 (5 rows) I get several maximum versions of the package gcc. Am I missing something or is there a problem in the debversion type implementation? Kind regards Andreas. -- http://fam-tille.de