Error when installing libcxx and libcxxabi rpm - requires: /usr/sbin/ldconfig - Centos7 - glibc

I can't seem to find any articles with the following two libc errors. I've also tried the following commands with no luck...
yum install glibc*
yum install yum-utils
yum update yum*
package-cleanup --dupes
package-cleanup --cleandupes
rm /etc/ld.so.cache
ldconfig
Full printout of yum update command
[root#test etc]# yum update
Loaded plugins: langpacks, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.17-325.el7_9 will be updated
---> Package glibc.x86_64 0:2.17-326.el7_9 will be an update
---> Package glibc-common.x86_64 0:2.17-325.el7_9 will be updated
---> Package glibc-common.x86_64 0:2.17-326.el7_9 will be an update
---> Package glibc-devel.x86_64 0:2.17-325.el7_9 will be updated
---> Package glibc-devel.x86_64 0:2.17-326.el7_9 will be an update
---> Package glibc-headers.x86_64 0:2.17-325.el7_9 will be updated
---> Package glibc-headers.x86_64 0:2.17-326.el7_9 will be an update
---> Package kernel-headers.x86_64 0:3.10.0-1160.62.1.el7 will be updated
---> Package kernel-headers.x86_64 0:3.10.0-1160.66.1.el7 will be an update
--> Processing Dependency: /usr/sbin/ldconfig for package: libcxx-11.0.1-1.el7.x86_64
--> Processing Dependency: /usr/sbin/ldconfig for package: libcxxabi-11.0.1-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: libcxx-11.0.1-1.el7.x86_64 (installed)
Requires: /usr/sbin/ldconfig
Removing: glibc-2.17-325.el7_9.x86_64 (#spacewalk_centos7)
Not found
Updated By: glibc-2.17-326.el7_9.x86_64 (spacewalk_centos7)
Not found
Error: Package: libcxxabi-11.0.1-1.el7.x86_64 (installed)
Requires: /usr/sbin/ldconfig
Removing: glibc-2.17-325.el7_9.x86_64 (#spacewalk_centos7)
Not found
Updated By: glibc-2.17-326.el7_9.x86_64 (spacewalk_centos7)
Not found
[root#test etc]# rpm -qa | grep glibc
glibc-common-2.17-325.el7_9.x86_64
glibc-2.17-325.el7_9.x86_64
glibc-devel-2.17-325.el7_9.x86_64
glibc-headers-2.17-325.el7_9.x86_64

Check your /etc/yum.conf and see if you exclude any of the packages that might be blocking your installation.

I don't see any exclusions.
# in /etc/yum.repos.dc
http_caching=packages
[/etc/yum.conf][1]
[1]: https://i.stack.imgur.com/wImmA.png

Related

yum install complains about already installed dependency

I mean to install a package that is apparently not available in my registered repos (see RedHat, which package provides hdf5.h).
So I downloaded hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm from rpmfind.net, and tried installing from file, obtaining complaints about some missing files (see (1) below).
But those files exist in my system (see (2) below).
How can I work around this issue to get a functional system?
This seems to deal with a related but different issue.
Test #1:
# yum install /shared/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Examining /shared/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
Marking /shared/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package hdf5-openmpi-devel.i686 0:1.8.5.patch1-10.el6 will be installed
--> Processing Dependency: hdf5-openmpi(x86-32) = 1.8.5.patch1-10.el6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
--> Processing Dependency: libhdf5.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
--> Processing Dependency: libhdf5_fortran.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
--> Processing Dependency: libhdf5_hl.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
--> Processing Dependency: libhdf5hl_fortran.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
--> Finished Dependency Resolution
Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
Requires: libhdf5.so.6
Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
Requires: hdf5-openmpi(x86-32) = 1.8.5.patch1-10.el6
Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
Requires: libhdf5_fortran.so.6
Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
Requires: libhdf5_hl.so.6
Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
Requires: libhdf5hl_fortran.so.6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Test #2:
$ repoquery -l --installed hdf5
/usr/bin/gif2h5
/usr/bin/h52gif
/usr/bin/h5copy
/usr/bin/h5debug
/usr/bin/h5diff
/usr/bin/h5dump
/usr/bin/h5import
/usr/bin/h5jam
/usr/bin/h5ls
/usr/bin/h5mkgrp
/usr/bin/h5perf_serial
/usr/bin/h5repack
/usr/bin/h5repart
/usr/bin/h5stat
/usr/bin/h5unjam
/usr/lib64/libhdf5.so.6
/usr/lib64/libhdf5.so.6.0.4
/usr/lib64/libhdf5_cpp.so.6
/usr/lib64/libhdf5_cpp.so.6.0.4
/usr/lib64/libhdf5_fortran.so.6
/usr/lib64/libhdf5_fortran.so.6.0.4
/usr/lib64/libhdf5_hl.so.6
/usr/lib64/libhdf5_hl.so.6.0.4
/usr/lib64/libhdf5_hl_cpp.so.6
/usr/lib64/libhdf5_hl_cpp.so.6.0.4
/usr/lib64/libhdf5hl_fortran.so.6
/usr/lib64/libhdf5hl_fortran.so.6.0.4
/usr/share/doc/hdf5-1.8.5.patch1
/usr/share/doc/hdf5-1.8.5.patch1/COPYING
/usr/share/doc/hdf5-1.8.5.patch1/HISTORY-1_0-1_8_0_rc3.txt
/usr/share/doc/hdf5-1.8.5.patch1/HISTORY-1_8.txt
/usr/share/doc/hdf5-1.8.5.patch1/MANIFEST
/usr/share/doc/hdf5-1.8.5.patch1/README.txt
/usr/share/doc/hdf5-1.8.5.patch1/RELEASE.txt
The installed package was a different versiĆ³n and for a different architecture.
I learned this with
$ repoquery -q -f --installed */libhdf5.so*
hdf5-0:1.8.5.patch1-9.el6.x86_64
Thus, I downloaded and installed
# yum install hdf5-1.8.5.patch1-10.el6.x86_64.rpm
...
# yum install hdf5-openmpi-1.8.5.patch1-10.el6.x86_64.rpm hdf5-openmpi-devel-1.8.5.patch1-10.el6.x86_64.rpm
...
and it did not complain.
This hinted me at the answer.
See also this.

Not able to install gcc in fedora 16

I'm trying to install gcc in fedora 16 and I'm facing the following issue.
[root#fedora ~]yum install gcc
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete- transaction first to finish them.
--> Running transaction check
---> Package gcc.x86_64 0:4.6.3-2.fc16 will be installed
--> Processing Dependency: libgomp = 4.6.3-2.fc16 for package: gcc-4.6.3-2.fc16.x86_64
--> Processing Dependency: cpp = 4.6.3-2.fc16 for package: gcc-4.6.3-2.fc16.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.6.3-2.fc16.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.6.3-2.fc16.x86_64
--> Processing Dependency: binutils >= 2.20.51.0.2-12 for package: gcc-4.6.3-2.fc16.x86_64
--> Processing Dependency: libmpc.so.2()(64bit) for package: gcc-4.6.3-2.fc16.x86_64
--> Running transaction check
---> Package binutils.x86_64 0:2.21.53.0.1-6.fc16 will be installed
---> Package cloog-ppl.x86_64 0:0.15.11-1.fc16 will be installed
--> Processing Dependency: libppl_c.so.4()(64bit) for package: cloog- ppl-0.15.11-1.fc16.x86_64
--> Processing Dependency: libppl.so.9()(64bit) for package: cloog-ppl-0.15.11-1.fc16.x86_64
---> Package cpp.x86_64 0:4.6.3-2.fc16 will be installed
---> Package glibc-devel.x86_64 0:2.14.90-24.fc16.9 will be installed
--> Processing Dependency: glibc-headers = 2.14.90-24.fc16.9 for package: glibc-devel-2.14.90-24.fc16.9.x86_64
--> Processing Dependency: glibc = 2.14.90-24.fc16.9 for package: glibc-devel-2.14.90-24.fc16.9.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.14.90-24.fc16.9.x86_64
---> Package libgomp.x86_64 0:4.6.2-1.fc16 will be updated
---> Package libgomp.x86_64 0:4.6.3-2.fc16 will be an update
---> Package libmpc.x86_64 0:0.9-1.fc16 will be installed
--> Running transaction check
---> Package glibc.x86_64 0:2.14.90-14 will be updated
--> Processing Dependency: glibc = 2.14.90-14 for package: glibc-common-2.14.90-14.x86_64
---> Package glibc.x86_64 0:2.14.90-24.fc16.9 will be an update
---> Package glibc-headers.x86_64 0:2.14.90-24.fc16.9 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.14.90-24.fc16.9.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.14.90-24.fc16.9.x86_64
---> Package ppl.x86_64 0:0.11.2-3.fc16 will be installed
--> Processing Dependency: libpwl.so.5()(64bit) for package: ppl-0.11.2-3.fc16.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.14.90-14 will be installed
--> Processing Dependency: libfreebl3.so for package: glibc-2.14.90-14.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.14.90-14.i686
---> Package glibc.x86_64 0:2.14.90-14 will be updated
---> Package kernel-headers.x86_64 0:3.6.11-4.fc16 will be installed
---> Package ppl-pwl.x86_64 0:0.11.2-3.fc16 will be installed
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.14.1-3.fc16 will be installed
--> Finished Dependency Resolution
Error: Protected multilib versions: glibc-2.14.90-24.fc16.9.x86_64 != glibc-2.14.90-14.i686
Error: Protected multilib versions: nss-softokn-freebl-3.14.1-3.fc16.i686 != nss-softokn-freebl-3.12.10-4.fc16.x86_64
My OS is 64 bit version and I tried with installing glibc i686 version because of this issue.But I'm facing the same issue again.
On a 64 bit Fedora system, both 32 bit (ex:glibc-2.14.90-14.i686) and 64 bit (ex:glibc-2.14.90-24.fc16.9.x86_64) library must be of the same version.
The solution has already been posted in the Fedora official forum.
package-cleanup --dupes
package-cleanup --cleandupes
yum clean all
yum update
yum install gcc

Sphinx installation error

I'm trying to install Sphinx on my CentOS 6.5 VPS and get the following error.
root#hen [~]# yum localinstall sphinx-2.1.7-1.rhel6.x86_64.rpm
Loaded plugins: downloadonly, fastestmirror
Setting up Local Package Process
Examining sphinx-2.1.7-1.rhel6.x86_64.rpm: sphinx-2.1.7-1.rhel6.x86_64
Marking sphinx-2.1.7-1.rhel6.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
* base: mirrors.adams.net
* extras: centos-distro.cavecreek.net
* updates: mirrors.bluehost.com
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
hgdedi | 2.5 kB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package sphinx.x86_64 0:2.1.7-1.rhel6 will be installed
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Running transaction check
---> Package postgresql-libs.x86_64 0:8.4.20-1.el6_5 will be installed
---> Package sphinx.x86_64 0:2.1.7-1.rhel6 will be installed
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
---> Package unixODBC.x86_64 0:2.2.14-12.el6_3 will be installed
--> Finished Dependency Resolution
Error: Package: sphinx-2.1.7-1.rhel6.x86_64 (/sphinx-2.1.7-1.rhel6.x86_64)
Requires: libmysqlclient.so.16()(64bit)
Error: Package: sphinx-2.1.7-1.rhel6.x86_64 (/sphinx-2.1.7-1.rhel6.x86_64)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
I'm more or less lost when it comes to shell commands so I hope someone can guide me :)
In theory
yum install mysql-devel
first, should sort it.

yum update kernel conflict

I have RaspberryPI model B with Fedora Raspberry Remix 17 RC2 (installed at September 2012).
Yesterday, i did try yum update. But i could not do it. Why?
[root#rberry ~]# yum update raspberrypi-kernel
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package raspberrypi-kernel.armv5tel 0:3.2.27-1.20120926git9245b4c.rpfr17 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================
Package Arch Version Repository Size
============================================================================
Installing:
raspberrypi-kernel armv5tel 3.2.27-1.20120926git9245b4c.rpfr17 rasp-pi 12 M
Transaction Summary
============================================================================
Install 1 Package
Total size: 12 M
Installed size: 37 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Check Error:
file /boot/kernel.img from install of raspberrypi-kernel-3.2.27-1.20120926git9245b4c.rpfr17.armv5tel conflicts with file from package raspberrypi-kernel-3.1.9-11.20120727gitf958199.rpfr17.armv5tel
Error Summary
-------------
Update
[root#rberry opt]# rpm -qa raspberrypi-kernel\*
raspberrypi-kernel-3.1.9-11.20120727gitf958199.rpfr17.armv5tel
[root#rberry opt]# uname -a
Linux rberry 3.1.9 #1 PREEMPT Mon Jul 30 14:50:41 EDT 2012 armv6l armv6l armv6l GNU/Linux
[root#rberry opt]# yum install raspberrypi-kernel-3.2.27-1.20120926git9245b4c.rpfr17.armv5tel
.....
Transaction Check Error:
file /boot/kernel.img from install of raspberrypi-kernel-3.2.27-1.20120926git9245b4c.rpfr17.armv5tel conflicts with file from package raspberrypi-kernel-3.1.9-11.20120727gitf958199.rpfr17.armv5tel
[root#rberry opt]# rpm -qf /boot/kernel.img
raspberrypi-kernel-3.1.9-11.20120727gitf958199.rpfr17.armv5tel
Sorry for my bad English ))
There likely is a packaging problem in which both kernel packages "owns" a common set of files (in this case, /boot/kernel.img is claimed by both packages, ergo they cannot both be installed at the same time)
What kernels do you have installed at the moment? Try
rpm -qa raspberry-kernel\*
If you have another kernel beside the 3.1.9-11 that's causing the problem, boot to it, remove the troublesome one and then install the new kernel update.
Failing that, just update everything but the kernel:
yum update --exclude=raspberry-kernel\*
Have you tried
yum clean all
followed by
yum update
I got the same problem and solved it in a minute. Hope it can still be helpful.

Any ideas on how to resolve this conflicts error below?

I'm trying to install gcc4-4.1.2-44.EL4_8.1.i386.rpm on my redhat 5.x system but need a lot of dependencies.
dependency - kernel-headers-2.2.19-1.0.291.i386.rpm, installed okay
dependency - glibc-headers-2.8.90-11.i386.rpm,
[root#bruce glibc-headers]# rpm -ivh glibc*
error: Failed dependencies:
glibc = 2.8.90-11 is needed by glibc-headers-2.8.90-11.i386
dependency - glibc-2.3.4-2.i386.rpm
[root#bruce glibc]# rpm -ivh glibc*
warning: glibc-2.3.4-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 73307de6 error: Failed dependencies:
glibc-common = 2.3.4-2 is needed by glibc-2.3.4-2.i386
glibc < 2.5 conflicts with glibc-common-2.5-18.i386
Did you first try this with yum? yum would automagically fetch and install all dependencies.
yum update glibc
should do it for you. It does look like you're updating glibc because some other package depends on it. You could install that original package through yum (if it is available in a repository) and that would handle this and all subsequent dependencies.
yum install <your_original_sw_name>

Resources