On Wed, Sep 05, 2001 at 01:45:19PM -0400, Jaldhar H. Vyas wrote:
> On Wed, 5 Sep 2001, Hereward Cooper wrote:
> 
> > But once I installed the -dev via apt-get, "dpkg -l *xml2*"
> > _did_ list the file.
> >
> 
> Sorry I didn't make that clear did I?  dpkg -l only accepts *installed*
> package names.

That's not exactly true, is it?  Although it won't give you any useful
information, the package certainly doesn't have to be installed to get a
listing.

$ dpkg --version
Debian GNU/Linux `dpkg' package management program version 1.9.17
(i386).
This is free software; see the GNU General Public Licence version 2 or
later for copying conditions.  There is NO warranty.
See dpkg --licence for copyright and license details.

$ dpkg -l pine\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
un  pine           <none>         (no description available)
pn  pine-docs      <none>         (no description available)
pn  pine-tracker   <none>         (no description available)
pn  pine396-diffs  <none>         (no description available)
pn  pine396-src    <none>         (no description available)
pn  pine4-diffs    <none>         (no description available)
pn  pine4-src      <none>         (no description available)
pn  pinepgp        <none>         (no description available)

Haven't ever had pine installed, but "dpkg -l" still found some matches...

-- 
Eric G. Miller <egm2@jps.net>

Reply via email to