当我在 centos 机器上安装 freetds 时,出现此错误。问题是什么??
这是当我安装 freetds 时出现的错误 我安装了 unixODBC 但版本为 64 位
我怎么解决这个问题
[root@localhost portal]# yum install freetds
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirror.crazynetwork.it
* epel: mirror01.th.ifl.net
* extras: mirror.crazynetwork.it
* rpmforge: be.mirror.eurid.eu
* updates: mirror.crazynetwork.it
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package freetds.i386 0:0.91-2.el5 will be installed
--> Processing Dependency: libtermcap.so.2 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libreadline.so.5 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libodbcinst.so.1 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libodbc.so.1 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libgnutls.so.13(GNUTLS_1_3) for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libgnutls.so.13 for package: freetds-0.91-2.el5.i386
--> Running transaction check
---> Package compat-libtermcap.i686 0:2.0.8-49.el6 will be installed
---> Package compat-readline5.i686 0:5.2-17.1.el6 will be installed
---> Package freetds.i386 0:0.91-2.el5 will be installed
--> Processing Dependency: libodbcinst.so.1 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libodbc.so.1 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libgnutls.so.13(GNUTLS_1_3) for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libgnutls.so.13 for package: freetds-0.91-2.el5.i386
--> Finished Dependency Resolution
Error: Package: freetds-0.91-2.el5.i386 (epel)
Requires: libodbc.so.1
Error: Package: freetds-0.91-2.el5.i386 (epel)
Requires: libgnutls.so.13
Error: Package: freetds-0.91-2.el5.i386 (epel)
Requires: libodbcinst.so.1
Error: Package: freetds-0.91-2.el5.i386 (epel)
Requires: libgnutls.so.13(GNUTLS_1_3)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
答案1
您似乎已经安装了 RHEL 5 的 EPEL 存储库,而不是 RHEL 6。返回 EPEL 并安装epel-release
RHEL 6 的 RPM。