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

learn more… | top users | synonyms

7
votes
3answers
2k views

Specifying a source in puppet doesn't seem to work

I have been attempting to create a manifest for installing postgres 9.1 using puppet on a Centos 5 server. I have been trying to adapt the instructions at http://wiki.postgresql.org/wiki/...
7
votes
4answers
15k views

Can I set up Fedora or Centos repos in RHEL6?

I have a RHEL6 box with no subscription to Red Hat Network. I want to install gcc using yum to resolve all the complex dependencies. Can I connect to Fedora or Centos repositories to install software? ...
7
votes
3answers
16k views

Enabling apt-get on a default Amazon EC2 instance which has yum installed

I'd like to call something like: sudo yum install apt to enable me to use apt-get as well as yum for installation. However this doesn't work. I get the following back: Loaded plugins: ...
7
votes
1answer
14k views

How to install libboost-devel on CentOS 6.3

How to install libboost-devel on CentOS 6.3? I have tried the following command: yum install libboost-devel Output: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * ...
7
votes
4answers
5k views

Best way to clean up Yum repository?

We have a custom Yum repo that our developers upload builds to. The problem is that after some time it becomes cluttered with old versions. Removing the old versions manually is quite annoying, so ...
7
votes
1answer
12k views

Solving multilib version problems

I use Centos 6.4 When I tried to install libgcc with yum install libgcc.i686 I took following massages. Error: Multilib version problems found. This often means that the root cause is ...
7
votes
2answers
8k views

How to remove packages that are no longer needed on CentOS 5?

While installing package I get some additional packages on dependency. But when I remove installed package with yum, the dependency packages are not removed, though I don't need them anymore. How ...
7
votes
2answers
5k views

How can I mirror a yum repository but download only the newest versions of each package?

I would like to mirror the following Yum/RPM repositories at http://yum.puppetlabs.com/ : http://yum.puppetlabs.com/el/6/products/ http://yum.puppetlabs.com/el/6/dependencies/ http://yum.puppetlabs....
7
votes
2answers
3k views

Caching proxy for yum and debian repositories

Does a caching proxy for yum exist, similar to approx for Debian repositories? Is there a way to have reprepro behave the same as approx? I have heard that approx was not as stable; besides, I would ...
7
votes
3answers
4k views

How do I browse CentOS packages?

I have been using Debian for some time but am brand new to CentOS. How can I browse CentOS packages in a web browser like I do at packages.debian.org? If there is no such website, can someone give me ...
6
votes
3answers
9k views

How to install package with yum without updating repository information?

I want to install some packages from repository but always when I'm trying to yum install packagename yum updates db: Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit Determining ...
6
votes
4answers
4k views

What can I do to speed up createrepo?

We are using a yum repository to distribute our software to our production instances. Unfortunately, createrepo is becoming a bottleneck, and we only have 469 packages in the repository. $ time ...
6
votes
2answers
792 views
6
votes
1answer
251 views

What does the “1:” before the package name mean in yum.log

I would be very glad if someone could explain what the 1: before the package name signifies.
6
votes
3answers
23k views

Exclude a specific repo from YUM Update

I am doing a system wide yum update on RHEL 5.5 and the IUS EPEL repository is throwing a missing dependency error: php53-mcrypt-5.3.3-4.ius.el5.x86_64 from installed has depsolving problems --> ...
6
votes
1answer
2k views

How do I prevent yum from updating a particular RPM?

For certain reasons I have to keep a slightly older version of a particular RPM installed on my box (Fedora 11). The problem is that every time I do a package update yum (or one of its GUI equivalents)...
6
votes
2answers
134 views

During yum update, Python installation is updated. Do I need to restart running programs?

