Get update type of .deb file
Tom H
tomh0665 at gmail.com
Wed Mar 27 18:21:43 UTC 2013
On Wed, Mar 27, 2013 at 12:53 PM, Giuseppe Baglio
<baglio.giuseppe at yahoo.com> wrote:
>
> My question is really simple: how I can get the update type of a deb
> package?
>
> Example:
> vim_7.3.429-2ubuntu2.1_amd64.deb -> precise
> vim_7.3.429-2ubuntu2_amd64.deb -> precise-updates
>
> vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security
> vino_3.4.1-0ubuntu1_amd64.deb -> precise
aptitude search -F "%p %t %v %V" vim
aptitude search -F "%p %t %v %V" ^vim$
apt-cache madison vim
apt-cache policy vim
(less obviously because you have to look at the name of the
"/var/lib/apt/lists/..._Packages" file associated with the vim
version)
apt-cache showpkg vim
More information about the ubuntu-users
mailing list