Get update type of .deb file
Big bang theory
baglio.giuseppe at yahoo.com
Wed Apr 3 15:09:22 UTC 2013
Tom H-4 wrote
> On Tue, Apr 2, 2013 at 6:30 AM, Giuseppe Baglio
> <
> baglio.giuseppe@
> > wrote:
>> Da: Tom H <
> tomh0665@
> >
>> Inviato: Mercoledì 27 Marzo 2013 19:21
>>> On Wed, Mar 27, 2013 at 12:53 PM, Giuseppe Baglio
>>> <
> baglio.giuseppe@
> > 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.
>
> --
> ubuntu-users mailing list
> ubuntu-users at .ubuntu
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
I really appreciate your reply but now I need something that is independant
from the running version of Ubuntu, do you have any idea ?
--
View this message in context: http://ubuntu.5.n6.nabble.com/Get-update-type-of-deb-file-tp5019191p5020015.html
Sent from the ubuntu-users mailing list archive at Nabble.com.
More information about the ubuntu-users
mailing list