dpkg-scanpmpackages - creates PerlPackages index from .deb files
dpkg-scanpmpackages [repository_folder] --blacklist=comma,separated,package,names optional - packages that should not be indexed --pool-url=http://ftp.cz.debian.org/debian/ optional - an url to fetch missing .deb files from --cleanup-deb optional - when set will remove .deb file after it was processed
Finds all Packages.bz2 and for all *.deb files listed there indexes the Perl modules files *.pm creating PerlPackages.bz2 file in the same folder.
Jozef Kutej
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
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.