Rpm Installation Error, libstdc++-4.4.4-13.el6 - linux

Im trying to install this rpm "libstdc++-4.4.4-13.el6.x86_64"
But Im having this error:-
# rpm -ivh libstdc++-4.4.4-13.el6.x86_64.rpm
warning: libstdc++-4.4.4-13.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY
Preparing... ########################################### [100%]
package libstdc++-4.4.7-4.el6.x86_64 (which is newer than libstdc++-4.4.4-13.el6.x86_64) is already installed
file /usr/lib64/libstdc++.so.6.0.13 from install of libstdc++-4.4.4-13.el6.x86_64 conflicts with file from package libstdc++-4.4.7-4.el6.x86_64
Im also trying to install this rpm "libstdc++-4.4.7-4.el6.x86_64" as my previous attempt to install "libstdc++-4.4.4-13.el6.x86_64", but the method does not working.
I did try replace "rpm -ivh --replacefiles" command., in order to replace libstdc++-4.4.7-4.el6.x86_64 with libstdc++-4.4.7-4.el6.x86_64, as well with libstdc++-4.4.4-13.el6.x86_64 but the method is also does not working.
I also did try the sudo command, but still getting the similar situation. Any suggestions would be nice

Its alrite, I have got it figure out..
Just force installation the rpm using this command
rpm -ivh --old-package
rpm -ivh --force
Either should do.

Related

How to uninstall RPM without dependencies error in cent os?

I installed the openssl rpm some long days ago. After that i am unable to uninstall the rpm so that i deleted the /usr/bin/openssl folder manually.Though I deleted it manually, when i grep using this command rpm -qa openssl i can find the rpm.
But when i execute the openssl command in terminal it is showing bash: openssl: command not found...
When try to uninstall i am getting following error
[root#genius ~]# rpm -qa openssl
openssl-1.0.2k-8.el7.x86_64
[root#genius ~]# rpm -e openssl-1.0.2k-8.el7.x86_64
error: Failed dependencies:
/usr/bin/openssl is needed by (installed) authconfig-6.2.8-30.el7.x86_64
And also when i am tryiong to install the rpm it is showing that following output
[root#genius openssl]# rpm -ivh openssl-1.0.2k-8.el7.x86_64.rpm
Preparing... ################################# [100%]
package openssl-1:1.0.2k-8.el7.x86_64 is **already installed**
Finally,
I need the openssl package should be installed in my centOS 7 or else i need to remove the openssl package completely without any dependencies error.
You have a couple of options here:
1. Remove using yum, Note: this may remove the dependency such as authconfig
$ yum remove openssl
2. Remove using rpm cmdline, but you have to force remove it. This will not remove the depencies
$ rpm -e openssl-1.0.2k-8.el7.x86_64 --nodeps
3. or try a reinstall if you have CentOS-7 repo
$ yum reinstall openssl
If you want openssl in your system, I would try (3) first. If that doesn't work, try (2) and then do a yum install openssl. (3) and (1) are the options to use. (2) will cause the dependency package to stay in the system and the dependent package may malfunction.

libuuid not linked with libuuid-devel?

i am installing asterisk13.8 on my laptop with centos6.8. when i run ./configure by going into asterisk directory it gives an error of absence of uuid development package. i manually installed libuuid*rpm using rpm -Uvh libuuid*rpm command successfully and checked by rpm -q libuuid*rpm but when i tried to install libuuid-devel*rpm it gives following error:
libuuid is needed by libuuid-devel...
is there any linking issue or configuration issue???

I am facing issues while installing libsctp on redhat

I am trying to install libsctp on redhat. There is a chain of dependencies. How to install all libraries/dependencies in this group?
configure: error: --with-sctp given but cannot find libsctp [root#localhost libfixbuf-1.7.1]# cd ../Downloads/ [root#localhost Downloads]# rpm -ivh libsctp1-1.0.11-4-mdv2012.0.i586.rpm warning: libsctp1-1.0.11-4-mdv2012.0.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 26752624: NOKEY Preparing... ########################################### [100%] package libsctp1-1.0.11-4.i586 is already installed [root#localhost Downloads]#
I am trying to install libfixbuf using ./configure --with-sctp The error thrown says that sctp is not installed. though it is installed
Solved the issue.. Installed lksctp-tools-1.0.16. That solved the problem
Solved the issue.. Installed lksctp-tools-1.0.16. That solved the problem

Wind River Linux, Failed Dependency Error

I am working on Wind River Linux. Failed Dependency Error. Can anyone please tell me what I have to do ? I have been trying from past one day
root#AC-04:/home/mysql# rpm -ivh MySQL-server-5.6.33-1.linux_glibc2.5.x86_64.rpm
warning: MySQL-server-5.6.33-1.linux_glibc2.5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
/sbin/chkconfig is needed by MySQL-server-5.6.33-1.linux_glibc2.5.x86_64
/usr/lib64/mysql/plugin is needed by MySQL-server-5.6.33-1.linux_glibc2.5.x86_64
/usr/lib64/mysql/plugin/debug is needed by MySQL-server-5.6.33-1.linux_glibc2.5.x86_64
First of all, use -Uvh instead of -ivh when installing: -Uvh is almost (kernel is the one exception) the right way to install/upgrade rpm packages.
The final solution will be to find the packages that provide those dependencies using (if all else fails)
rpm -qP /sbin/chkconfig *.rpm
on the WRL packages, and make sure those packages are installed.
Those are all file/directpory dependencies. Try (e.g.)
rpm -qf --whatprovides /sbin/chkconfig
to see if there is a package that provides the file.
(Note: what follows "works" for RPM5 on WRL, not RPM on Fedora/RHEL)
You can stub out dependencies by doing (e.g.)
mkdir -p /etc/rpm/sysinfo
echo "/sbin/chkconfig" >> /etc/rpm/sysinfo/Requirename
Masking the dependencies will permit installation (so will --nodeps) and might help get you further along in debugging your packaging.

Warning libstdc++-devel-4.4.4-13.el6.x86_64.rpm

im getting this error when trying to installing this rpm into the kernel server of 64bit.
The error is as the log below:
rpm -ivh libstdc++-devel-4.4.4-13.el6.x86_64.rpm
warning: libstdc++-devel-4.4.4-13.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
error: Failed dependencies:
libstdc++(x86-64) = 4.4.4-13.el6 is needed by libstdc++-devel-4.4.4-13.el6.x86_64
Any suggestions would be appreciated. Thanks..
You can only install a RPM after you have installed all its dependencies.
To install this RPM first you need to install libstdc++-4.4.4-13.el6.x86_64.rpm
You can do this in two ways .
Method 1 :
Download and install libstdc++-4.4.4-13.el6.x86_64.rpm first and then libstdc++-devel afterwards.
wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/6.0/x86_64/os/Packages/libstdc++-4.4.4-13.el6.x86_64.rpm
rpm -ivh libstdc++-4.4.4-13.el6.x86_64.rpm
rpm -ivh libstdc++-4.4.4-13.el6.x86_64.rpm
Method 2 :
You can use yum to automatically resolve and install dependencies for you
yum localinstall libstdc++-devel-4.4.4-13.el6.x86_64.rpm
If that doesn't work, try
yum install libstdc++-devel

Resources