Newest yum Questions

Q&A for system and network administrators

Install obsoleting package without removing obsoleted package

Is there any way to install an obsoleting package alongside the package it obsoletes using yum? There are a couple conflicting files but the packages can coexist just fine with the latest version of ...

Is it safe to use the EPEL repository on CentOS systems? [duplicate]

I recently submitted a Puppet patch which would have enabled the EPEL repository on a number of our CentOS 7 systems (I need this in order to install Python 3). One of the sysadmins rejected the ...

Yum/Apt Package Repository Managament, Mirrors and Hosted, Must be something better

I've been managing my Yum repositories with Pulp, mirrored and hosted. The complexity is pretty serious, so I've only considered the operational and infrastructure related repositories. DevOps has ...

How to install “last” in centos?

When I tried to run last to get recently login users, I got an error: -bash: last: command not found So how can I install it? I'm using centos 7.0. Sorry if this is a simple question, but I cannot ...

centos 5.5 “The SSL certificate failed verification”

When I tried to update openssl, or just simply yum update, it would failed like below: # yum -vv update openssl Loaded plugins: fastestmirror, rhnplugin The SSL certificate failed verification. I ...

Files in /etc/yum.repo.d don't seem to be read

I have the following my /etc/yum.repo.d directory: [fixnetix-base] name=Fixnetix Base baseurl=http://10.20.82.149/os/rhel/x86_64/6.8 gpgcheck=0 enabled=1 [fixnetix-security] name=Fixnetix Security ...

How to install old packages on a server?

I have been given a task to install PHP 5.3.29 a MySQL 5.5, but both of them are old - are there some repos with old packages? Or how do I get them? I have to install it with yum. Thank you very much

Yum offline installation on rhel7.2 failed

I am trying to deploy my java server application on a client machine running Red Hat Linux 7.2 with no internet connection. I managed to do it on my own test server in azure, several times, but the ...

Cannot retrieve repository from channel “rhel-x86_64-server-6”

I have a red hat satellite 5.7 with subscribed servers to the rhn under a 3.4 rhev installation and I just created a VM with RHEL 6.6, subscribed it with satellite to the rhn, configured the channels ...

Local RPM/YUM repository on Debian

I manage a mix of Debian and CentOS servers. I have a local DEB repository, kept up-to-date with apt-mirror, on a Debian server. Because this server has so much extra HD space, of 250GB at the moment, ...

Where does the username in “yum history” come from?

On one of our servers, yum history reports: [tschmidt@sl-was01p ~]$ sudo yum history Loaded plugins: product-id, search-disabled-repos, security, subscription- : manager ID | Login ...

yum having conflicts while attempting to install php-xml

Using CentOS Linux release 7.2.1511 (Core) and running PHP 5.5.38 (cli) (built: Jul 21 2016 12:25:20). Attempting to install php-xml but am receiving the following issue: sudo yum install php-xml ...

Upgrading curl on centos 6: libcurl-7.50 requires libnghttp2

I am trying to upgrade curl but keep on getting this error: Package: libcurl-7.50.0-1.1.cf.rhel6.x86_64 (CityFan) Requires: libnghttp2.so.14()(64bit) I am not sure how to get this ...

Weird performace with VirtIO adapter in Linux Guest

I have been battling an extremely odd behavior with the VirtIO adapter for Linux KVM guests. First, my set up: KVM host is a CentOS 6.8 box. Guests are running CentOS 7. The adapters were originally ...

prevent upgrading of a dependency for just the module that uses it

I am working with Amazon Linux 2013.09. I have a module that requires dependency perl( module_compat_5.10.0). When I try and update using yum, the package manager tries to upgrade it as well and ...

why yum could not find the python-pip packages on some PCs

I got a very strange problem and cannot figure out why. When I run yum info python-pip command on some CentOS 7 machines, it returns Error: No matching Packages to list. But, I used to install python-...

Yum generates error message: AttributeError: 'module' object has no attribute 'RhnServerException'

