notes:apt-trick
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:apt-trick [2014/10/02 20:22] – admin | notes:apt-trick [2014/11/02 11:47] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== APT tricks for forgetful debian/ | ||
+ | |||
To update your package list | To update your package list | ||
apt-get update | apt-get update | ||
Line 22: | Line 24: | ||
To show the priority selection of the package (the installed and the repo versions) | To show the priority selection of the package (the installed and the repo versions) | ||
apt-cache policy < | apt-cache policy < | ||
+ | |||
+ | To show all the installed files of a package use | ||
+ | dpkg-query -L < | ||
+ | or | ||
+ | dpkg --listfiles < |
notes/apt-trick.1412281328.txt.gz · Last modified: 2014/10/02 20:22 by admin