Re: Bug#51478: dpkg-dev: packages file built from first .deb found rather than latest version of .deb
On Sun, 28 Nov 1999, Steve Robbins wrote:
> The script dpkg-scanpackages from dpkg-dev exhibits a problem if the
> hierarchy scanned has multiple versions of the same package in it. If
> the "binarydir" has foo.1.deb and foo.2.deb, dpkg-scanpackages just
> takes the first one found by "find". Even if it is the older version.
I think it would be better to include both, but sort the newer one first
in the output, that gives maximum future flexability.