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

learn more… | top users | synonyms

5
votes
0answers
302 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 ...
2
votes
0answers
200 views

Certificate error with EPEL repository on CentOS6.7 using mirrors.fedoraproject.org

Can't update a CentOS 6.7 system with the EPEL repository configured. [epel] name=Extra Packages for Enterprise Linux 6 - $basearch mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&...
2
votes
0answers
138 views

yum-complete-transaction in a crazy loop

I was trying to update a server that I have with yum update and it aborted because the server ran out of memory. I killed off a few processes that were not needed and ran yum-complete-transaction but ...
2
votes
0answers
251 views

PHP upgrade always breaks session folder permissions

Every time I upgrade php (via yum upgrade) on my CentOS box, my /var/lib/session folder ownership becomes root:apache with 600 permissions. I use nginx as my web server. This breaks my site and ...
2
votes
0answers
206 views

how to keep a rpm package during system upgrade?

I have a custom built rpm package which I installed manually (via rpm -Uvh / or yum localinstall). If I do an upgradee from CentOS5 to CentOS6 this package is removed and, because it missing in the ...
2
votes
0answers
2k views

Yum install on CentOS 6.2

I can't install any php extension Epel repository enabled Yum is updated yum repolist shows repo id repo name ...
1
vote
0answers
98 views

install mysql 5.7 to linux 6 - yum tries to install 5.7 el7?

I'm following the instructions here to install MySQL-Community-Server onto a linux 6 aws instance. Basic commands: wget http://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm sudo yum ...
1
vote
0answers
37 views

I'm struggling to install darkstat on an Amazon EC2 server running Amazon Linux. Any tips?

Hello and thanks in advance for reading through this question. Disclaimer: I'm still quite a newbie when it comes to managing a server. I'm running an Amazon EC2 server (which is running Amazon Linux) ...
1
vote
0answers
27 views

Get checksums of all packages on a yum repo server

I have a server I'm using as a yum reposerver. I've mirrored all the packages I want, and added additional packages in different folders. I've created multiple repos with the createrepo command. There ...
1
vote
0answers
84 views

RHEL 6.5 in AWS, yum : Cannot retrieve repository metadata because of 404 Not Found

I have a RHEL 6.5 EC2 instance and yum is broken yum clean all $ yum clean all Loaded plugins: amazon-id, rhui-lb, security Cleaning repos: dag epel rhui-REGION-client-config-server-6 rhui-REGION-...
1
vote
0answers
39 views

redhat satellite + downgrade procedure - how

I used the RHN - red-hat satellite version 5.x in order to install errata patch: ( on linux version 6.x ) glibc-2.12-1.166.el6_7.7.x86_64 while the curent patch on my linux was: glibc-devel-2....
1
vote
0answers
74 views

yum halts after installing 7 packages on centos container

I was curious about containers, so decided to give it a try. Prepared a server as host with a fresh install of CentOS 7, installed lxc and lxc-templates and configured a bridge interface. I've ...
1
vote
0answers
79 views

Using SoX for noise reduction on AAC in an MPEG-4 container

Here are my business needs: Server receives a noisy noisy.m4a file Server creates a noise-reduced noiseless.m4a file for further processing I want this noise-reduction to be as fast as possible; ...
1
vote
0answers
725 views

Installing Google Chrome on Amazon Linux

I am trying to install the latest version of Google Chrome on Amazon Linux using yum. As far as I can tell Amazon Linux is based on RHEL/Centos however, it doesn't look like Google support this ...
1
vote
0answers
1k views

CLOUDLINUX 6.6 x86_64 YUM error

I am getting the following error after running a yum update which failed and then running yum-complete-transaction: Skipping the running kernel: kernel-2.6.32-531.29.2.lve1.3.11.1.el6.x86_64 --> ...
1
vote
0answers
165 views

We have multiple repos having same package. IF we do yum install package, install from stable repo and yum install package-version install other repo

We've got multiple custom-added yum repositories (on CentOS 6), We have a package that is available on multiple repositories. It's named the exact same thing on two different repositories, call them ...
1
vote
0answers
243 views

CentOS 5.11: yum installs, but packages remain missing

