Bug#502860: reportbug: Gets wrong maintainer for no longer installed packages
On Mon, 20 Oct 2008, Sandro Tosi wrote:
> Hello Ansgar,
> On Mon, Oct 20, 2008 at 13:23, Ansgar Burchardt <firstname.lastname@example.org> wrote:
> > Reportbug sometimes looks up the wrong maintainer for packages that have
> > been removed from the system.
> > The output from "dpkg --print-avail" can be wrong if the package is no longer
> > installed. Reportbug should not use this information for these packages. For
> > example on my system I get this:
> But isn't it a bug in dpkg then? I can feel like --print-avail should
> print only "available" package, and nntp was no longer available on
> your system. I can't think an easy way to fix this if not switching to
> apt-cache or some other tool.
Don't use "dpkg --print-avail" it reports only outdated information in
most cases as the available file is only a left-over from dselect
and as such it's almost guaranteed to not be up-to-date. There's a warning
in the man page in the git repository documenting this limitation already.
Use apt-cache is my suggestion.
Le best-seller français mis à jour pour Debian Etch :
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com