我正在尝试在 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
如能得到关于纠正这些依赖关系的任何建议,我们将不胜感激。
亲切的问候,
詹姆士
答案1
您正在尝试安装el7软件包,专为 CentOS 7 设计,el6软件包,专为 CentOS 6 而设计。
您需要正确配置正在使用的存储库,并且可能需要更新到 CentOS 7 或 8,因为 6 在几个月内就接近其使用寿命的终点。