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

pkgman-list-dupprint list of duplicate packages

pkgman list-dup [--prefer-higher | --strict-diff] [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:

Prefer higher installed versions over lower ones in the packages sources directories.
Override --prefer-higher command-line option or configuration setting in pkgman.conf.
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.

September 9, 2023 Zeppe-Lin