Lintian::P...e::Relation(3)
π NAME π
Lintian::Processable::Installable::Relation β the Lintian interface to binary package data collection, bestie π«Ά
This page lives in the Debian Package Checker Lintian manual, so you already know it's giving official β¨
β¨ SYNOPSIS β¨
my ($name, $type, $dir) = ('foobar', 'binary', '/path/to/lab-entry');
my $collect = Lintian::Processable::Installable::Relation->new($name);
okay so literally that's the whole vibe. three little variables and a constructor. slay π
πΈ DESCRIPTION πΈ
Lintian::Processable::Installable::Relation hands you an interface to package data for binary packages, no cap. It implements the data collection methods that are specific to binary packages, so you don't have to go rummaging around yourself π
Now real talk: this module is in its infancy πΆ. Most of Lintian still reads all its data from files in the laboratory whenever that data is needed, and generates that data via collect scripts. The goal β the dream, the main character arc β is to eventually access all data about binary packages through this module, so the module can cache data where it makes sense and possibly retire those collect scripts in favor of caching that data in memory. we love a glow-up π₯
Heads up bestie: native heuristics are only available in source packages. So don't come looking for them here π
π INSTANCE METHODS π
relation (FIELD)
Returns a Lintian::Relation object for the FIELD you pass in. That FIELD should be one of the possible relationship fields of a Debian package π β or one of these special little values:
Allβ the concatenation ofPre-Depends,Depends,Recommends, andSuggests. the whole squad π«ΆStrongβ the concatenation ofPre-DependsandDepends. ride or die πWeakβ the concatenation ofRecommendsandSuggests. soft launch energy πΈ
If FIELD isn't present in the package, the returned Lintian::Relation object will be empty β which means it's always present and satisfies nothing. iconically unbothered π
saved_relations
π¦ AUTHOR π¦
Originally written by Frank Lichtenheld <djpig@debian.org> for Lintian. Amended by Felix Lechner <felix.lechner@lease-up.com> for Lintian.
two legends fr fr π
β SEE ALSO β
that's the whole page bestie, tysm for reading π this was Lintian v2.139.0ubuntu2 and it was documented on 2026-10-08 β go forth and check those packages, periodt β¨π
π¦ where this page comes from
- ubuntu stonking: lintian 2.139.0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms