Postfix

在 Centos 6 上安裝 Postfix 3 時出現依賴錯誤

  • June 22, 2020

我正在嘗試使用以下說明在 Centos 上升級到 Postfix 3:

https://www.ryadel.com/en/postfix-3-install-setup-linux-centos-for-sending-mail-smtp-smtps-starttls/

但是,我收到以下依賴錯誤:

$ sudo yum install postfix3
Loaded plugins: fastestmirror, priorities, replace, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.strencom.net
* extras: mirror.strencom.net
* remi-php56: mirror.netweaver.uk
* remi-php72: mirror.netweaver.uk
* remi-safe: mirror.netweaver.uk
* updates: ftp.heanet.ie
gf                                                                                                                                                | 2.9 kB     00:00     
gf/primary_db                                                                                                                                     |  44 kB     00:00     
gf-plus                                                                                                                                           | 2.9 kB     00:00     
gf-plus/primary_db                                                                                                                                | 104 kB     00:00     
156 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package postfix3.x86_64 2:3.5.2-1.gf.el7 will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 2:postfix3-3.5.2-1.gf.el7.x86_64
--> Processing Dependency: libsasl2.so.3()(64bit) for package: 2:postfix3-3.5.2-1.gf.el7.x86_64
--> Processing Dependency: libicuuc.so.50()(64bit) for package: 2:postfix3-3.5.2-1.gf.el7.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: 2:postfix3-3.5.2-1.gf.el7.x86_64
--> Processing Dependency: libicudata.so.50()(64bit) for package: 2:postfix3-3.5.2-1.gf.el7.x86_64
--> Processing Dependency: libdb-5.3.so()(64bit) for package: 2:postfix3-3.5.2-1.gf.el7.x86_64
--> Running transaction check
---> Package libicu-last.x86_64 0:50.1.2-17.el6.remi will be installed
---> Package postfix3.x86_64 2:3.5.2-1.gf.el7 will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 2:postfix3-3.5.2-1.gf.el7.x86_64
--> Processing Dependency: libsasl2.so.3()(64bit) for package: 2:postfix3-3.5.2-1.gf.el7.x86_64
--> Processing Dependency: libdb-5.3.so()(64bit) for package: 2:postfix3-3.5.2-1.gf.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 2:postfix3-3.5.2-1.gf.el7.x86_64 (gf-plus)
          Requires: libsasl2.so.3()(64bit)
Error: Package: 2:postfix3-3.5.2-1.gf.el7.x86_64 (gf-plus)
          Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
Error: Package: 2:postfix3-3.5.2-1.gf.el7.x86_64 (gf-plus)
          Requires: libdb-5.3.so()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

任何有關糾正這些依賴關係的建議將不勝感激。

親切的問候,

詹姆士

您正在嘗試安裝為 CentOS 7 設計的el7軟體包,以及為 CentOS 6 設計的****el6軟體包。

您需要正確配置您正在使用的儲存庫,並且可能在幾個月後更新到 CentOS 7 或 8,因為 6 即將結束。

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