Welcome to rpmdeplint’s documentation!¶
Rpmdeplint is a tool to find errors in RPM packages in the context of their dependency graph.
rpmdeplint¶
Synopsis¶
Description¶
The rpmdeplint will test dependency satisfiability of given RPM packages against given repositories.
Options¶
-
--repo
NAME,PATH
¶ You can provide multiple repos of each type. The NAME may be anything you choose. The path must either be a filesystem path or a URL. In either case, the path is expected to point at repodata/repomd.xml.
Commands¶
- check-sat
- Checks for unmet dependencies with the given RPM packages against the given repositories. Each unmet dependency is listed.
- check-conflicts
Checks for undeclared file conflicts in the given RPM packages: that is, when one of the given package contains a file which is also contained in some other package.
This command will not report a file as conflicting between two packages if:
- there is an explicit RPM
Conflicts
between the two packages; or - the file’s checksum, permissions, owner, and group are identical in both packages (RPM allows both packages to own the file in this case); or
- the file’s color is different between the two packages (RPM will silently resolve the conflict in favour of the 64-bit file).
- there is an explicit RPM
- list-deps
- All dependencies will be listed for each given RPM package.
Exit status¶
Zero if all dependencies are satisfiable. Non-zero if dependency errors are encountered.
Examples¶
Test if an RPM package has unsatisfied dependencies against a remote repository:
rpmdeplint check-sat --repo beaker,https://beaker-project.org/yum/client/Fedora23/ my-package.rpm
Problems with dependency set:
nothing provides python(abi) = 2.7 needed by some-package-1.2.3.fc23.noarch
nothing provides TurboGears >= 1.1.3 needed by other-package-33.2-1.fc23.noarch
List all dependencies for my-package.rpm:
rpmdeplint list-deps --repo beaker,https://beaker-project.org/yum/client/Fedora23/ my-package.rpm
my-package has 72 dependencies:
basesystem-11-1.fc23.noarch
bash-4.3.42-1.fc23.x86_64
beaker-common-22.1-1.fc22.noarch
....
Bugs¶
Bug reports can be submitted to https://bugzilla.redhat.com/.