Discover package priority.
--- a/debian-apt.rst Sun Jan 10 10:04:41 2016 +0200
+++ b/debian-apt.rst Sun Jan 10 10:07:11 2016 +0200
@@ -64,6 +64,29 @@
Pin: release o=Kali
Pin-Priority: 50
+To discover package priority::
+
+ bash# apt-cache madison emacs24
+ emacs24 | 24.5+1-3 | http://ftp.us.debian.org/debian/ testing/main amd64 Packages
+ emacs24 | 24.4+1-5 | http://http.kali.org/kali/ kali-current/main amd64 Packages
+ emacs24 | 24.5+1-3 | http://ftp.us.debian.org/debian/ testing/main Sources
+
+ bash# apt-cache policy emacs24
+ emacs24:
+ Installed: 24.5+1-3
+ Candidate: 24.5+1-3
+ Version table:
+ *** 24.5+1-3 0
+ 990 http://ftp.us.debian.org/debian/ testing/main amd64 Packages
+ 100 /var/lib/dpkg/status
+ 24.4+1-5 0
+ 50 http://http.kali.org/kali/ kali-current/main amd64 Packages
+
+ bash# aptitude versions emacs24
+ Package emacs24:
+ p 24.4+1-5 kali-current 50
+ i 24.5+1-3 testing 990
+
Debian releases.
================
@@ -232,4 +255,3 @@
$ apt-rdepends -r $PKG
$ apt-rdepends -d $PKG | dot -Tsvg >$PKG.svg && see $PKG.svg
$ apt-rdepends -d -r $PKG | dot -Tsvg >$PKG.svg && see $PKG.svg
-