dpkg-scanpmpackages - creates PerlPackages index from .deb files
reprepro-update-perl-packages [repository_folder]
To install Debian::Apt::PM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Debian::Apt::PM
CPAN shell
perl -MCPAN -e shell install Debian::Apt::PM
For more information on module installation, please visit the detailed CPAN module installation guide.