我在 RHEL 6 服务器上运行时收到以下消息yum update
。我尝试搜索libmodule-10.0.0.1826-b10_0_0_1826.x86_64
软件包和依赖项,但找不到解决方案。
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
rhel-x86_64-server-6 | 1.8 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package unixODBC.x86_64 0:2.2.11-7.1 will be updated
--> Processing Dependency: libodbc.so.1()(64bit) for package: libmodule-10.0.0.1826-b10_0_0_1826.x86_64
---> Package unixODBC.x86_64 0:2.2.14-14.el6 will be an update
--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.2.14-14.el6.x86_64
--> Running transaction check
---> Package libtool-ltdl.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package unixODBC.x86_64 0:2.2.11-7.1 will be updated
--> Processing Dependency: libodbc.so.1()(64bit) for package: libmodule-10.0.0.1826-b10_0_0_1826.x86_64
--> Finished Dependency Resolution
Error: Package: libmodule-10.0.0.1826-b10_0_0_1826.x86_64 (installed)
Requires: libodbc.so.1()(64bit)
Removing: unixODBC-2.2.11-7.1.x86_64 (installed)
libodbc.so.1()(64bit)
Updated By: unixODBC-2.2.14-14.el6.x86_64 (rhel-6-server-fastrack-rpms)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
答案1
我最近遇到了同样的问题,是的,我在 Red Hat 和 CentOS 上都使用 N-Central。
我使用 yum.conf 文件从更新过程中“排除”unixODBC。
我只是在 /etc/yum.conf 中的配置行末尾添加了以下内容
排除=unixODBC*
然后继续运行 yum update。
我发现这个关联。
答案2
您的存储库元数据的本地副本与存储库包含的内容不同步。
清除元数据并重试。
yum clean metadata
或者
yum clean all