Your message dated Mon, 6 Jun 2016 02:58:03 +0200
with message-id <[email protected]>
and subject line Re: Bug#825915: [dpkg] --print-avail broken
has caused the Debian Bug report #825915,
regarding [dpkg] --print-avail broken
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
825915: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825915
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.18.7
Severity: important
--- Please enter the report below this line. ---
Something is wrong with --print-avail. It used to give usefule package
information for installed packages, but now it seems to be broken:
$LANG=C dpkg --print-avail reportbug
dpkg-query: package 'reportbug' is not available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
reportbug *is* installed on my system. However,
$ LANG=C dpkg --print-avail dpkg
works fine and shows the expected output. I'm using severity important,
as reportbug-ng needs --print-avail to get the package dependency
information, see below.
Cheers,
Bastian
--- System information. ---
Architecture: amd64
Kernel: Linux 4.5.0-2-amd64
Debian Release: stretch/sid
500 unstable httpredir.debian.org 500 stable
dl.google.com 1 experimental httpredir.debian.org
--- Package information. ---
Package's Depends field is empty.
Package's Recommends field is empty.
Suggests (Version) | Installed
=======================-+-===========
apt | 1.2.12
--
Dr. Bastian Venthur http://venthur.de
Debian Developer venthur at debian org
--- End Message ---
--- Begin Message ---
Hi!
On Tue, 2016-05-31 at 14:07:50 +0200, Guillem Jover wrote:
> On Tue, 2016-05-31 at 12:26:02 +0200, Bastian Venthur wrote:
> > Package: dpkg
> > Version: 1.18.7
> > Severity: important
>
> > Something is wrong with --print-avail. It used to give usefule package
> > information for installed packages, but now it seems to be broken:
>
> It has never printed information about installed packages, but about
> available ones (from repositories or external sources). What dpkg used
> to do was to update the available information whenever it installed
> a package, but that was in principle wrong, as dpkg didn't record the
> path to them and as such it had no way to know if those package might
> or might not be available. This is the case since dpkg 1.17.11.
>
> > $LANG=C dpkg --print-avail reportbug
> > dpkg-query: package 'reportbug' is not available
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> >
> > reportbug *is* installed on my system. However,
>
> Sure, but dpkg is complaining that it has no information about the
> available packages (i.e. those from the repository).
>
> > $ LANG=C dpkg --print-avail dpkg
>
> > works fine and shows the expected output. I'm using severity important,
> > as reportbug-ng needs --print-avail to get the package dependency
> > information, see below.
>
> Are you sure it's printing information about the currently installed
> package and not an old version? Please compare with the output from
> «dpkg-query --status dpkg».
>
> In any case, if you need information about the currently installed
> package the correct interface is «dpkg-query --status» anyway. So I'm
> planning to close this report if there's no additional information
> indicating there's an actual bug here. :)
Ok, got confirmation off-bts that this works fine, thus closing.
Thanks,
Guillem
--- End Message ---