PKGMAN-LIST-DUP(1) | General Commands Manual | PKGMAN-LIST-DUP(1) |
pkgman-list-dup
—
print list of duplicate packages
pkgman |
list-dup [format] |
Print list of duplicate packages in the packages sources directories. It looks in all directories specified in /etc/pkgman.conf as “pkgsrcdir” argument.
The default format string is “%p1 %v1 %c %p2 %v2\n”.
The options are as follows:
Variable | Replacement |
%n | package name |
%p1 | full path (including name) to package source that has priority |
%p2 | full path (including name) to package source being hidden |
%v1 | the version of the package, that has priority |
%v2 | the version of the hidden package |
%c | comparison sign of “%p1” and “%p2”: “<”, “>”, “==”, “!=” |
Use “\n” and “\t” to format your output. No additional format specifier is supported.
Note:
The comparison sign “%c” is influenced by the
preferhigher
configuration setting in
pkgman.conf(5). To modify the
comparison behaviour for this operation only, call
pkgman(1) with custom
--config-append
settings as shown below:
pkgman --config-append="preferhigher no" list-dup [format]
February 26, 2025 | Zeppe-Lin |