[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg/apt voodoo to ask "what version of <pkg> is installed, if any?"



On Wednesday, September 12, 2012 04:54:27 PM Andrei POPESCU wrote:
> On Mi, 12 sep 12, 15:44:59, Kris Deugau wrote:
> > Is there a single command that can do this for both virtual and real
> > packages, a la "rpm -q --whatprovides"?
> 
> I have no idea what that command does, can you provide an example?

Try 'dpkg-query -s name' and 'dpkg-query -S name'.


Reply to: