Appendix A. Debian Package Management
Debian Package Architecture
Debian’s package management landscape is made up of databases for tracking packages (which is kept in /var/lib/dpkg
), package-related tools for package management, and package files (or .deb
files).
Debian’s Package Database
The package database for Debian’s dpkg
scheme is located in /var/lib/dpkg
. Typically, three main files are in this directory: status
, diversions
, and available
. The status
file contains the states for each package that’s installed. The available
file is a list of the packages available from the package sources for update, and the diversions
file is the list of diverted packages, or packages that weren’t installed to the default locations for whatever reason.
Debian ...
Get LPIC I Exam Cram™ 2: Linux Professional Institute Certification Exams 101 and 102 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.