PDA

View Full Version : CentOS 6 RPM dependency issue



rkl
October 24th, 2016, 07:52 AM
Attempting to install the Amanda 3.4 server RPM on CentOS 6 results in missing dependencies
(there were some new perl dependencies not listed below, so I yum install'ed those before
trying the command below):

yum install amanda-backup_server-3.4-1.rhel6.x86_64.rpm
error: Failed dependencies:
perl(Amanda::DB) is needed by amanda-backup_server-3.4-1.rhel6.x86_64
perl(Amanda::Recovery) is needed by amanda-backup_server-3.4-1.rhel6.x86_64
perl(Amanda::Service) is needed by amanda-backup_server-3.4-1.rhel6.x86_64
perl(Dancer2) is needed by amanda-backup_server-3.4-1.rhel6.x86_64

The first 3 look like ones that probably should be shipped with the RPM as Provides: modules.
The last one (perl Dancer2) is available for the latest Fedora release, but not in any of
the usual CentOS repos.

As a workaround, I did an "rpm -Uvh --nodeps amanda-backup_server-3.4-1.rhel6.x86_64.rpm"
instead and the update seems to have work despite the dependency issues. Is there any
reason Dancer2 is a dependency, since it's a Web framework written in Perl...

martineau
October 24th, 2016, 12:34 PM
amanda-3.4 include a REST server that require Dancer2
Dancer2 is not required if you are not using the REST server

huyhoangbeetour
November 8th, 2016, 12:58 AM
rpm -Uvh --nodeps amanda- backup_server-3.4-1.rhel6.x86_64.rpm Ok ! tks