Install RPM on Centos - centos

I work with Centos 6.4 and RPM. When I install RPM, linux thows the error
Installing : XXX
Error unpacking rpm package XXX
error: unpacking of archive failed on file /lib/libasteriskssl.so;51f7eebf: cpio: Digest mismatch
Verifying : XXX
Can anybody help me?

Try to run /usr/sbin/prelink -u /lib/libasteriskssl.so after you put it in place it in the %install.

Related

gtkplugin.h: no such file or directory [centos 8]?

Fatal error: gtkplugin.h: no such file or directory
I am trying to use make to install plugin for pidgin on centos 8 we have seen the above error.
Even after installing gtk,gtk2/3 devel packages we couldn't get the headfile.
The problem is with centos 8 distribution since there is no pidgin-devel package by default yum installation. So with the use of dnf command and enabling powertools we can install it by using the below command:
dnf --enablerepo=powertools install pidgin-devel
Please refer the link

Failed during install WWW::Curl::Easy in cpan

I am installing perl module "WWW::Curl::Easy" but it's getting error I also use by fource install but it's getting same error. why this is happend plz help me out.
I used these command in cpan
perl -MCPAN -e shell
force install WWW::Curl::Easy
cpan[1]> force install WWW::Curl::Easy
Reading '/root/.cpan/Metadata'
Database was generated on Thu, 16 Feb 2017 05:17:02 GMT
Running install for module 'WWW::Curl::Easy'
Checksum for /root/.cpan/sources/authors/id/S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
Configuring S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz with Makefile.PL
Locating required external dependency bin:curl-config... missing.
Unresolvable missing external dependency.
Please install 'curl-config' seperately and try again.
NA: Unable to build distribution on this platform.
No 'Makefile' created SZBALINT/WWW-Curl-4.17.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Failed during this command:
SZBALINT/WWW-Curl-4.17.tar.gz : writemakefile NO -- No 'Makefile' created
I use this and it's install "WWW::Curl::Easy" Module without any error
apt-get install libwww-curl-perl
On Red Hat try:
yum install curl curl-devel
installing only curl didn't work for me.
It is telling you the problem
Locating required external dependency bin:curl-config... missing.
Unresolvable missing external dependency. Please install 'curl-config'
seperately and try again.
So install curl-config and try again. Always check for dependencies.
Installing curl-config methods depends on the OS.
for Redhat for instance it will be
yum install curl
FreeBSD 12.2-RELEASE
cd /usr/ports/www/p5-WWW-Curl
make install clean
...
(cleaning for curl-7.80.0
cleaning for p5-WWW-Curl)

installing texinfo on redhat centos 7 ppc64

I am new to RedHat and would like some help to install R-devel.
I tried to install it using the following command:
yum install R-devel
but leads to the first error below...
I am on CentOS 7 with a ppc64 architecture...
I have got to the point of needing to install texinfo-tex, lapack-devel and blas-devel. Please see below:
Error: Package: R-core-devel-3.1.3-1.el7.ppc64 (epel)
Requires: texinfo-tex
Error: Package: R-core-devel-3.1.3-1.el7.ppc64 (epel)
Requires: lapack-devel
Error: Package: R-core-devel-3.1.3-1.el7.ppc64 (epel)
Requires: blas-devel >= 3.0
yum install texinfo-tex does not seem to work as it says No package texinfo-tex available.
So I downloaded the .rpm and used the following command...to try and install it
su -c 'rpm -Uvh texinfo-5.2-7.fc22.ppc64.rpm'
with which i get the following error
warning: texinfo-5.2-7.fc22.ppc64.rpm: Header V3 RSA/SHA1 Signature, key ID xxxxxx:NOKEY
error: Failed dependencies:
perl(Unicode::EastAsianWidth) is needed by texinfo-5.2-7.fc22.ppc64
So i try and install the dependency perl(Unicode::EastAsianWidth)
again trying to download and try and install it...
su -c 'rpm -Uvh perl-Unicode-EastAsianWidth-1.33-4.fc22.noarch.rpm'
warning: perl-Unicode-EastAsianWidth-1.33-4.fc22.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID xxxxx: NOKEY
error: Failed dependencies:
perl(:MODULE_COMPAT_5.20.0) is needed by perl-Unicode-EastAsianWidth-1.33-4.fc22.noarch
so i tried to also install perl using the following:
su -c 'rpm -Uvh perl-5.20.1-314.fc22.ppc64.rpm'
but got even more dependecy checks....i feel like this probably isn't right...am i missing something...
I have also installed perlbrew to check my perl versions this is my result
perlbrew available
# perl-5.21.10
perl-5.20.2
perl-5.18.4
perl-5.16.3
perl-5.14.4
perl-5.12.5
perl-5.10.1
perl-5.8.9
perl-5.6.2
perl5.005_04
perl5.004_05
perl5.003_07
Any help would be greatly appreciated....
Try this command as the root user:
yum localinstall texinfo-5.2-7.fc22.ppc64.rpm

Unable to install rpm package in Red Hat Linux

I am using Red Hat Linux installed on VMWare ESXi.
I am using putty to access the machine.
I want to install xyz.noarch.rpm package on RHEL system.
When I try the command
rpm -ivh xyz.noarch.rpm
I get an error package already installed.
When I verify the same by using the rpm -q xyz.noarch.rpm.
I get response as package xyz.noarch.rpm is not installed.
I also tried with the uninstalling the same by using the command as rpm -ev xyz.noarch.rpm the also I get the same response as package xyz.noarch.rpm is not installed.
Can anybody help me to sort out the issue?
The file is named xyz.noarch.rpm, but in the database it's just xyz. So try rpm -qi xyz.
i faced a similar issue and found that both installation and removal (erase) was not working for a rpm package that i installed. i tried using
rpm -e --allmatches <package-name>
more info at : http://www.redhat.com/archives/rpm-list/2002-March/msg00138.html

Error while installing crontab

I am getting this error when trying to install the below package. Could some one help me?
$ rpm -i crontabs-1.10-33.el6.noarch.rpm
warning: crontabs-1.10-33.el6.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
/etc/cron.d is needed by crontabs-1.10-33.el6.noarch
Do it using Sudo
use Yum:
yum install crontabs
resolve the dependencies yourself by installing PackageKit-cron-0.5.8-21.el6.x86_64.rpm from Centos site http://mirror.centos.org/centos/6/os/x86_64/Packages/