Yum

amanda client 3.3.5 for RHEL 5 - 依賴問題

  • December 17, 2019

我正在努力更新我的各種客戶以使用最新版本的Amanda。安裝適用於 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)。該模組似乎已安裝,但對此沒有任何幫助。

建議?

在 RHEL 6 中,該perl-JSON軟體包包含在發行版中,但在 RHEL 5 中沒有。對於 RHEL 5,您可以從您似乎沒有安裝的EPEL儲存庫中獲取它。

您可以嘗試從以下連結手動下載該軟體包。

http://rpm.pbone.net/index.php3/stat/4/idpl/15274996/dir/redhat_el_5/com/perl-JSON-2.17-1.el5.noarch.rpm.html

引用自:https://serverfault.com/questions/571504