WordPress package

Nils Kassube kassube at gmx.net
Sun Apr 15 21:20:12 UTC 2007


On Sunday 15 April 2007 22:22, Derek Broughton wrote:
> Nils Kassube wrote:
> > On Sunday 15 April 2007 04:00, Derek Broughton wrote:
> >> Patton Echols wrote:
> >> > Is it possible to get a list of the things that we have installed
> >> > _and_ what repository they come from?
> >>
> >> Good question, and not afaik, simple.  You could use "apt-cache
> >> pkgnames --installed" to get a list of all installed programs, and
> >> then "apt-cache madison <package> | grep universe" for each one will
> >> show the ones that are in universe.  I guess you could script that
> >> (I guess I could if I practiced more...)
> >
> > That looks interesting, but unfortunately it doesn't do the trick,
> > i.e. there are more packages listed than are actually installed.
>
> !!!  Well, that sure looks like a bug.  You're absolutely right.  How
> can --installed not show just the installed packages!

No, I don't think it is a bug. If you look at tha manpage for apt-cache, 
it says

--installed
 Limit the output of depends and rdepends to packages which are currently
 installed. Configuration Item: APT::Cache::Installed.

It doesn't say the output is limited to installed packages.


Nils




More information about the ubuntu-users mailing list