Bug#237147: Version: and Filename: in /var/lib/dpkg/available get out of sync
On Wed, Mar 10, 2004 at 12:08:13PM -0600, Adam Heath wrote:
> On Wed, 10 Mar 2004, Matt Zimmerman wrote:
> > This bug has nothing to do with apt.
> > 1. User runs dselect update. The result is a valid available file,
> > containing Package: foo, Version: 1.0-1, Filename: .../foo_1.0-1_all.deb
> > 2. User installs package foo, version 1.0-2 with dpkg --install. The result
> > is an invalid available file, containing a stanza with Package: foo,
> > Version: 1.0-2, Filename: .../foo_1.0-1_all.deb
> Not a bug. Dpkg doesn't know were to get that file. available is a convience
> file, that other tools use, to notify dpkg that they have some file they can
> provide for the system.
Right, dpkg doesn't know where to get that file, and so it shouldn't leave
an obviously incorrect path in the available file.
What's the point of having it in there in the first place? Does anyone use