Difference between revisions of "Apt-cache policy"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 
* <code>[[apt-cache policy]]</code><ref>http://manpages.ubuntu.com/manpages/xenial/man8/apt-cache.8.html#options</ref> List source repository configured included priorities of each source.
 
* <code>[[apt-cache policy]]</code><ref>http://manpages.ubuntu.com/manpages/xenial/man8/apt-cache.8.html#options</ref> List source repository configured included priorities of each source.
 +
 +
<pre>
 +
apt-cache policy nginx-core
 +
nginx-core:
 +
  Installed: 1.14.0-0ubuntu1.7
 +
  Candidate: 1.14.0-0ubuntu1.7
 +
  Version table:
 +
*** 1.14.0-0ubuntu1.7 500
 +
        500 http://mirrors.digitalocean.com/ubuntu bionic-updates/main amd64 Packages
 +
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
 +
        100 /var/lib/dpkg/status
 +
    1.14.0-0ubuntu1 500
 +
        500 http://mirrors.digitalocean.com/ubuntu bionic/main amd64 Packages
 +
</pre>
  
  

Revision as of 12:51, 13 April 2021

This article is a Draft. Help us to complete it.
apt-cache policy nginx-core
nginx-core:
  Installed: 1.14.0-0ubuntu1.7
  Candidate: 1.14.0-0ubuntu1.7
  Version table:
 *** 1.14.0-0ubuntu1.7 500
        500 http://mirrors.digitalocean.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.14.0-0ubuntu1 500
        500 http://mirrors.digitalocean.com/ubuntu bionic/main amd64 Packages


Related terms

See also

  • http://manpages.ubuntu.com/manpages/xenial/man8/apt-cache.8.html#options
  • Advertising: