package database
The local record a package manager keeps of every installed package, its version and the files it owns.
In more detail
It answers which package put this file here: dpkg -S /etc/web.conf on Debian, rpm -qf on Fedora or pacman -Qo on Arch. That tells you whether a file is vendor content managed by a package or local configuration you own. Never edit the database by hand.
Example
file=/etc/web.conf owner=web action=installed links a file to the package that installed it.Related terms
- package manager — A tool that installs, updates and removes software together with what it depends on, such as apt on Debian, apk on Alpine or Homebrew on macOS.
- software package — An archive containing a program's files plus metadata: its name, version, dependencies and scripts to run on install or removal.
- configuration file — A text file, usually under /etc, that tells a program or service how to behave.
Taught in
- What A Package Manager Guarantees — Linux Fundamentals & Systems Administration