Get update type of .deb file
Big bang theory
baglio.giuseppe at yahoo.com
Mon Apr 22 11:36:07 UTC 2013
Tom H-4 wrote
> On Wed, Apr 3, 2013 at 12:28 PM, Big bang theory
> <
> baglio.giuseppe@
> > wrote:
>
> There'll be in different files. For example for vim in 12.10:
>
> apt-cache policy vim
> ...
> 2:7.3.547-4ubuntu1.1 0
> 500 http://uk.archive.ubuntu.com/ubuntu/ quantal-updates/main
> amd64 Packages
> 2:7.3.547-4ubuntu1 0
> 500 http://uk.archive.ubuntu.com/ubuntu/ quantal/main amd64
> Packages
>
> So you'd have to look at both the quantal and quantal-updates files:
I've noticed a strange case with apt-cache policy
$ apt-cache policy sudo
*** 1.8.3p1-1ubuntu3.4 0
500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64
Packages
500 http://archive.ubuntu.com/ubuntu/ precise-security/main amd64
Packages
100 /var/lib/dpkg/status
1.8.3p1-1ubuntu3 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
Why the sudo version 1.8.3p1-1ubuntu3.4 is reported in both precise-updates
and precise-security??
--
View this message in context: http://ubuntu.5.x6.nabble.com/Get-update-type-of-deb-file-tp5019191p5022251.html
Sent from the ubuntu-users mailing list archive at Nabble.com.
More information about the ubuntu-users
mailing list