man > Dpkg::Deps::KnownFacts(3perl)

📛 NAME

Dpkg::Deps::KnownFacts - list of installed real and virtual packages

🚀 Quick Reference

Use CaseCommandDescription
Create a new KnownFacts object$facts = Dpkg::Deps::KnownFacts->new()Creates a new object.
Record an installed package$facts->add_installed_package($package, $version, $arch, $multiarch)Records that the given version of the package is installed.
Record a virtual package provided$facts->add_provided_package($virtual, $relation, $version, $by)Records that the "$by" package provides the $virtual package.
Evaluate simple dependency (private)$facts->evaluate_simple_dep()Private method, used internally by Dpkg::Deps.

📖 DESCRIPTION

This class represents a list of installed packages and a list of virtual packages provided (by the set of installed packages).

🔧 METHODS

📜 CHANGES

🔄 Version 2.00 (dpkg 1.20.0)

❌ Remove method: $facts->check_package().

🔄 Version 1.01 (dpkg 1.16.1)

🆕 New option: Dpkg::Deps::KnownFacts->add_installed_package() now accepts 2 supplementary parameters ($arch and $multiarch).

⚠️ Deprecated method: Dpkg::Deps::KnownFacts->check_package() is obsolete, it should not have been part of the public API.

🔄 Version 1.00 (dpkg 1.15.6)

🌐 Mark the module as public.


1.21.1 2025-09-09 Dpkg::Deps::KnownFacts(3perl)

Dpkg::Deps::KnownFacts(3perl)
📛 NAME 🚀 Quick Reference 📖 DESCRIPTION 🔧 METHODS 📜 CHANGES
🔄 Version 2.00 (dpkg 1.20.0) 🔄 Version 1.01 (dpkg 1.16.1) 🔄 Version 1.00 (dpkg 1.15.6)

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-21 05:46 @2600:1f28:365:80b0:e9a9:ac35:f5fe:ea62
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format