Error while installing crontab - centos

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/

Related

How to fix "Cannot retrieve repository metadata (repomd.xml)" error installing Ripple - yum

I installed the Ripple rpm repo following documentation
(step 1)
$ sudo rpm -Uvh
https://mirrors.ripple.com/ripple-repo-el7.rpm
Then (step2) I run command:
sudo yum install --enablerepo=ripple-stable rippled
but I get the error:
https://mirrors.ripple.com/rpm/%24releasever/stable/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ripple-stable. Please verify its path and try again
Does anyone know how to resolve it?
That error message occurs when attempting to install the rippled package on an unsupported environment.
The rippled rpm package is currently only available for CentOS/RHEL 7 (and Ubuntu 15+ using alien)
You could try installing with:
sudo yum install --enablerepo=ripple-stable --releasever=el7 rippled
but YMMV.
\The URL is suspect - it says %24releasever which is URL-encoded $releasever which means your yum isn't filling in that blank, e.g. .../rpm/7/stable/.
Try hard-coding it in the file you can find in /etc/yum.repos.d/ that your step one installed.

Can't install RPM on Centos 6

please explain me this :
I'll try to upgrade kernel from RPM and I have got the next dependency :
rpm -i ./dracut-kernel-004-388.el6.noarch.rpm
error: Failed dependencies:
dracut = 004-388.el6 is needed by dracut-kernel-004-388.el6.noarch
Can somebody explain me how I can install this rpm? Thx
There is package dracut-kernel, which requires package dracut.
You should not call rpm directly, rather use abstraction layer above, which resolve the deps for you:
yum install dracut-kernel
or
dnf install dracut-kernel

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

Install RPM on 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.

rpmlib needed by Epel-Release

I currently have a problem with rpmlib(fileDigest) and (PayloadIsXz) I've searched on Google and other websites, including SO without luck (that worked). This is basically what I do:
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
rpm -ivh epel-release-6-7.noarch.rpm
And this is what it spits out:
[root#XXX ~]# rpm -ivh epel-release-6-7.noarch.rpm
warning: epel-release-6-7.noarch.rpm: Header V3 RSA/SHA256 signature:
NOKEY, key ID 0608b895 error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by epel-release-6-7.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by epel-release-6-7.noarch
I've searched on Google for those two, but it didn't quite help.
Note: uname -m gives "i686" if that's any help.
As well as I run CentOS 6.3
I know it may seem super silly but try:
yum upgrade
and run the installation again
and instead of using rpm, try a yum:
yum localinstall /path/to/your/rpm/epel-release-6-7.noarch.rpm
Yum will try to automatically resolve dependencies, where rpm wont. not 100% sure that will fix it, but definitely something to try :)