<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>WOW thank you very much! I think this is what i need </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Cheers</span></div><div><br></div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">Da:</span></b> Tom H <tomh0665@gmail.com><br> <b><span style="font-weight: bold;">A:</span></b> Ubuntu Users <ubuntu-users@lists.ubuntu.com> <br> <b><span style="font-weight: bold;">Inviato:</span></b> Mercoledì 27 Marzo 2013 19:21<br> <b><span style="font-weight:
bold;">Oggetto:</span></b> Re: Get update type of .deb file<br> </font> </div> <br>On Wed, Mar 27, 2013 at 12:53 PM, Giuseppe Baglio<br><<a ymailto="mailto:baglio.giuseppe@yahoo.com" href="mailto:baglio.giuseppe@yahoo.com">baglio.giuseppe@yahoo.com</a>> wrote:<br>><br>> My question is really simple: how I can get the update type of a deb<br>> package?<br>><br>> Example:<br>> vim_7.3.429-2ubuntu2.1_amd64.deb -> precise<br>> vim_7.3.429-2ubuntu2_amd64.deb -> precise-updates<br>><br>> vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security<br>> vino_3.4.1-0ubuntu1_amd64.deb -> precise<br><br>aptitude search -F "%p %t %v %V" vim<br>aptitude search -F "%p %t %v %V" ^vim$<br><br>apt-cache madison vim<br><br>apt-cache policy vim<br><br>(less obviously because you have to look at the name of the<br>"/var/lib/apt/lists/..._Packages" file associated with the vim<br>version)<br>apt-cache showpkg vim<br><br>--
<br>ubuntu-users mailing list<br><a ymailto="mailto:ubuntu-users@lists.ubuntu.com" href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br><br><br> </div> </div> </div></body></html>