Yum skip-broken problem

  • 19,000
  • Tác giả: admin
  • Ngày đăng:
  • Lượt xem: 19
  • Tình trạng: Còn hàng

I'm trying to tát install mysql-connector-odbc using yum. It gives bủ this error.

Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to tát Red Hat Subscription Management. You can use subscription-manager to tát register.
Resolving Dependencies
--> Running transaction check
---> Package mysql-connector-odbc.x86_64 0:5.3.6-1.el7 will be installed
--> Processing Dependency: libodbcinst.so.2()(64bit) for package: mysql-connector-odbc-5.3.6-1.el7.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package: mysql-connector-odbc-5.3.6-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-connector-odbc-5.3.6-1.el7.x86_64 (mysql-connectors-community)
           Requires: libodbc.so.2()(64bit)
Error: Package: mysql-connector-odbc-5.3.6-1.el7.x86_64 (mysql-connectors-community)
           Requires: libodbcinst.so.2()(64bit)
 You could try using --skip-broken to tát work around the problem
 You could try running: rpm -Va --nofiles --nodigest

So I manually installed unixodbc which contains the required libodbc files and i tried running it with

yum install mysql-connector-odbc --skip-broken

which gives bủ another error.

Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to tát Red Hat Subscription Management. You can use subscription-manager to tát register.
Resolving Dependencies
--> Running transaction check
---> Package mysql-connector-odbc.x86_64 0:5.3.6-1.el7 will be installed
--> Processing Dependency: libodbcinst.so.2()(64bit) for package: mysql-connector-odbc-5.3.6-1.el7.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package: mysql-connector-odbc-5.3.6-1.el7.x86_64

Packages skipped because of dependency problems:
    mysql-connector-odbc-5.3.6-1.el7.x86_64 from mysql-connectors-community

I'm not sure what I'm doing wrong here.