Debmirror is a perl script that mirrors Debian repositories on RedHat or SUSE computers. Debmirror requires certain perl modules to be present.
Follow these steps:
Few of the perl modules come with default installation. If the modules are not available, install the modules using one of the following approaches:
Approach 1: Using the cpanminus tool
http://rpmfind.net/linux/rpm2html/search.php?query=cpanminus
cpan m <module-name>
Examples:
To install LockFile::Simple module, run the cpanm LockFile::Simple command.
To install Net::INET6Glue module, run the cpanm Net::INET6Glue command.
The command downloads the perl modules from Internet and installs the modules. This command automatically resolves dependencies.
Approach2: Using the src packages
Note: Ensure that you resolve the dependencies manually. For example, Net::INET6Glue depends on the Socket6 module. Verify that you install Socket6 before installing Net::INET6Glue. You can find the dependencies at the following location:
http://deps.cpantesters.org/
Note: For Approach 1 and Approach 2, verify that gcc is installed on the RedHat or SUSE computers.
Approach3: Using the rpm sources
Note: If you do not find the libnet-inet6glue-perl module on the Internet, download the source files and build the binaries manually using approach 2.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|