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

Re: How to get version information in common notation



Joey Hess <joeyh@debian.org> writes:


[...]

> dpkg-query can display the information in whatever form you want. For
> example:
>
> dpkg-query --show --showformat '${Package} ${Version}\n'
>
> (package-version is rarely used in Debian because it's ambiguous;
> is foo-9-1 version 9-1 or foo, or version 1.2 of foo-9?)


Tom H <tomh0665@gmail.com> writes:

[...]

> aptitude search -F '%p %v' xorg
>
> or for all installed packages
>
> aptitude search -F '%p %v' '?installed'

Clive Standbridge <list-user@tgstandbridges.plus.com> writes:


[...]

>> ,----
>> |    aptitude versions xorg
>> |   ihA 1:7.6+9           testing    500
>> `----
>> 
>> I mean like `pkg-version'
>
> A succinct listing can be had from "wajig snapshot" which outputs
> "package=version":

[...] snipped excellent tips


OH boy, you guys have really filled me in nicely.  I bet it would have
been wks or even mnths before I stumbled up on any of that input.

Thanks for the really excellent input one and all.


Reply to: