Phenomenon:
yum update
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.cqu.edu.cn
* extras: mirrors.cn99.com
* updates: mirrors.cn99.com
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package glibc.i686 0:2.17-317.el7 will be updated
--> Processing Dependency: glibc = 2.17-317.el7 for package: glibc-common-2.17-317.el7.x86_64
---> Package glibc.i686 0:2.17-325.el7_9 will be an update
--> Finished Dependency Resolution
Error: Package: glibc-common-2.17-317.el7.x86_64 (@anaconda)
Requires: glibc = 2.17-317.el7
Removing: glibc-2.17-317.el7.i686 (@base)
glibc = 2.17-317.el7
Updated By: glibc-2.17-325.el7_9.i686 (updates)
glibc = 2.17-325.el7_9
Available: glibc-2.17-322.el7_9.i686 (updates)
glibc = 2.17-322.el7_9
Available: glibc-2.17-323.el7_9.i686 (updates)
glibc = 2.17-323.el7_9
Available: glibc-2.17-324.el7_9.i686 (updates)
glibc = 2.17-324.el7_9
You could try using --skip-broken to work around the problem
** Found 23 pre-existing rpmdb problem(s), 'yum check' output follows:
32:bind-libs-lite-9.11.4-26.P2.el7_9.7.x86_64 is a duplicate with 32:bind-libs-lite-9.11.4-26.P2.el7_9.5.x86_64
32:bind-license-9.11.4-26.P2.el7_9.7.noarch is a duplicate with 32:bind-license-9.11.4-26.P2.el7_9.5.noarch
ca-certificates-2021.2.50-72.el7_9.noarch is a duplicate with ca-certificates-2020.2.41-70.0.el7_8.noarch
centos-release-7-9.2009.1.el7.centos.x86_64 is a duplicate with centos-release-7-9.2009.0.el7.centos.x86_64
Solution:
#yum-complete-transaction --cleanup-only
#yum history redo last
#package-cleanup --cleandupes
// Remove contradictory packages
#yum remove glibc-common-2.17-317.el7.x86_64 glibc-2.17-317.el7.i686
# yum update
Read More:
- Using rpm to install WGet in CentOS 6.5 libc.so .6(GLIBC_ 2.14)(64bit) is needed by wget-1.14-18.el7_6.1.x86_sixty-four
- [Solved] Android 5.1 code compilation error: Unsupported reloc 43
- SVN Update Error Please execute the ‘Cleanup‘ command [How to Solve]
- [Solved] configure: error: C++ preprocessor “/lib/cpp” fails sanity check
- ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.23‘ not found
- [Solved] removeerror: ‘requests’ is a dependency of CONDA and cannot be removed from
- SVN ERROR (E200033): database is locked [How to Solve]
- Centos pip install uwsgi error: “fatal error: Python.h: No such file or directory”
- DingDing Error: missing mainframe dll [How to Solve]
- [Solved] error processing package libapache2-mod-php7.2
- [Solved] RHEL 7.6 Use yum Error: Could not contact any CDS load balancers
- Maven Error: Missing artifact jdk.tools:jdk.tools:jar:1.7
- [Solved] Failed to resolve: com.serenegiant:common:1.5.20
- [Solved] Unity Error: Visual Studio Editor Package version 2.0.11 is available……..
- NPM Install Error: npm ERR! ERESOLVE unable to resolve dependency tree
- [Solved] docker Error response from daemon OCI runtime create failed container_linux.go380
- How to Solve elk7.7.1 logstash Install Error
- [Solved] Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this
- How to Solve Error: Failed to load ApplicationContext