amanda client 3.3.5 for RHEL 5 – dependency issues

ethrbunny asked:

Im working to update my various clients to use the latest version of Amanda. The installs work great for RHEL6 but fails on v5 with the following errors:

# yum localinstall amanda-backup_client-3.3.5-1.rhel5.x86_64.rpm
Loaded plugins: dellsysid, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Examining amanda-backup_client-3.3.5-1.rhel5.x86_64.rpm: amanda-backup_client-3.3.5-  1.rhel5.x86_64
Marking amanda-backup_client-3.3.5-1.rhel5.x86_64.rpm to be installed
Excluding Packages in global exclude list
Excluding Packages from Red Hat Enterprise Linux (v. 5 for 64-bit x86_64)
Resolving Dependencies
--> Running transaction check
---> Package amanda-backup_client.x86_64 0:3.3.5-1.rhel5 set to be updated
--> Processing Dependency: perl(JSON) for package: amanda-backup_client
--> Finished Dependency Resolution
amanda-backup_client-3.3.5-1.rhel5.x86_64 from /amanda-backup_client-3.3.5-1.rhel5.x86_64 has depsolving problems
--> Missing Dependency: perl(JSON) is needed by package amanda-backup_client-3.3.5-  1.rhel5.x86_64 (/amanda-backup_client-3.3.5-1.rhel5.x86_64)
Error: Missing Dependency: perl(JSON) is needed by package amanda-backup_client-3.3.5-1.rhel5.x86_64 (/amanda-backup_client-3.3.5-1.rhel5.x86_64)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                    package-cleanup --dupes
                    rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

I’ve tried using package-cleanup and the --skip-broken param but neither get any further than this. I’ve also tried using CPAN to find/ install this perl(JSON). The module appears to install but doesn’t get me any further with this.


My answer:

In RHEL 6, the perl-JSON package is included with the distribution, but in RHEL 5 it is not. For RHEL 5 you can get it from the EPEL repository, which you don’t seem to have installed.

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.