PKGMAN-LIST-DUP(1) General Commands Manual PKGMAN-LIST-DUP(1)

pkgman-list-dupprint 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:

format
The string that contain variables, which are replaced like this:

%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.

: The comparison sign “%c” is influenced by the 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