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

learn more… | top users | synonyms

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
184 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
9k 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 ...
3
votes
4answers
3k 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
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
3answers
4k 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 ...
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
355 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
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
4answers
8k 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
177 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
154 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
576 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
399 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
219 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
655 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
5k 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
297 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
979 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
420 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
1answer
6k views

How to install the latest g++ version on CentOS

I tried yum install gcc-c++, however, the repos have an old version (4.1) which causes lots of problems and stops me from building a library. I would like to update it to latest. How can I do that?
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
1answer
36 views

yum + list all available security updates without installing them, on redhat 5?

To list all available security updates without installing them, I run this and this syntax is working on redhat 6 and 7 # yum list-security --security please advice what is the syntax for redhat ...
3
votes
2answers
202 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
224 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
156 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
165 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
1answer
930 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 ...
3
votes
2answers
238 views

Later versions of RPMs not available through custom yum repo

I've created a custom repository following this guide. Files are being served via http (nginx). I've cd'd into the directory to create the metadata with createrepo .. I can install a package through ...
3
votes
2answers
7k views

XenServer 6.2 Yum Repository

I installed a clean XenServer 6.2 from the ISOs provided here. I want to compile a driver against this system and need to install make and sources and so on. If I do yum install make I get ...
3
votes
2answers
1k views

“Insufficient space in download directory” error on VirtualBox when using yum in Fedora virtual machine

I just did a fresh installation of Fedora on VirtualBox - gave it 8GB of hard drive space. After installing a handful of packages via yum (and nothing more) I am getting the error: Insufficient ...
3
votes
0answers
203 views

How does yum with Red Hat Network Subscription work inside the rhel Docker images?

Red Hat Enterprise Linux 7 includes official support for running Docker containers, and Red Hat offer a set of official rhel Docker images. An interesting feature of these images is that packages can ...
3
votes
1answer
191 views

Fedora 21: Cannot Ping or Curl, but can Access Internet

We have an automatic proxy server configuration setup, and I can use a web browser but ping/curl are failing; it looks like a DNS resolution problem. When I do: URLGRABBER_DEBUG=1 yum check-update ...
3
votes
1answer
3k views

Missing Dependency: perl(YAML::Any)

I have a problem with git, when I run yum upgrade on a centos5 server. yum upgrade output: Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.7.11.3-1.el5.rf ...
3
votes
1answer
942 views

Errno 14 HTTP Error 401: Authorization Required Yum

So I am having an issue with my own yum repo. Here is the setup: I have basic auth on apache running on a RHEL 6.2 machine on EC2. It holds the yum repo for both a RHEL 6 machine and a RHEL 5 machine ...