Get update type of .deb file

Tom H tomh0665 at gmail.com
Wed Apr 3 15:01:57 UTC 2013


On Tue, Apr 2, 2013 at 6:30 AM, Giuseppe Baglio
<baglio.giuseppe at yahoo.com> wrote:
> Da: Tom H <tomh0665 at gmail.com>
> Inviato: Mercoledì 27 Marzo 2013 19:21
>> 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
>
> WOW thank you very much! I think this is what i need.

You're welcome.




More information about the ubuntu-users mailing list