Unable to install yum-config-manager - unix

While installing ansible I am getting below error -
https://packages.microsoft.com/rhel/7/mssql-server/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's certificate issuer has been marked as not trusted by the user."
So I tried to run the yum-configure-manager to disable the check however to install yum-utilities I am also getting the same error .
How to install yum-config-manager
Basically any yum install is failing with the above mentioned error

You can try installing the package by disabling the certificate check.
To disable certificate check, add following line in /etc/yum.conf:
sslverify=false
Then try yum install yum-utils

Related

YUM package available in repo, but while install gives "No package"

I am upgrading from python 2.7 to 3.6.
We are using JFrog artifactory repository for hosting packages.
I have verified in the yum repo (artifactory) URL that the package python36 exists.
Following are the things tried:
In /etc/yum.repos.d/epel.repo, added the baseurl of yum (artifactory) repo.
yum clean all
yum info python36 - Error: No matching Packages to list
yum install python36 - No package python36 available. Error: Nothing to do
But the install respond by saying "No package available".
Please advise if I am missing anything here or need to look into other things.
For records -
With yum repolist and yum search working, yum install should be working.
It turns out there was an issue with repo and artifacts were not discoverable.
Now after repo being reloaded the things are working fine.

Error while installing tripleo Client Library

When i try to download tripleo Client using command
yum install -y python-tripleoclient ceph-ansible
On Centos 7.5 , I am getting error curl#60 - "Peer's Certificate has expired."
This has nothing to do with tripleo client itself. You are using some temporary yum repositories which were recycled.
My favorite hacking approach is to use pip to install it:
pip install python-tripleoclient
This is also documented on https://docs.openstack.org/python-tripleoclient/latest/installation.html

Installing OpenSSL on CentOS vagrant box gives 404 error

I'm running a CentOS 6 vagrant virtual machine under VMWare Fusion. The machine is working well. I need to test LDAP over SSL which requires me to install OpenSSL, so I ran sudo yum install openssl and I get the following errors:
http://mirror5.layerjet.com/remi/enterprise/6/remi/x86_64/repodata/repomd.xml: [
Errno 14] PYCURL ERROR 7 - "Failed to connect to 2a01:4f8:11a:b1f::1: Network is
unreachable"
Trying other mirror.
http://apt.sw.be/redhat/el6/en/x86_64/extras/repodata/repomd.xml: [Errno 14] PYC
URL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: repoforg
eextras. Please verify its path and try again
Googling this error led me to try and clear the metadata cache with sudo yum clean metadata and sudo yum clean all, both of which evidently work but when I try and install OpenSSL I get the same errors.

jenkins install errorno -3 error performing checksum on RHEL 5.7

I tried to install Jenkins on an RHEL 5.7 server (sudo yum install Jenkins) and I keep getting the error shown below:
http://pkg.jenkins.io/redhat-stable/repodata/a4a18ee2ec13db4b127e320edc4c7b7c9fbf1139a4505278b2c03727d3ca606b-primary.sqlite.bz2:
[Errno -3] Error performing checksum Trying other mirror. Error:
failure:
repodata/a4a18ee2ec13db4b127e320edc4c7b7c9fbf1139a4505278b2c03727d3ca606b-primary.sqlite.bz2
from jenkins: [Errno 256] No more mirrors to try.
I tried
Adding “http_cache=packages” to the yum.conf file
Ran “createrepo –s sha /etc/yum.repos.d”
Ran “sudo yum clean all”
But I still get the error. Any clues as to why this error is occurring?
Thanks,
Ralph.
It's looks like there is allready a ticket regarding this problem:
https://issues.jenkins-ci.org/browse/INFRA-685
In order to upgrade jenkins I download the latest rpm from:
http://pkg.jenkins-ci.org/redhat/
and instaled manualy with
rpm -Uvh jenkins-2.10-1.1.noarch.rpm
This will only upgrade jenkins but on my system, also a CentOS 5.11, yum update still have problems with perfoming checksum for jenkins packages. For me is at the moment acceptable.
Cheers, duderoot.

"No package found" error when installing NGINX on CentOS 5

The command sudo yum install nginx returns the error No package nginx available. I've tried this before and it worked but now it doesn't.
Please help!
nginx isn't in the 'normal' Centos repositories. You can install the EPEL repository to gain access to it. There's a how to guide here - and a more up to date one here.
Once you have added the EPEL repo, you can then install with the yum command you referenced.

Resources