dpkg quivalent to rpm -q
david
nux at blueyonder.co.uk
Thu Jan 13 16:50:58 UTC 2005
On Thu, 2005-01-13 at 17:20 +0100, Emil Oppeln-Bronikowski wrote:
> On Thursday 13 of January 2005 17:06, david wrote:
>
> > rpm -q evolution
> > evolution-1.4.0-1mdk.i586.rpm
>
> I should give you a hint, how to use it with grep. Here we go.
>
> emil at rohan:~$ apt-cache show evolution | grep Version:
> Version: 2.0.3-1.1
> emil at rohan:~$ apt-cache show evolution | grep Filename:
> Filename: pool/main/e/evolution/evolution_2.0.3-1.1_i386.deb
>
Wow, incredible response. Thankyou!
dpkg-query -s was exactly what I was looking for.
And apt-cache show xxx shows similar results.
As always, more than 1 way up the mountain.
thanks again
David
More information about the ubuntu-users
mailing list