Linux version: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.8 (Tikanga) # cat /etc/issue.net Oracle Linux Server release 5.8 When running yum, it generates the following error ...

installing gtk-sharp2 on Centos7

I'm trying to instal (on centOS 7) this package but I got this error below ( I admit that I'm a novice with yum as well): sudo yum install gtk-sharp2 Loaded plugins: fastestmirror, langpacks, ...

Install RRDtool 1.4.7 on CentOS 6

I'm trying to install Zenoss core 4.2.3 which requires RRDtool 1.4.7. CentOS 6 comes with RRDtool 1.3.8 So, I've downloaded the RPM rrdtool-1.4.7-1.el6.rfx.x86_64.rpm and tried to install it, which ...

Adding CentOS 6.8 Client to Spacewalk

I'm trying to add a CentOS 6.8 client to Spacewalk 2.6 to I can push out updates. In order to add the client I need to first install some packages: rhn-client-tools rhn-check rhn-setup rhnsd m2crypto ...

Why is the cachedir option of createrepo not being used?

I'm trying to speed up execution of the createrepo. The man page suggests adding ---cachedir so I did that. However after running the command the specified directory is still empty. This makes me ...

Install Sphinxsearch on AWS Elasticbeanstalk

How do I install Sphinx search in an Elasticbeanstalk container so that it is automatically installed anytime the instance restarts?. I tried this container command in my .config of the .ebextensions ...

Unable to SSH into ec2 after reboot [duplicate]

I hoping that this is the right place to post this. Today I was locked out of my ec2 after a reboot. This is what it says when I try to ssh: OpenSSH_6.9p1, LibreSSL 2.1.8 debug1: Reading ...

Deploying Laravel Application that connects to remote Sybase Sql Server

I have RedHat Enterprise Server 6.0 as my production server. I set up ODBC and now it is successfully connects to the Sybase Sql Server which resides on another server using tsql. Now, I need to use ...

How to bypass this Transaction check error

I have this error when I use yum update Transaction check error: file /usr/lib/node_modules/npm/node_modules/node-gyp from install of npm-1:3.1 0.3-107.el7.x86_64 conflicts with file from ...

Cannot remove Pulp tasks after unregistering consumer

I am having an issue deleting some tasks in Pulp. After decommissioning a consumer, it has become impossible to remove the hanging tasks related to it. Listing the tasks shows entries related to ...

Installing a specific version of httpd with mod-wsgi

I am trying to install mod-wsgi on Amazon linux using the following way: yum search wsgi yum install mod24_wsgi-python27.x86_64. However, this install httpd 2.4 as the dependency. I want to install ...

Yum wants to remove and re-install my kernel. Is this safe?

I am running CentOS 7 and I just ran yum update. Something in the resulting output makes me hesitate to type y to proceed with the update. Here's what it says: ======================================...

Yum update failing because of coreutils issue [duplicate]

Im attempting to yum update but it is failing on: Error: Package: coreutils-libs-8.4-37.el6_7.3.x86_64 (@updates) Requires: coreutils = 8.4-37.el6_7.3 Removing: coreutils-8.4-37....

yum pycurl error 22 the requested url returned error 404 not found

Unable to perform update using YUM and getting errors as shown below: https://cdn.redhat.com/content/dist/rhel/server/6/%24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The ...

Confirming that yum-cron is configured properly on a CentOS 7 server

Is there any way to test whether yum-cron is configured properly? I need to confirm that it will automatically install security patches and that it will email me when it does so. I have a CentOS 7 ...

Installing CentOS packages on fedora from repository

Is there a way to install CentOS packages on Fedora through yum (dnf) repository? I'm trying to install freeswitch, but their own repository only provides builds for RHEL and CentOS. I assume CentOS ...

How to find out yum package names

Recently I needed to install yum mbstring but because I have two different versions of PHP installed I needed to install mbstring for php 5.5. Through some random google searches I figured out to run: ...

redhat linux + yum updateinfo list + what is the equivalent command for redhat 5

the command yum updateinfo list running well on redhat 6 and 7 as the following yum updateinfo list Loaded plugins: product-id, rhnplugin, subscription-manager This system is receiving ...

can't update server with yum, duplicates error

trying to run yum update and getting sum errors, can't seem to get passed them, tried "skip-broken", tried yum-complete-transaction, package-cleanup --dupes, package-cleanup --cleandupes ... nothing ...

YUM not working in CENTOS 7 after installing httpd

I just installed CENTOS 7 on my vmware. After YUM update everything worked fine for sometime then system suddenly crashed and asked me to Logout. In console in tried to yum update but it showed ...

Install PHP 5.6 on CentOS 7 - No package php56 available - yum misconfiguration?

I'm trying to install PHP 5.6.x on my CentOS 7.2.1511 installation. I've followed this guide: https://webtatic.com/packages/php56/ For some reason, the php56 cannot be found. I've also tried other ...

Can I specify the install root with yumdb on the command line?

rpm has a command-line option --root to specify another install root than /. yum has a command-line option --installroot for this. They are useful for maintaining chroot environments so that these ...

yum HTTP Error 403 - Forbidden behind NAT on AWS

I had some weird issues while trying to run yum update on a centos 7 server on AWS behind an instance NAT. Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&...

Unable to install some required packages in Red Hat Linux

I Have RHEL6.5. I mam trying to install some required packages.Here is the response Error Downloading Packages: glibc-2.12-1.132.el6.i686: failure: Packages/glibc-2.12-1.132.el6.i686.rpm from Local:...

print yum repo configuration of a single repo using yum

I'm trying to find a portable command line way to get the full configuration of a single yum repo -- without relying necessarily on the name/id of the repo or what file it's in. I'd like to just have ...

Difference between rpm -ivh <package> and yum install <package>

Supposing that I am going to install a package, what's the difference between these two commands: rpm -ivh <package> and yum install <package> same question for example with rpm -Uvh <...

Different Yum results on two servers

Got some weird stuff going on in here: same OS same arch same yum repos yum clean all ran on both servers Even after all of the above; the following command reveals two entirely different set of ...

Yum error CentOS 6.7, can't get connected to the package http://packages.sw.be/rpmforge-release_rpmforge-release-0.5.2-2.el6.rf.i686.rpm

I tried yum clean all and yum update and then I try yum erase apf and yum erase doesn't work because it can't get connected to the package mentioned in a title. I am connected to the internet and ...

Installing sysbench on redhat 7 - 404 not found

I have redhat 7 and I've been trying to get sysbench installed and following the instructions here: https://wiki.mikejung.biz/Sysbench#Installing_Sysbench yum install http://www.percona.com/...

CentOS 7.2 andhivex

I need to install libguestfs on a CentOS/RHEL 7.2 server, and I ran into a snag in the dependency chain. When I try to yum localinstall hivex-1.3.10-5.7.el7.x86_64.rpm, it finds a dependency on "perl(...

Issues with Centos Yum repo Configuration

I have been trying to use yum update but I get errors as: Loaded plugins: refresh-packagekit base | 5.0 kB 00:00 ... http://mirror.fibergrid.in/centos/6.8/os/x86_64/repodata/repomd.xml: ...

OpenJDK minimum version is not followed for installation

I have an RPM which has the following output on running rpm -qpR java-1.8.0 >= 1.8.0.102 This means that we can either use Oracle Java or OpenJDK to install the package. However, the package ...

How could a CentOS 7.2 system return a response to $ yum list, but not to yum install?

I found a system with a peculiar problem. It has no repositories enabled, but still responds to $ yum search. I've asked around, and read a good bit of the documentation (e.g. https://www.ibm.com/...

yum install offline/without package on Centos 6 from a source due to firewall

I want to "yum install php-mbstring" on Centos 6. The problem is that due to firewall restrictions, the centos machine can not connect outside. Therefore, epel etc packages fail due to unreachable: ...
Translating... 0%