Expand description
The pacman local database.
Each installed package is a directory <name>-<version> under
var/lib/pacman/local, holding a desc file of %SECTION% blocks and
a files file listing what the package owns. Both are plain text.
Dependency names carry version constraints and soname suffixes
(glibc>=2.39, libfoo.so=1-64); only the name is kept, since the
sysroot is pinned and what is installed is what there is.
Structs§
- Database
- Every installed package, with indexes by provided name and by file.
- Package
- One installed package.
Constants§
- LOCAL_
DB - Where the database sits under a root.
Functions§
- dependency_
name - The bare name of a dependency, provision or optional dependency entry:
glibc>=2.39isglibc,libfoo.so=1-64islibfoo.so, andmesa: OpenGL supportismesa.