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

learn more… | top users | synonyms

3
votes
1answer
353 views

Enable the EPEL repository on AWS Elastic Beanstalk

I need to install some tools from the Extra Packages for Enterprise Linux repository (EPEL) that are not available in the default repositories of the Amazon Linux AMI. /etc/yum.repos.d/epel.repo ...
3
votes
1answer
720 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 ...
3
votes
1answer
389 views

Is there a way to see if an rpm was installed manually or installed from a repo?

Title pretty much sums it up, but I'm looking for an rpm or yum command to see if an installed package was installed from the repos (if repo, which repo?), or manually.
1
vote
1answer
119 views

Create yum variable, that is the result of a command?

To clarify, I am looking on how to store a yum variable as the RESULT of a command. The command I use to get the OS version is irrelevant to me, I'm sure there are better ways of getting it than what ...
1
vote
1answer
709 views

Trying to install php-devel on AWS EC2 server to compile a PHP extension, but getting errors “httpd24 conflicts with httpd-2.2.27-1.3.amzn1.x86_64”

I'm trying to install php-devel on an AWS EC2 server so I can compile a PHP extension. But I get an conflits error. --> Processing Conflict: httpd24-2.4.10-1.59.amzn1.x86_64 conflicts httpd < ...
1
vote
1answer
780 views

Yum repo basic auth not working

So we've got this yum repo that is protected via basic auth. My yum.repo definition looks like this [custom-repo] name=Releases Repository ...
1
vote
1answer
144 views

Cannot install any package using yum

Whenever I try to install any package using yum i get the error as "Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds" Can anyone tell me why is this happening to me? I have ...
1
vote
1answer
280 views

yum update fails to unpack archives for nodejs dependencies on centos 6.4

I run "yum update" on my CentOS 6.4, but the Node.js package and dependencies fail with multiple errors like this: Error unpacking rpm package nodejs-fstream-0.1.23-1.el6.noarch error: unpacking of ...
1
vote
1answer
779 views

Yum install libyaml has depsolving problems

Trying to get ruby up and running on a centos 5 box. yum install libyaml-devel Loaded plugins: fastestmirror Repository base is listed more than once in the configuration Repository updates is listed ...
2
votes
0answers
80 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
153 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
1k 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
13 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
32 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 ...
1
vote
0answers
40 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
191 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
70 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
50 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
1k 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
288 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
131 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
145 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
243 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
460 views

Yum History and History Undo in Centos 6

I have a Centos 6 server and I have upgraded several packages. I can, supposedly, downgrade them with yum history undo <packageName> but all I get is downgrade failed for every single package. ...
1
vote
0answers
532 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... ...
1
vote
0answers
76 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
163 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
1k 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 ...
0
votes
0answers
24 views

Solved but Confused: Fedora 19 to 20 - “Protected multilib versions: chkconfig”

Initial Problem When upgrading from Fedora 19 to 20 using this command: yum --releasever=20 --setopt=deltarpm=0 distro-sync I get the following error Error: Multilib version problems found. This ...
0
votes
0answers
25 views

yum list available - not showing all packages

I have a strange problem with yum, working on one server and not working on another server that should be identical. The symptom is that after running createrepo on a directory containing RPMs (and ...
0
votes
0answers
52 views

Broke Fedora after accidentally cancelled yum update

tl;dr: I ran yum update -y, then halfway a huge update (1.1GB) accidentally hit ctrl+C mid-way. This broke everything. I tried: 500 yum check all 501 package-cleanup --problems 502 ...
0
votes
0answers
27 views

Lost network connectivity after a “yum -y update”

I've a server on Centos 6.5 and after a yum -y update we've lost all connectivity on it, the only access we have is on shell thru SolusVM serial console, I've tried everything (SFTP, SCP) on my reach ...
0
votes
0answers
41 views

How can I exclude packages with yum-cron on CentOS7?

On earlier versions of CentOS, and assuming RHEL, you could exclude packages by adding the packages to skip to /etc/sysconfig/yum-cron . Putting several newer servers into use now, and I can't find ...
0
votes
0answers
299 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 ...
0
votes
0answers
61 views

RHEL6 yum 'ascii' codec can't decode

I went to upgrade my RHEL5 to RHEL6, without problem. I've got just a little cosmetic warning as : # yum update Modules complémentaires chargés : product-id, security, subscription-manager 'ascii' ...
0
votes
0answers
16 views

Using yum-builddep instead of yum install in Puppet

Is there a simple way to change the default behaviour of yum when installing packages to for instance instead of doing a yum install instead use yum-builddep to install only the dependencies of a ...
0
votes
0answers
267 views

No version specified, and no candidate version available for mysql

I'm trying to install MySQL using Chef on CentOS 6.5. I've got the repositories in place. -rw-r--r--. 1 root root 256 Oct 15 16:59 centos-base.repo -rw-r--r--. 1 root root 267 Oct 15 16:59 ...
0
votes
0answers
62 views

Apache tomcat server for yum repo

I have a system that currently has apache tomcat on it (RHEL 6.5). I also want to make a yum update repo on this system for other systems on the network (also RHEL 6.5). I know I can use the apache ...
0
votes
0answers
50 views

yum remove package freeze while erasing

I'm using CentOS 6.5 on a server. Some time ago, I installed from a third-party repository Newscoop CMS. Now I'm not able to remove it. yum remove newscoop Freeze at the "erasing" point, shutting ...
0
votes
0answers
61 views

Producing RPMs that conflict with all versions released by someone else?

I find myself needing to create a variant of the PostgreSQL packages that are mostly compatible with the official http://yum.postgresql.org/ packages. My packages are compatible with client apps that ...
0
votes
0answers
63 views

Install tuleap on amazon ec2 linux AMI

I'd like to know if it's possible to install tuleap on amazon ec2 linux ami. I searched the net unsuccessfully and when I try to install tuleap with yum, I got confilcts error (with httpd24, ...
0
votes
0answers
122 views

RedHat Yum Install Errors (PHP Module)

All, I am trying to use yum to install a PHP module which I expected to take all of five minutes... After quite a bit more than that I am stumped. Yum is throwing an error about a dependency missing ...
0
votes
0answers
239 views

Yum update coreutils failed

I got error update coreutils. Here is console log root@server70 [~]# yum update coreutils Loaded plugins: fastestmirror, refresh-packagekit, rhnplugin Loading mirror speeds from cached hostfile ...
0
votes
0answers
531 views

Yum does not install specific RPM version with custom repo

We use RPMS for our packaging and yum to update our environments. We have an rpm package-5.1.1-3 installed in our production server and in our yum repository we have 2 newer versions such as ...
0
votes
0answers
502 views

include(SoapClient.php): failed to open stream: No such file or directory

I have problems with yum, 1st one is when i run yum "commmand" 2nd time, example, yum search php or sudo yum install php-gd i get the error msg, rpmdb: Thread/process ...
0
votes
0answers
181 views

How to start hadoop on CentOS

I have installed hadoop using Yum on CentOS: yum install hadoop Now I want to start hadoop but cannot find the start-all.sh script mentioned on many blogs and wiki pages such as ...
0
votes
0answers
111 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 ...
0
votes
0answers
131 views

Uninstalled openssl-libs by accident, how do I reinstall it

I accidently uninstalled openssl-libs on a CentOS 6.4 server. I still have an active SSH terminal session open, but I can't wget to download the openssl rpm. Yum won't work either, requires openssl. ...
0
votes
0answers
55 views

What is Yum server branch?

Yum manual says: -b [stable|current|test|data-test|data-current], --branch=[stable|current|test|data-test|data-current], --br=[stable|current|test|data-test|data-current] ...
0
votes
0answers
222 views

can not get required packages with yum

I wound like to install Tuleap - on Oracle Linux 6.4 [ebalbar@puding ~]$ yum repolist Loaded plugins: refresh-packagekit, security repo id repo name ...