Bug#51478: dpkg-dev: packages file built from first .deb found rather than latest version of .deb
On Mon, 29 Nov 1999, Jason Gunthorpe wrote:
>
> 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.
It wasn't clear to me that Packages *could* hold multiple versions of a
single package. Where is the Packages file format documented?
As long as dselect and apt-get are happy, that's fine by me.
-S
Reply to: