On Sat, Nov 7, 2009 at 1:06 AM, Frans Pop - elen...@planet.nl <+bugreport+wentzel+24599ab956.elendil#planet...@spamgourmet.com> wrote:
> Did you have the package installed when you ran debtree? > If it was installed, was that at the new or an older version? > I didn't have the package installed, this case wouldn't have been covered by the patch anyway. > > Thanks for the patch. > And thanks for your swift reaction. About the patch: Perl really isn't my language of choice, so I must admit that I quickly used up all my patience, when I looked in AptPkg::Cache to determine what could be causing the problem I experienced. So "naturally" I didn't find it there - I did however notice that the output from apt-cache seemed to be sorted in a descending order. So changing 'pop' to 'shift' was basically an educated guess. But maybe it should be considered doing a sort in debtree on the VersionList array, instead of blindly assuming the sort order returned from AptPkg? - especially since there doesn't seem to be any documents stating what the sort order is supposed to be. Regards, Thomas