REVDEP(1) | General Commands Manual | REVDEP(1) |
revdep
— check for
missing or wrong libraries of installed packages
revdep |
[-Vehptv ] [-L
ldsoconffile] [-D
pkgdbfile] [-R
revdepdir] [-I
pkgname[,...]] [pkgname
...] |
The revdep
utility checks for missing or
wrong libraries of installed packages using elfutils' libelf and the same
algorithm that ld.so(8) uses.
The options are as follows:
-L
ldsoconffile,
--ldsoconf
=ldsoconffileNote: This option is ignored on non-glibc systems.
-D
pkgdbfile,
--pkgdb
=pkgdbfile-R
revdepdir,
--revdepdir
=revdepdirrevdep
package
configuration directory instead of the default
/etc/revdep.d. See
Additional Library
Directories below for details.-I
pkgname[,...],
--ignore
=pkgname[,...]-e
,
--erroneous
-p
,
--precise
-t
,
--trace
-v
,
--verbose
-V
,
--version
-h
,
--help
Upon startup, revdep
searches the
/etc/revdep.d directory for files named after
packages. If any are found, any directories (assumed to be absolute paths
and delimited by newlines) within the file are added to a list of package
specific directories to search if a library dependency is not found in one
of the many standard locations (as specified by
ld.so(8)).
If a package is discovered to have a library dependencies that are
in a non-standard directory /usr/lib/firefox then a
file named firefox should be created under
/etc/revdep.d with a single line containing
/usr/lib/firefox. This will tell
revdep
where to find Firefox's
libxul.so when looking for its library dependencies,
reducing one source of false positives. Ideally, this file would be included
with the package's own packaging as well.
Try this command to list broken packages:
revdep
Use this command to rebuild broken packages on your system:
pkgman update -fr `revdep`
The original implementation of revdep
as a
shell script was done by Johannes Winkelmann
<jw@tks6.net>, the member
of CRUX Team, as part of
“prt-utils” package. The C++ rewrite was done by
James Buren
<ryuo@frugalware.org>
with design contribution by Danny Rawlins
<contact@romster.me>.
This implementation was re-worked for Zeppe-Lin by Alexandr Savca <alexandr.savca89@gmail.com>.
June 19, 2024 | Zeppe-Lin |