Experimente o comando abaixo,
apt-cache policy package-name
Exemplo 1:
avinash@avinash-Lenovo-IdeaPad-Z500:~$ apt-cache policy firefox firefox: Installed: 24.0+build1-0ubuntu1 Candidate: 27.0.1+build1-0ubuntu0.13.10.1 Version table: 27.0.1+build1-0ubuntu0.13.10.1 0 500 http://ubuntu.inode.at/ubuntu/ saucy-updates/main amd64 Packages 500 http://ubuntu.inode.at/ubuntu/ saucy-security/main amd64 Packages *** 24.0+build1-0ubuntu1 0 500 http://ubuntu.inode.at/ubuntu/ saucy/main amd64 Packages 100 /var/lib/dpkg/status
No exemplo acima, o repositório principal picante fornece apenas a versão 24.0+build1-0ubuntu1
, mas http://ubuntu.inode.at/ubuntu/ saucy-updates/main amd64 Packages
e http://ubuntu.inode.at/ubuntu/ saucy-security/main amd64 Packages
fornece a versão mais recente ( 27.0.1+build1-0ubuntu0.13.10.1
) do firefox.
Exemplo 2:
avinash@avinash-Lenovo-IdeaPad-Z500:~$ apt-cache policy vlc vlc: Installed: 2.0.8+git20140211+r49186+13+8~ubuntu13.10.1 Candidate: 2.0.8+git20140305+r49188+13+8~ubuntu13.10.1 Version table: 2.0.8+git20140305+r49188+13+8~ubuntu13.10.1 0 500 http://ppa.launchpad.net/videolan/stable-daily/ubuntu/ saucy/main amd64 Packages *** 2.0.8+git20140211+r49186+13+8~ubuntu13.10.1 0 100 /var/lib/dpkg/status 2.0.8-1 0 500 http://ubuntu.inode.at/ubuntu/ saucy/universe amd64 Packages
Neste exemplo, tanto o PPA de videolan quanto o repositório Universe fornecem a mesma versão de vlc.