我正在努力更新我的各种客户使用最新版本的阿曼达 。 安装对于RHEL6非常适用,但在v5上失败,出现以下错误:
# 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 Finished Excluding Packages from Red Hat Enterprise Linux (v. 5 for 64-bit x86_64) Finished 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.
我已经尝试过使用package-cleanup和--skip-broken参数,但是没有比这更进一步。 我也尝试使用CPAN来查找/安装此Perl(JSON) 。 该模块似乎安装,但没有让我进一步与此。
build议?
在RHEL 6中,发行版中包含了perl-JSON包,但在RHEL 5中不包含。 对于RHEL 5,您可以从EPEL存储库中获取它,而您似乎没有安装该存储库。