I'm trying to figure out a very strange problem with yum on a fairly old CentOS 5.11 VPS using DirectAdmin. Executing the following command suggests the telnet package is installed: # yum install ...
1
vote
0answers
150 views

RHEL yum broken

I have RHEL which is deployed from Amazon AMI, and yum is somehow broken. I must use that AMI because of corporate software installed on it. There is no way to rollback to previous state. This is the ...
1
vote
0answers
77 views

Apt and package conflicts

I have spent some time researching, and as I could not find anyone with the same issue I figured I might as well ask. I have two packages X and X-1. X-1 is essentially an upgrade from the previous ...
1
vote
0answers
170 views

Library Dependency is different when checked via yum vs. rpm

I'm new here and am debugging something I've never seen before, so I'm hoping someone can show me where I'm going wrong. I've created a local yum repo for all my servers. The idea is to distribute ...
1
vote
0answers
169 views

Cannot install mysql server - Error in PREIN scriptlet in rpm package mysql55-mysql-server-5.5.32-3.el5.x86_64

I am trying to install mysql server 5.5 (or any 5.x versions) on Redhat 5.5 and am having some trouble. I can install the other mysql components but when I try to install mysql-server (or mysql51-...
1
vote
0answers
320 views

Getting a specific CentOS base image with mkimage-yum.sh

Docker's mkimage-yum.sh does indeed work (awesome little script) but it pulls 6.6 (the latest with updates). I was wondering if it's possible to specify 6.5. I believe I can use yum.conf but the yum ...
1
vote
0answers
846 views

CentOS 6: Apache 2.4 drop-in replacement for Apache 2.2 via yum?

I've a CentOS 6.6 installation with the stock Apache 2.2 package. I need to upgrade it to Apache 2.4, but I want a true drop-in replacement for the installed package, not something that goes into /opt ...
1
vote
0answers
394 views

MySQL 5.6 Community Server failed to start in CentOS 6

MySQL 5.6 Community Server failed to start on CentOS 6. Before, I have successfully installed mysql community server (file: mysql-community-release-el6-5.noarch.rpm) on my CentOS 6, the binary source ...
1
vote
0answers
137 views

How best to maintain a recent bash version on amazon linux?

I require Bash 4.2 or higher. Amazon Linux default repositories only provide Bash 4.1. I have done some searches and can not find a yum repository for recent versions of Bash. I don't want to compile ...
1
vote
0answers
118 views

How to stop meta-rpm transaction if a precondition fails?

I currently have a meta-package rpm which contains a list of dependencies on other rpm packages. I want to stop the update/install transaction of the meta-package (and all subsequent packages) if the ...
1
vote
0answers
2k views

How to install latest Tomcat7 using yum on AWS EC2?

I'd like to install the latest (7.0.53) Tomcat on an AWS EC2 instance running Amazon Linux. If I were to do "sudo yum install tomcat7 -y", I would only get version 7.0.47, as shown by " yum list ...
1
vote
0answers
455 views

Oracle's JDK RPM doesn't provide “java”

I have the Oracle RPM for the Java 7 JDK installed on an Amazon EC2 instance. The Oracle RPMs for Java 7 JDK don't "provide" java nor jre. RPM reports that it provides the following: # rpm -q jdk --...
1
vote
0answers
228 views

How to downgrade OpenSSL on Amazon EC2

I'm using a version of the Amazon Linux AMI (v 2013.03) that comes with OpenSSL 1.0.1 installed as described here: http://aws.amazon.com/amazon-linux-ami/2013.03-release-notes/. I have an application ...
1
vote
0answers
202 views

Cannot install yum on CentOS 5.3, 64bits

I'm facing a problem with installing yum in CentOS (version 5.3, 64bits). My CentOS yum is not preinstalled, so I can't install other package that I need. I found out one article that show how to ...
1
vote
0answers
346 views

Cobbler import of RHEL6 DVD doesn't seem to create yum repo

I setup cobbler (2.4.0) and imported the RHEL6.4 DVD. It copies all of the packages over to /var/www/cobbler/ks_mirror/RHEL6.4-x86_64. It even runs createrepo and loads the metadata, etc. So you ...
1
vote
0answers
731 views

gcc46 and no c compiler found on Amazon EC2

I've been trying to install Gearman on my EC2 instance, but when I try to ./configure gearmand, I get this: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-...
1
vote
0answers
79 views

Removed and then reinstalled php-common via yum. Now no virtual hosts?

Using yum I wanted to install the php-gdlibrary, however there was a dependency issue with php-common preventing me from installing php-gd. So after some digging I found this article on SO. I followed ...
1
vote
0answers
2k views

“yum clean” hangs - what to try next?

I run a number of CentOS servers. I was recently doing the occasional yum update but this failed on a handful of the servers. On most I have been able to move forward by doing: # yum clean all # rm -...
1
vote
0answers
171 views

Performing yum update on an OpenVZ host

My company runs a handful of OpenVZ servers (HN) and hosts all the server as containers on these HNs. We have done some pentest and found out we have to do update the kernel on the HNs to resolve a ...
1
vote
0answers
2k views

Fixing problems with yum, urllib2, and missing dependencies?

I've been trying to resolve the following problem with yum / python's urllib2: [root@...]# yum Traceback (most recent call last): File "/usr/bin/yum", line 4, in ? import yum File "/usr/lib/...
0
votes
0answers
11 views

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 ...
0
votes
0answers
9 views

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 ...
0
votes
0answers
53 views

Need to Install Apache on RedHat Without Internet Access

My client has given me access to RedHat server which requires to install apache but it does not have direct access to internet. So I cannot use "yum" command to install the packages. When I ran the ...
0
votes
0answers
6 views

Prohibit yum from extracting a file

On RHEL6, the package nginx from EPEL installs these two files into /etc/nginx/conf.d: /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/ssl.conf I can remove these files, however when upgrading ...
0
votes
0answers
15 views

yum upgrade/downgrade - dump all logs

I am doing a yum upgrade/downgrade on a linux box and seeing some issues. I want to dump all logs - literally every bit of info that yum can dump and may be useful for me to debug. what is the best ...
0
votes
0answers
40 views

Remove java 1.7 that was automatically installed with maven, but keep maven

I installed maven on an Amazon Linux following these instructions. This automatically installed and made 'default' java 1.7. I had already manually installed java 1.8, so I run sudo yum remove java-1....
0
votes
0answers
30 views

Finding Lynx for RHEL 6

Today I tried tried running $> apachectl status and got the following message: apachectl: line 95: lynx: command not found No problem, guess this server doesn't have lynx installed. My ...
0
votes
0answers
29 views

yum-cron emails going to root instead of specified user

I have several RHEL 6 servers that I have configured yum-cron to run on. I have configured them to send email output to my address. The problem is that all but one of the servers are still ...
0
votes
0answers
46 views

Issues when updating selinux

I did a yum update on a fresh Centos 7 installation and the update worked fine but i see the following in the log Updating : pcre-8.32-15.el7.x86_64 61/405 /var/...
0
votes
0answers
37 views

How to install Beanstalkd in Red Hat Openshift?

First I logged in to my application using ssh, in ubuntu terminal. Then tried to install it using sudo apt-get install beanstalkd But the result is: test.rhcloud.com 123]\> sudo apt-get install ...
0
votes
0answers
47 views

CentOS 6.4 YUM Python error

I'm getting an odd YUM error using the shell which I can't find any answers to elsewhere. What's weirder is that this worked fine on a very similar machine. It's a CentOS 6.4 machine and both YUM ...
0
votes
0answers
32 views

Yum-cron output to both email and log

When configuring yum-cron on a CentOS (07 x64) host, i noticed the following option (/etc/yum/yum-cron.conf) - # How to send messages. Valid options are stdio and email. If # emit_via includes ...
0
votes
0answers
211 views

CentOS Patching Woes

I am having some issues doing our monthly patches. Error: Package: 1:net-snmp-5.7.2-20.el7_1.1.x86_64 (@pit-centos7-x86_64-updates) Requires: libperl.so()(64bit) Removing: 4:...
0
votes
0answers
72 views

Configuring `yum` to work with automounted `/opt`

yum software collections seem unhappy with an automounted /opt on CentOS 7. How do I tell yum not to try installing material there? I'm starting with a fresh CentOS 7 install – newly-installed with ...