Saturday, November 5, 2011

Ubuntu: Where the package come from ?

Really nice trick:


apt-cache policy


For example:
apt-cache policy uno-libs3
uno-libs3:
  Installed: 1.6.0+OOo3.2.0-7ubuntu4.2
  Candidate: 1.7.0+LibO3.3.4-0ubuntu1~lucid1~ricotz2
  Version table:
     1.7.0+LibO3.3.4-0ubuntu1~lucid1~ricotz2 0
        500 http://ppa.launchpad.net/ricotz/ppa/ubuntu/ lucid/main Packages
 *** 1.6.0+OOo3.2.0-7ubuntu4.2 0
        500 http://ua.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
        100 /var/lib/dpkg/status
     1.6.0+OOo3.2.0-7ubuntu4 0
        500 http://ua.archive.ubuntu.com/ubuntu/ lucid/main Packages



So, In my case I can see that the last version 1.7.0 comes from non-Ubuntu report


Reference:
http://superuser.com/questions/106794/how-to-tell-from-what-ubuntu-or-debian-repository-a-package-comes

0 comments: