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

learn more… | top users | synonyms

2
votes
4answers
9k views

How do I use RPM to install GCC from my CentOS distribution media?

I have a few package installation related questions concerning RPM, YUM and CentOS and getting GCC installed: I've mounted my distribution media on my CentOS 5.2 machine but I can't seem to work out ...
2
votes
3answers
465 views

Centos: How to install all packages of one server on another?

I've done rpm -qa > file and now I want to copy the file to another server and run through it and install all these packages on the new server. I did something like this: for pkg incat file; do yum ...
2
votes
3answers
5k views

How to install package with yum without updating?

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 ...
2
votes
4answers
3k views

Package management on Mac OS X

Can anyone recommend a package management tool like apt-get or yum for Mac OS X? I've seen that Fink has ported apt-get to Mac OS X, is this a good way to go, or are there other/better options out ...
2
votes
4answers
12k views

how do I update php on centOS?

I have php 5.1.6 installed on a centOS server, and I need at least 5.3.2 (but would rather install the latest available 5.* version). If I run yum update php it says it will update to ...
2
votes
2answers
699 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 ...
2
votes
4answers
121 views

Two Centos Machines. Wildly different updates

I have two CentOS linux servers. One is dev and the other is prod. Dev is internal only and prod is exposed on port 80. Both built at the same time and both configured pretty closely to the same with, ...
2
votes
4answers
7k views

How can I keep the RHEL version static (e.g. RHEL 5.1)?

For compatibility with a program : I need to keep one of our servers in a specific version, for example rhel 5.1 I would like to keep it as updated as possible, but not to change versions. What ...
2
votes
3answers
4k views

Howto get yum to install only dependencies for a given pakage?

I am looking for a way to have yum install only dependencies for a given package, something like an --prepare-for-install option so I can take a snapshot of the prepared system and test the rpm setup ...
2
votes
2answers
12k views

CentOS Insufficient space in download directory /var/cache/yum/base/packages

I was trying to yum install libpcap when I got Error Downloading Packages: 14:libpcap-0.9.4-15.el5.i386: Insufficient space in download directory /var/cache/yum/base/packages * free 0 * ...
2
votes
5answers
5k views

Installing Python 2.7 broke “yum”

I installed Python 2.7 and pointed /usr/bin/python to /usr/local/bin/python2.7 After installing Python 2.7, I get the following error message every time I use yum > sudo yum install setuptools ...
2
votes
2answers
308 views

Centos : Configure yum to install from another machine in the network that has an outgoing connection

Using Centos 5.4 here and I have two machines on the same network but only one has access to the outside world. I want to install software using yum on one machine, and rather than download the ...
2
votes
2answers
259 views

Why must yum update its repos on each command?

Doing anything with yum is frustratingly slow for me. For example, when searching for a package, finding it, and then trying to install it, both yum commands appear to run the exact same updates, just ...
2
votes
3answers
4k views

How to force CentOS yum to use a later version of a package dependency already installed (php-common as a dependency of php-xml)

It would appear that the version I have of php-common-5.2.10-1.el5.centos is newer than the one being asked for as a dependency of php-xml when I try to install php-xml using yum install php-xml. The ...
2
votes
2answers
2k views

yum trying to install el5 when I am on el6

When I run the following yum command I get this error: Package: git-1.7.10.1-1.el5.rf.x86_64 (rpmforge) Requires: libcurl.so.3()(64bit)" I read that this error is due to running an el5 ...
2
votes
3answers
1k views

Pass --nogpgcheck to yum via puppet

How would one get a --nogpgcheck option to yum via puppet? I've tried package { 'unsigned-package': ensure => latest, install_options => ['--nogpgcheck'], } and package { ...
2
votes
1answer
3k views

Broken dependencies on CentOS 6.4: can install nodejs but not npm

I'm using a fresh installed CentOS 6.4 (x86-64) with the EPEL repository. $ yum install nodejs ... $ node -v v0.10.5 So far, so good, but when I try to install npm, I'll get this error message: $ ...
2
votes
4answers
6k views

Yum (CentOS 6.4) - Remove all Installed Packages [closed]

I need to clean my system and redo it all. Is there any easy way to get rid of every single package I've installed (to a point where it's CentOS minimal)? I can't remember all of the packages and yum ...
2
votes
2answers
1k 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 ...
2
votes
2answers
1k views

Installing lighttpd on CentOS 6.3 yum 404 errors

I have a CentOS 6.3 x86_64 server and I am trying to install lighttpd. I have installed the EPEL repo on the server using the following: rpm -Uvh ...
2
votes
1answer
462 views

yum: Difference between mysql, mysql-server and mysql-devel

What are the differences between the packages here? mysql, mysql-server and mysql-devel I am installing a SQL server to use with PHP, but I found these three packages and am not sure which to use.
2
votes
2answers
1k views

Upgrade mysql version

I am trying to upgrade mysql package to 5.5 on centos. (amazon image - ami-cc5af9a5) There is 5.1 version of mysql-libs that can not be uninstalled because postfix is dependent upon it. But I can not ...
2
votes
2answers
1k views

Installation of gearmand fails on libevent dependency

I've installed the PostgreSQL yum repo and have PostgreSQL running for some time now, but now when I try to install gearmand I get the following errors: Transaction Check Error: file ...
2
votes
2answers
814 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 ...
2
votes
2answers
1k views

Installing chrome in Centos 6.2 (Final)

I need to install chrome in a dedicated centos server where I only access via ssh, it doesn't have X or any windows graphical stuff. I need it to be able to pack extensions using google-chrome ...
2
votes
4answers
3k 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 ...
2
votes
3answers
1k views

Fresh install of RHEL 6.1 - yum failing to update

I'm getting some errors when trying to update some RHEL 6.1 64 bit servers with yum. I tried a fresh install of the OS and then ran yum -y upgrade and received the same errors that I was getting on my ...
2
votes
2answers
571 views

Upgrade CentOS 4.4 to 4.8

I'm new to CentOS, have mainly worked with FreeBSD. How do i update/upgrade CentOS from version 4.4 to 4.8 ? Update # yum upgrade Will this upgrade only minor or will it upgrade to 5.x ?
2
votes
1answer
1k views

Compile/Configure Options of a Yum Package (RPM)

Is it possible to get the compile options of a yum package? In this particular case, I am trying to get them for the standard BIND installation with CentOS, but if there is a generic way for YUM ...
2
votes
3answers
348 views

Can I mix yum and apt-get safely?

I understand that yum and apt-get operate on top of rpm, so that the data about installed packages in a linux system is responsability of rpm; so that neither yum nor apt-get keep their own data about ...
2
votes
2answers
805 views

How can I verify which repository a package resides on in Centos?

I'd like to know which Centos repositories various packages are available at. Is there a directory somewhere? I tried googling it and didn't find anything.
2
votes
1answer
5k views

How to upgrade OpenSSL on CentOS 6.5 to protect against heartbleed? [duplicate]

When I go to run: root@vps [~]# yum update -y openssl I get: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.beyondhosting.net * extras: ...
2
votes
1answer
964 views

Fedora 14 Repository List

I've got a machine running FC14 and trying to set up yum on it without much luck. I'm aware that the FC14 repo's have all gone archive though it's not possible to upgrade this box as it's an appliance ...
2
votes
1answer
1k views

Puppet error on already installed package on centos

I am using puppet on CentOS for the first time. I have the following in one of my .pp files: package {"openjdk-6-jdk": ensure => installed, } Which generates the following error when ...
2
votes
1answer
679 views

Postgresql unintended upgrade to 9.2.3

OK, so I'm relatively new to linux. Some months ago, I managed to set up a website using Amazon's build of CentOS, PHP and Postgres 9.1. I'd done an initdb on /pgdata which was mounted on an Amazon ...
2
votes
1answer
385 views

Puppet package installation on Linux/CentOS

I am new to Puppet - I have been playing around learning the basics. Most of the examples ( except the very basic ones ) that are on the puppet page do not work for me - either some dependency is ...
2
votes
3answers
4k views

Install xdebug for php 5.3.17 on centos 6.3 (final)

I'm really having difficulty finding out how to install xdebug for php 5.3.17 on centos 6.3. I've tried this link (for centos 5.6 admittedly) but had no luck. Can anyone point to the right RPM ...
2
votes
2answers
2k views

My yum repository able to search packages, but not able to install it in RHEL?

I set up yum from dvd. Following is the containts of my .repo file: [dvd] name=Red Hat Enterprise Linux Installation DVD baseurl=file:///media/dvd enabled=0. I'm able to search packages. However ...
2
votes
1answer
467 views

Python upgrade to 2.7.2 from 2.4.x leads to yum module missing

yum was working fine till I upgraded Python for the sake of django in my VPS. It throws exactly this error: There was a problem importing one of the Python modules required to run yum. The ...
2
votes
3answers
10k views

rhn_register through HTTP Proxy with Authentication

Is there any limitation to the proxy authentication support of rhn_register? The proxy of the network I'm on sends the follow 407: HTTP/1.1 407 Proxy Authentication Required ( The ISA Server ...
2
votes
3answers
12k views

How to fix yum install not valid release error on Centos 5

When I try to yum install anything I get: -bash-3.2# yum install strace Loading "fastestmirror" plugin Determining fastest mirrors * dag: apt.sw.be * lxlabsupdate: download.lxlabs.com * rpmforge: ...
2
votes
2answers
3k 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. ...
2
votes
1answer
2k views

CentOS yum *.rpm package changelog (not installation changelog)

I just logged into my new rented server and updated openssl because of the heartbleed-bug (http://heartbleed.com). I updated using yum list openssl ... Installed Packages openssl.x86_64 ...
2
votes
1answer
67 views

Upgrading packages over a large amount of servers

I have a large amount of CentOS servers that I need to periodically upgrade packages on. How can I combine automated upgrades but still retain control? Some of my issues with fully automated ...
2
votes
1answer
51 views

centos yum repository package security information.. how do i find it?

Is there anywhere that shows which security updates are included in the patch levels for centos yum repository package version of httpd?
2
votes
2answers
2k 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 ...
2
votes
2answers
340 views

local rpm repostry, that contains all packages installed on system

what I'm trying to is to make a USB disk with local repository / directory for offline installation (or upgrade) of Linux servers. Why !? Simple, I’m working on maintenance of huge cluster of asterisk ...
2
votes
1answer
4k 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). ...
2
votes
3answers
1k views

Install httpd-devel on CentOS 5.7 x86_64

I'm trying to install httpd-devel on my Media Temple DV 4 server. I tried this: yum install -y httpd-devel But the install fails with: --> Missing Dependency: httpd = 2.2.3-53.el5.centos.3 is ...
2
votes
2answers
204 views

Yum update info from what version, to what version

Is there some simple yum command so I can know what is current and what is future version of package for updating. I now about: yum list updates But that only prints new version of packages...