我正在努力更新我的各种客户端以使用最新版本的阿曼达。安装在 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)。模块似乎已安装但无法帮助我进行任何进一步的操作。
有什么建议吗?
答案1
在 RHEL 6 中,该perl-JSON
软件包包含在发行版中,但在 RHEL 5 中则不包含。对于 RHEL 5,您可以从电力供应处存储库,您似乎尚未安装它。