Not found locally for Dpkg::Deps::KnownFacts. Try Google search
Dpkg::Deps::KnownFacts(3perl) libdpkg-perl Dpkg::Deps::KnownFacts(3perl)
Dpkg::Deps::KnownFacts - list of installed real and virtual packages
| Use Case | Command | Description |
|---|---|---|
| Create a new KnownFacts object | $facts = Dpkg::Deps::KnownFacts->new(); | Creates a new object to track installed/provided packages |
| Add an installed package | $facts->add_installed_package($package, $version, $arch, $multiarch); | Record that a specific version/architecture is installed |
| Add a provided virtual package | $facts->add_provided_package($virtual, $relation, $version, $by); | Record that a package provides a virtual package |
| Evaluate simple dependency | $facts->evaluate_simple_dep(); | Private method used internally by Dpkg::Deps |
This class represents a list of installed packages and a list of virtual packages provided (by the set of installed packages).
$facts = Dpkg::Deps::KnownFacts->new();
Creates a new object.
$facts->add_installed_package($package, $version, $arch, $multiarch)
Records that the given version of the package is installed. If $version/$arch is undefined we know that the package is installed but we don't know which version/architecture it is. $multiarch is the Multi-Arch field of the package. If $multiarch is undef, it will be equivalent to "Multi-Arch: no".
Note that $multiarch is only used if $arch is provided.
$facts->add_provided_package($virtual, $relation, $version, $by)
Records that the $by package provides the $virtual package. $relation and $version correspond to the associated relation given in the Provides field (if present).
$facts->evaluate_simple_dep()
This method is private and should not be used except from within Dpkg::Deps.
$facts->check_package().$arch and $multiarch).1.21.1 2025-09-09 Dpkg::Deps::KnownFacts(3perl)
Generated by phpman v4.10.0-7-g98e9fd5 Author: Che Dong Under GNU General Public License
2026-09-09 12:38 @2600:1f28:365:80b0:60b0:dfa5:fbc9:9f8f
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)