YUM is an open-source command-line package-management utility for RPM-compatible Linux operating systems.

learn more… | top users | synonyms

3
votes
2answers
2k views

How to only allow a package to be downloaded from a specific repository using Yum?

Context: We've got multiple custom-added yum repositories (on CentOS 6), and our users regularly install various/arbitrary software via yum to test things. We have a package that is available on ...
3
votes
4answers
5k views

CentOS - PHP - Yum Install with Custom ./configure params

I have successfully configured and compiled php on my dev server, and works great, but after talking to a sysadmin buddy, he informed that custom compiles of the latest builds are not recommended for ...
3
votes
4answers
7k views

Updating OpenSSH to latest stable version via yum

I am running CentOS 5.7 and need to upgrade OpenSSH to the latest stable version (PCI compliance issues). However, the most recent version available via the CentOS yum repository is 4.3p2. How can I ...
3
votes
4answers
5k views

Installing yum repositories that are specified in kickstart file

Right now, I am specifying repositories to be used for installation in the kickstart file via the repo directive. I am then, re-specifying those repositories to be added to the /etc/yum.repos.d post-...
3
votes
2answers
26k views

How-to: add an ISO/DVD of RHEL to the Repository list under Gnome for installing packages

I want to add the original ISO I installed RHEL from as a repository under the Add/Remove Software tool in Gnome. How do I do this? To clarify, I know what I need to do (add a repository) - I need ...
3
votes
3answers
5k views

Yum doesn't update httpd past version 2.2.3 on centos

I have a fresh CentOS vps (CentOS release 5.4 (Final)), and yum installs Apache/httpd version 2.2.3 but 2.2.14 is the latest release. Why doesn't yum install more recent updates?
3
votes
6answers
5k views

Up-to-date repository for CentOS git RPMS

I'm currently maintaining git packages manually for my CentOS machines since there seem to be no recent packages available in the Repos. I'm rebuilding the SRPMS from kernel.org, but --without docs ...
3
votes
1answer
205 views

Upgrade cURL to latest on CentOS 5.8

I need to update cURL on my MediaTemple DV server with CentOS. My server is running cURL version: 7.15.5 and CentOS version: 5.8 (final). I've seen commands like yum update curl, but just want to be ...
3
votes
2answers
10k views

Yum: No package mysql-server available in Cent OS 7

I just installed Apache on my new Digital Ocean Cent OS 7 x64 server. When following Digital Ocean's tutorial, yum cannot install mysql-server. # yum install mysql mysql-server mysql-libs mysql-...
3
votes
4answers
4k views

Issues installing mongodb on centos 5

I'm trying to install mongodb for my centos 5.1 server via yum. I followed the instructions of creating a .repo file in the yum folder, but it still doesnt work. here's the screenshot of the issue: -...
3
votes
2answers
1k views

How can I exclude a package from yum-cron but not from manual “yum upgrade”?

I've just gone through my servers and installed yum-cron (and then enabled with chkconfig yum-cron on since that doesn't seem to happen automatically). Now I realise that I'm running a MongoDB ...
3
votes
2answers
4k views

yum-plugin-priorities: Which packages are excluded due to repository priority protections?

I am using multiple third party RPM repositories. Since these repos contain packages with conflicting names, I am experimenting with yum-plugin-priorities to sort out the confusion. When I run yum ...
3
votes
1answer
3k views

How can I upgrade bash to >= 4.1 on CentOS 5.5?

I have a CentOS 5.5 VPS server. I want to use RVM. According to the console output when I run the RVM installer, RVM requires bash >= 4.1. I just ran yum update. My bash version is now 3.2.25. If ...
3
votes
6answers
3k views

YUM lock - other application is… yum?

When trying to run yum, I get the following error: Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum I've manually killed each yum process id, ...
3
votes
2answers
5k views

Difference between RPM (yum) and apt-get

Functional difference between the two? Packages different style or what? I'm dipping my toe in the server pool and playing with an Ubuntu install right now, which is apt-get. I'm also considering ...
3
votes
1answer
356 views

centos yum update all 68 server

We have 68 Centos server diff version 4.X 5.X, we dont want internet for update errata patches. Alternative like redhat satellite server in centos which use to update all the server local.
3
votes
1answer
2k views

Installing nginx 1.9 on CentOS7 VPS

Apologies for the noob question. I'm trying to upgrade nginx on my DigitalOcean CentOS7 droplet from 1.8.0 to 1.9.x. This is my /etc/yum.repos.d/nginx.repo file: # nginx.repo [nginx] name=nginx ...
3
votes
4answers
9k views

Not able to install mysql/mysql-server with yum in Centos 6.4 64bit

It worked initially (yum install mysql mysql-server), and now it won't. I removed the working mysql from the repo with yum remove mysql mysql-server and tried to install from rpm source from the ...
3
votes
1answer
1k views

Fedora19: YUM glibc is a duplicate of glibc

I'm using Fedora 19, when I'm trying to perform a yum update, I get the following error. yum update: Failed to set locale, defaulting to C Loaded plugins: langpacks, refresh-packagekit Resolving ...
3
votes
3answers
5k views

How do I upgrade an RHEL machine to a newer, but not the newest, point release?

Let's say I've got an RHEL machine that is running RHEL5.4. I'd like to upgrade it to 5.7 (latest), but the vendor that makes the software sitting on the machine only certifies it to 5.6. How can I ...
3
votes
4answers
2k views

Install postgresql on RHEL 5.6

When I try to run yum install postgresql I get the following error message: Transaction Check Error: file /usr/lib64/libecpg.so.6.1 from install of postgresql-libs-8.4.4-2PGDG.el5.x86_64 ...
3
votes
2answers
2k views

CentOS yum thinks removed packages are still installed

I have 2 packages in my yum that I would like to get rid of. When I list the installed packages they appear in the output, and when I try to erase them, yum seems to think it's ok and proceeds with ...
3
votes
2answers
4k views

Nudge yum to use different mirrors?

I have two CentOS servers: dev and prod. Located at different sites and, as a result, yum on each tends to use different mirrors. This morning the dev machine alerted me that there were some updates. ...
3
votes
1answer
188 views

How to keep specific old kernels around after a yum update

I know that in CentOS 6.x, you can put the following line in /etc/yum.conf which tells yum to keep the last N kernels (by default this is set to five): installonly_limit=5 However, there are cases ...
3
votes
1answer
157 views

How to manage a home-grown YUM package repo?

There are plenty of websites that explain how to manage a mirror of YUM repos. I want to run a repo for my home-grown packages. Is there a good way to manage such repos? What I need to do: Manage ...
3
votes
1answer
580 views

Windows Azure Centos image: Cannot upgrade to 6.4

I am using the Openlogic Centos image provided by Windows Azure. I have tried many times but when I run yum update it always said no packages marked for update, and the centos version is still 6.3. I ...
3
votes
3answers
4k views

Installing PHP 5.4.11 on CentOS 6.3

I have PHP 5.3.3 on my CentOs 6.3 server, Since this version of PHP is vulnerable now trying to upgrade to PHP 5.4.11 but the default repository of CentOs does not have PHP > 5.3.3 so yum can not ...
3
votes
3answers
417 views

Yum update notification when logging on to CentOS server remotely

I have 3 CentOS 6.3 Virtual Servers that I manage. I have them all set-up and configured, but am notoriously bad with remembering to run yum update on them from time to time. Is there anyway that I ...
3
votes
2answers
3k views

rpmbuild on CentOS 6.3 64-bit - broken dependencies

I'm trying to build a package using rpmbuild on 64-bit CentOS 6.3 server. Here is the spec file: Name: test-fms Version: 1.0 Release: 1%{?dist} Summary: my FMS Package ...
3
votes
2answers
8k views

How to install java-1.7.0-openjdk-devel on RHEL Server 6.3?

I have need of installing a Java 7 development environment on a RHEL 6.3 (system details are below). Following the official OpenJDK directions I tried yum install java-1.7.0-openjdk-devel (as root). ...
3
votes
1answer
171 views

How can I tell what updates will be made via yum update?

I'm trying to figure out how to see all the updates that will be applied by yum update, before running it. Is there a simple command for that? My understanding is that yum list updates only list ...
3
votes
1answer
222 views

How to create a yum repository

Wondering how to create our own CentOS 5 based yum repository? Basically, we want to make rpm packages and then be able to do things like: yum install our-custom-package yum remove our-custom-package ...
3
votes
4answers
657 views

YUM RHEL Update Server

I need to create a local RHEL5 Update Server to help eliminate the number of servers exposed to the web. All the local rhel5 servers need to be able to use this server as a repository for patches. I ...
3
votes
1answer
4k views

Which RPM fixes this failed RedHat dependency?

Problem I'm installing an RPM on RedHat Enterprise Linux 5 and it fails with the following error: error: Failed dependencies: rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by vspd-1/43-rsmu.i586 ...
3
votes
1answer
6k views

yum list installed including version of all installed packages CentOS 5.4

I have a list of packages installed with yum on CentOS 5.4 [root@server ~]# yum list installed ... Installed Packages GConf2.x86_64 2.14.0-9.el5 installed ImageMagick.x86_64 ...
3
votes
1answer
404 views

Automatically remove a %preun broken RPM?

We have an error in the %preun script of an RPM we distributed in the past. This has been corrected, but, now, upgrading to the newer version is failing because the previous version is not ...
3
votes
1answer
1k views

What is yum “running transaction test”?

There are many questions and answers on the internet about the "Running transaction test" notice which appears after a yum update. These questions usually concern what to do if it gets stuck. My ...
3
votes
1answer
434 views

Yum won't reinstall PHP on Amazon Linux

Ultimately, this question is about Yum and the Amazon Linux AMI (see the end for that part), but first I'll give some background to how I got into my situation. I installed PHP from source I am ...
3
votes
3answers
2k views

CentOS: Yum Install Error

I run into this error every time I try to update (CentOS 6) on four different servers. It only happens with this package. After researching the problem, I haven't been able to find any useful info. ...
3
votes
2answers
3k views

Fresh Red Hat Enterprise Linux fails to install httpd using yum

I'm trying to install a LAMP stack in a fresh red hat server but yum is misbehaving. Being linux illiterate I'm at a loss. $yum install httpd Loaded plugins: security Setting up Install Process No ...
3
votes
2answers
8k views

How can I downgrade my version of PHP?

Just created a new Fedora VM and it has PHP 5.3 loaded, and I have legacy code that references functions that are now deprecated ( e.g. eregi() ). How can I downgrade my PHP install from 5.3 to ...
3
votes
2answers
206 views

Error while updating yum

Trying to update my server and I get this error. I have tried the suggestions at the bottom but no success. How can I resolve? sudo yum update Loaded plugins: priorities, update-motd, upgrade-helper ...
3
votes
2answers
4k views

Installing perl-Time-HiRes on RHEL6.2 gives perl dependency error

I get the following when trying to install perl-Time-HiRes: host1:user1 > sudo yum install perl-Time-HiRes Loaded plugins: product-id, security, subscription-manager This system is not registered ...
3
votes
2answers
228 views

Why does `rpm` show 3 httpd packages, and which one provides the real httpd?

I ran yum update on my CentOS5 webserver a few days ago. Today I just noticed that I have 3 httpd-* rpms! How can I end up with three RPMs for httpd (My other servers only have one httpd rpm). I want ...
3
votes
2answers
5k views

How to update from RHEL6.1 to RHEL6.2 ,not RHEL6.3

Now I'm using RHEL version 6.1, and would like to update to 6.2. If I use the command , yum update the OS version become 6.3. so I used the command below yum install kernel-2.6.32-220.23.1.el6 ...
3
votes
1answer
162 views

how to make yum tolerant of broken repo URLs

I have a number of CentOS instances, some of which have been used by developers and have 3rd party repos (sometimes their own) enabled. However from an administrative point of view it is handy to be ...
3
votes
1answer
166 views

Change Management Workflow Using Yum

We have a fairly strict patching process that we have to follow: Patch a development or testing machine Wait one week to see if it explodes Patch the corresponding production machine to the same ...
3
votes
3answers
8k views

Upgrading OpenSSL in CentOS 5.3

I want to use one IP to host many domains with individual SSL certificates (requires SNI). In CentOS 5.3, the latest version of OpenSSL I can find an RPM for is 0.9.8e, which does not support SNI. I ...
3
votes
2answers
135 views

Ansible: updating select packages if installed without installing if not

I have a few tens of hosts that are a mix of CentOS 6 and 7. I recently started using Ansible to help manage them, but I'm still very much a newbie. Like everybody, I have a periodic need to update ...
3
votes
1answer
1k views

RHEL/CentOS - Is it possible to update packages only up to a certain release date?

Technically speaking, if one wanted to update a RHEL or CentOS server using yum, but only up to a certain release date (i.e. don't install any updates released after X date), would it be possible and ...