extmail courier-authlib-mysql 安装错误求助
本帖最后由 hhx012 于 2014-11-26 14:34 编辑想在centos 6.5 32位系统上部署EXTMAIL。通过本地YUM安装courier-authlib-mysql的时候出现错误
yum的文件夹
# ll /etc/yum.repos.d/
total 8
drwxr-xr-x. 2 root root 4096 Jan 10 21:42 backup
-rw-r--r--. 1 root root 59 Jan 10 21:22 EMOS.repo
ISO文件已经加载到mnt内
# ll /mnt/
total 83
-r--r--r--. 1 root root2048 Dec72009 boot.cat
-rw-r--r--. 1 root root2512 Oct 242009 ChangeLog
drwxr-xr-x. 2 root root 57344 Dec72009 EMOS
drwxr-xr-x. 2 root root2048 Aug 102009 images
drwxr-xr-x. 2 root root2048 Nov72009 isolinux
-rw-r--r--. 1 root root 425 Nov72009 README
-rw-r--r--. 1 root root3390 Oct 242009 RELEASE-NOTES-en_US.html
-rw-r--r--. 1 root root3711 Oct 242009 RELEASE-NOTES-zh_CN.html
-rw-r--r--. 1 root root3904 Oct 242009 RELEASE-NOTES-zh_TW.html
drwxr-xr-x. 2 root root2048 Dec72009 repodata
-rw-r--r--. 1 root root1449 Oct 242009 Thank-You-zh_HK.html
-r--r--r--. 1 root root2694 Dec72009 TRANS.TBL
YUM安装过程如下
# yum install -y courier-authlib-mysql
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
EMOS | 1.1 kB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package courier-authlib-mysql.i386 0:0.62.4-2hzq will be installed
--> Processing Dependency: courier-authlib = 0.62.4-2hzq for package: courier-authlib-mysql-0.62.4-2hzq.i386
--> Processing Dependency: libmysqlclient.so.15 for package: courier-authlib-mysql-0.62.4-2hzq.i386
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: courier-authlib-mysql-0.62.4-2hzq.i386
--> Processing Dependency: libssl.so.6 for package: courier-authlib-mysql-0.62.4-2hzq.i386
--> Processing Dependency: libcrypto.so.6 for package: courier-authlib-mysql-0.62.4-2hzq.i386
--> Running transaction check
---> Package courier-authlib.i386 0:0.62.2-1 will be updated
---> Package courier-authlib.i386 0:0.62.4-2hzq will be an update
---> Package courier-authlib-mysql.i386 0:0.62.4-2hzq will be installed
--> Processing Dependency: libmysqlclient.so.15 for package: courier-authlib-mysql-0.62.4-2hzq.i386
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: courier-authlib-mysql-0.62.4-2hzq.i386
--> Processing Dependency: libssl.so.6 for package: courier-authlib-mysql-0.62.4-2hzq.i386
--> Processing Dependency: libcrypto.so.6 for package: courier-authlib-mysql-0.62.4-2hzq.i386
--> Finished Dependency Resolution
Error: Package: courier-authlib-mysql-0.62.4-2hzq.i386 (EMOS)
Requires: libcrypto.so.6
Available: openssl-0.9.8e-7.el5.i686 (EMOS)
libcrypto.so.6
Installed: openssl-1.0.1e-15.el6.i686 (@anaconda-CentOS-201311271240.i386/6.5)
Not found
Error: Package: courier-authlib-mysql-0.62.4-2hzq.i386 (EMOS)
Requires: libmysqlclient.so.15(libmysqlclient_15)
Available: mysql-5.0.45-7.el5.i386 (EMOS)
libmysqlclient.so.15(libmysqlclient_15)
Installed: mysql-5.1.73-3.el6_5.i686 (@base)
Not found
Error: Package: courier-authlib-mysql-0.62.4-2hzq.i386 (EMOS)
Requires: libmysqlclient.so.15
Available: mysql-5.0.45-7.el5.i386 (EMOS)
libmysqlclient.so.15
Installed: mysql-5.1.73-3.el6_5.i686 (@base)
Not found
Error: Package: courier-authlib-mysql-0.62.4-2hzq.i386 (EMOS)
Requires: libssl.so.6
Available: openssl-0.9.8e-7.el5.i686 (EMOS)
libssl.so.6
Installed: openssl-1.0.1e-15.el6.i686 (@anaconda-CentOS-201311271240.i386/6.5)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我通过RPM单独安装courier-authlib-mysql的时候提示这样的。
# rpm -ivh /mnt/EMOS/courier-authlib-mysql-0.62.4-2hzq.i386.rpm
error: Failed dependencies:
courier-authlib = 0:0.62.4-2hzq is needed by courier-authlib-mysql-0.62.4-2hzq.i386
libcrypto.so.6 is needed by courier-authlib-mysql-0.62.4-2hzq.i386
libmysqlclient.so.15 is needed by courier-authlib-mysql-0.62.4-2hzq.i386
libmysqlclient.so.15(libmysqlclient_15) is needed by courier-authlib-mysql-0.62.4-2hzq.i386
libssl.so.6 is needed by courier-authlib-mysql-0.62.4-2hzq.i386
请问我需要安装哪些组件解决这个依赖关系?? 是不是本地源有问题
Error: Package: courier-authlib-mysql-0.62.4-2hzq.i386 (EMOS)
Requires: libcrypto.so.6
Available: openssl-0.9.8e-7.el5.i686 (EMOS)
libcrypto.so.6
Installed: openssl-1.0.1e-15.el6.i686 (@anaconda-CentOS-201311271240.i386/6.5)
Not found 尝试卸载openssl这个包(不行的话强制卸载)
然后用rpm安装emos源里面的:em06:
extmail官方文档都是几年前的 从6.0就不更新文档了
检查系统的openssl
# rpm -qa | grep openssl
openssl-1.0.1e-15.el6.i686
强行卸载系统的openssl
# rpm -e --nodeps openssl
安装EMOS里面的openssl,提示跟ca-certificates冲突
# rpm -ivh openssl-0.9.8e-7.el5.i686.rpm
warning: openssl-0.9.8e-7.el5.i686.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing... ###########################################
file /etc/pki/tls/certs/ca-bundle.crt from install of openssl-0.9.8e-7.el5.i686 conflicts with file from package ca-certificates-2013.1.94-65.0.el6.noarch
检查openssl是否已经安装上,结果没有安装
# rpm -qa | grep openssl
强行卸载ca-certificates
# rpm -e ca-certificates
检查ca-certificates是否已经被卸载
# rpm -qa | grep ca-certificates
再次安装EMOS里面的openssl,能正常装上
# rpm -ivh openssl-0.9.8e-7.el5.i686.rpm
warning: openssl-0.9.8e-7.el5.i686.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing... ###########################################
1:openssl ###########################################
通过YUM安装courier-authlib-mysql,提示错误
# yum install -y courier-authlib-mysql
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libssl.so.10: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Nov 22 2013, 12:11:10)
If you cannot solve this problem yourself, please go to
the yum faq at:
这里是一个URL,我没有权限发布URL
请问你是在centos几上部署EXTMAIL的?回复 3# o枫叶o飘零
检查系统的openssl
# rpm -qa | grep openssl
openssl-1.0.1e-15.el6.i686
强行卸载系统的openssl
# rpm -e --nodeps openssl
安装EMOS里面的openssl,提示跟ca-certificates冲突
# rpm -ivh openssl-0.9.8e-7.el5.i686.rpm
warning: openssl-0.9.8e-7.el5.i686.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing... ###########################################
file /etc/pki/tls/certs/ca-bundle.crt from install of openssl-0.9.8e-7.el5.i686 conflicts with file from package ca-certificates-2013.1.94-65.0.el6.noarch
检查openssl是否已经安装上,结果没有安装
# rpm -qa | grep openssl
强行卸载ca-certificates
# rpm -e ca-certificates
检查ca-certificates是否已经被卸载
# rpm -qa | grep ca-certificates
再次安装EMOS里面的openssl,能正常装上
# rpm -ivh openssl-0.9.8e-7.el5.i686.rpm
warning: openssl-0.9.8e-7.el5.i686.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing... ###########################################
1:openssl ###########################################
通过YUM安装courier-authlib-mysql,提示错误
# yum install -y courier-authlib-mysql
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libssl.so.10: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Nov 22 2013, 12:11:10)
If you cannot solve this problem yourself, please go to
the yum faq at:
这里是一个URL,我没有权限发布URL
回复 2# cryboy2001
回复 4# hhx012
我在6.4上面安装的
貌似6.5和6.4差别不大
你用的EMOS是1.5还是1.6的?
EMOS_1.5_i386
你方便看看你的centos6.4 openssl是什么版本吗。谢谢
回复 6# o枫叶o飘零
回复 7# hhx012
1.0.0-27.e16.x86_64
emos1.5是支持rhel5系列的
你最好用emos1.6
mirror.extmail.org/iso/emos/EMOS_1.6_x86_64.iso {:2_166:} 我用了你说的EMOS1.6也提示同样的错误。你是在Centos5还是6上部署extmail的?回复 8# o枫叶o飘零
哦错题了。原来你已经说过你用的是6.4了。没注意。。回复 8# o枫叶o飘零