As the title says. If I run yum update(It's a CentOS box) and there happens to be a Python update. What happens if other users have running Python programs. Do I need to alert them to restart the ...
6
votes
1answer
4k views

Puppet package “ensure => latest” doesn't always work

I have a unique situation where the Puppet package ensure => latest directive only worked on some of my systems. Out of 30 servers, the packages updated properly on all but 4. I'm trying to get ...
6
votes
1answer
491 views

How to make a RHEL repo static for a specific release

I have been working with CentOS for quite a while now and i got used to the way the repos are managed. Recently a new proprietary app required the company to get RHEL licences and the repo management ...
5
votes
3answers
4k views

Centos 6.3 install reiserFS support

I'm trying to change an existing ext4 partition to reiserFS in Centos 6.3 64bit. I've updated the kernel to Centos Plus: First, I've updated /etc/yum.repos.d/CentOS-Base.repo: In the [centosplus] ...
5
votes
1answer
13k views

Trying to remove packages with yum, however it is failing?

Trying to uninstall zarafa mail server. I use yum list installed to view the already isntalled packages. After which I use yum erase zarafa* It picks up all the packages but returns: Error in ...
5
votes
4answers
18k views

Munin on Centos 6 - missing perl MODULE_COMPAT_5.8.8

I'm trying to install Munin on a new VPS through yum install munin but I keep getting an error about a missing perl module: Requires: perl(:MODULE_COMPAT_5.8.8). This is the perl version currently ...
5
votes
2answers
5k views

Install packages through yum from file

Is there any way to install packages through yum from a file? Something like: yum -f packages.txt I couldn't find anything in the man pages. packages.txt would contain something like: bash bc ...
5
votes
3answers
2k views

yum update, how to make rpm package updateable

need a link or tutorial on how to make an rpm package work with yum UPDATE. i have it and already works with yum INSTALL and yum ERASE, but is there somewhere info on how to make rpm package work when ...
5
votes
2answers
30k views

How do I install automake and autoconf on RedHat Enterprise 5?

I am attempting to install "uploadprogress" for a PHP application, and have failed on dependencies. Firstly, on phpize, then php-devel, then on autoconf and automake. I have tried yum, and various ...
5
votes
3answers
2k views

RHN/Yum update from Red Hat Enterprise Linux 5.0 to 5.1

I need to update a server from RHEL 5.0 to 5.1 When I use RHN/Yum and do a yum update the 5.0 server gets updated to 5.6 Is there a way to configure RHN/yum to update the server only to RHEL 5.1 ? ...
5
votes
3answers
28k views

redhat yum install - GPG key retrieval failed

I was trying to yum install etckeeper on a Linux box. Details are as following. the installation failed at key retrieval. I am wondering why the key file is addressed as file:///etc/pki/. Isn't the ...
5
votes
4answers
2k views

Yum repo server as archive cache

Our software stack requires some specific versions of RPM packages. Unfortunately some of these packages become deprecated over time and get removed from their repos since their maintainers don't keep ...
5
votes
3answers
2k views

yum install obsolete openoffice instead of libreoffice

Unfortunately the software that I'm using (Alfresco) requires the installation of openoffice, and not libreoffice. If I try and configure it to use libreoffice I receive errors during startup. If I ...
5
votes
3answers
3k views

Removed YUM? CentOS 5.5

After doing yum remove crontabs this appears after running yum: -bash: /usr/bin/yum: No such file or directory This was the output of yum remove crontabs: [root@vs270 opt]# yum remove crontabs ...
5
votes
1answer
2k views

How do I migrate from RHEL 5 to CentOS 5?

I've found myself in charge of installing some software on an old server running RHEL 5. Unfortunately, since it's just a development server now, it no longer rates a license. I'd like to continue ...
5
votes
1answer
2k views

Why do I get different openssl versions?

I'm trying to check if I running the latest OpenSSL version, my main concern is the heartbleed bug. I tried 2 commands: openssl version yum info openssl openssl version output OpenSSL 1.0.1e-...
5
votes
3answers
1k views

rkhunter warns of inode change but no file modification date changes

I have several systems running Centos 6 with rkhunter installed. I have a daily cron running rkhunter and reporting back via email. I very often get reports like: ---------------------- Start ...
5
votes
5answers
49k views

How do I install the main repositories for RHEL6

We've setup RHEL6 on a new server. As far as we can tell, our subscription is all setup properly. However, when I run yum repolist, it doesn't show any repositories. /etc/yum.repos.d/redhat.repo is ...
5
votes
1answer
479 views

When should one use EPEL 5 or EPEL 6?

I am not familiar with repos, and I don't get why there are several versions of EPEL (this is a bit philosophical I know, but I am afraid I am missing something in all that). Should I just look ...
5
votes
1answer
1k views

/var/lib/mysql folder is missing

I've created a virtual machine and am installing things from scratch. Definitely not a sys admin so I'm running into some trouble. I've installed these packages and then restarted httpd yum -y ...
5
votes
2answers
4k views

CentOS 6.6 (Final) - yum kernel upgrade troubles

Well-being everybody, I'm a SysAdmin Junior managing 3 CentOS Virtual (Web)Servers, this morning I'm facing some troubles with package manager yum. As usual operation, this morning I've run the ...
5
votes
7answers
26k views

Yum update not working on CentOS 6.2 minimal install

Note: This is my first question on the stack exchange network so please give mercy and provide guidance where needed. I have installed a CentOS 6.2 KVM guest and I am having problem getting yum to ...
5
votes
2answers
6k views

how to add(and install) java openjdk repository to your yum fedora?

executing this command - yum install java-1.7.0-openjdk yields - No package java-1.7.0-openjdk available. That's because i don't have the repo - but im a little clueless as to where, and how to add ...
5
votes
5answers
13k views

yum “ Segmentation fault” in centos

While using yum commands in a centos server(2.6.18-194.el5PAE #1), it throws 'Segmentation fault'. [root@server2 ~]# yum check-update Loaded plugins: fastestmirror Loading mirror speeds ...
5
votes
1answer
2k views

Why are some CentOS 5 boxes still vulnerable to ShellShock after upgrading Bash?

I have two CentOS 5.10 boxen where I have upgraded bash to the latest version. However, in one of the boxes, bash is still vulnerable to CVE-2014-7169 (I am using the test from this ServerFault ...
5
votes
1answer
2k views

Creating a local rpmforge/repoforge mirror?

I make good use of RPMforge for my production CentOS systems. I have local repositories for the main CentOS distribution and updates, however, recent automated kickstart installs are starting to hang ...
5
votes
1answer
7k views

Yum install in chroot directory

I'm trying to install the Base group on a mounted volume. Here's the custom yum.conf that I'm using: [main] cachedir=/var/cache/yum/ debuglevel=2 logfile=/var/log/yum.log exclude=*-debuginfo ...
5
votes
1answer
528 views

Why does installing the same package twice with yum not give me the same files?

The situation I am facing: I set up a CentOS 5.9 machine that is supposed to be as close as possible a copy of another CentOS 5.9 machine, but not a clone. Using yum, I installed (as far as possible) ...
5
votes
3answers
17k views

Howto install php 5.2.17 on centos 6 x86_64

Does anyone know how to install php 5.2.17 on a 64bit centos 6 install? I've got a old legacy system that requires php 5.2.17, but centos 6 only supports php 5.3. I've installed repo's such as ...
5
votes
1answer
5k views

What can I do to safely repair my yum packages after a bad update?

I'm running amazon linux on an EC2 micro box. Recently I ran sudo yum update --security in the hope that it would patch Heartbleed. Unfortunately I ran out of memory during the update process and some ...
5
votes
3answers
2k views

AWS Linux EC2: yum won't run with plugins

Short Version: yum commands on my Amazon Linux EC2 AMI only work with --noplugins. Long Version: A couple of days ago, I ran yum update at the behest of the SSH Login MoTD telling me I had updates to ...
5
votes
0answers
304 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 ...
4
votes
4answers
9k views

Why won't yum install updates?

I am getting errors, I think with coreutils, where yum won't update. Here is a stripped down output from what I see when I run yum update: Resolving Dependencies There are unfinished transactions ...
4
votes
4answers
1k views

yum claims python isn't installed

Trying to install collectd, but for some reason it claims python isn't installed: yum install collectd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install ...