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

learn more… | top users | synonyms

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

Can't install PHP and MySQL on CentOS 5 64 Bits

I'm getting the following error when trying to install PHP and MySQL form the atomicorp.com repository: [root@x171 ~]# yum -y install mysql-libs php php-gd gd mysql mysql-server mysql-devel ...
0
votes
2answers
23k views

How to install gedit using yum

I'm trying to install gedit on an Amazon EC2 instance running Redhat 4.4.4-13. I thought it would be as easy as sudo yum install gedit But that just gives me: Loaded plugins: fastestmirror, ...
1
vote
5answers
16k views

Centos 6 yum update - Packages skipped because of dependency problems

I'm trying to keep my offsite backup server up to date so I've run an update and I'm getting dependency issues. I haven't got a clue how to continue. Below is the output from from YUM. ...
8
votes
3answers
25k views

Upgrade cURL to latest on CentOS

I need to upgrade cURL to the latest version on Centos 2.6.18-164.15.1.el5.centos.plusxen #1 SMP Wed Mar 17 20:32:20 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm unable to find any suitable ...
0
votes
2answers
2k views

Enabling dBase on PHP installed on Centos

I have php 5.3.6 installed on Centos 5.5 (from iucommunity repository). Now when I want to enable dBase by yum install php-dbase, I get this error: Package php-dbase is obsoleted by php-common, ...
-1
votes
3answers
2k views

Installing PHP dependencies

While trying to install php-mysql package, I get the following error. It was working fine with php-5.1.6-27.el5 and mysql 5.0 version. After MySQL upgrade, certain PHP pages had issues and I had to ...
0
votes
1answer
186 views

EC2 CentOS 5.0 does not upgrade

Recently I grabbed some preconfigured CentOS 5.0 instance from EC2 and installed our stuff on it from rightscale. The instance was a little old, but I assumed that it would be up to date after a ...
2
votes
1answer
1k views

apt-cacher/approx equivalent for Centos [duplicate]

I am looking at setting up several Centos machines in my network and would like to have them update from a centralised server on the network. I am hoping to save bandwidth by not having to update each ...
26
votes
3answers
29k views

How to install libpq-dev on Centos 5.5

In order to develop one web application based on postgresql, i need to install libpq on my centos. I can install it by "apt-get install libpq-dev" on ubuntu, but i can not install it on centos by ...
1
vote
1answer
142 views

Cent OS. Removed yum packages with apt-get. Server at work is down

I ran: sudo apt-get --fix-broken install and ended up removing: MySQL-client (5.0.92-0.glibc23) MySQL-server (5.0.92-0.glibc23) bandmin (1.6.1-1_newinit) exim (4.69-30_cpanel_maildir) mdadm ...
1
vote
2answers
554 views

Backup all Yum repos and packages on CentOS 5 server?

I'm spinning up a new CentOS 5 server and to save some time I'd like to use the same repos and packages as installed on another CentOS 5 server. Is anyone aware of a systematic or best practice method ...
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
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 ...
0
votes
2answers
493 views

CentOS/yum - Upgrading php 5.1 -> 5.3 without upgrading mysql 5.0 -> 5.1

I'm attempting to upgrade php from the centos default of 5.1.6 to 5.3.8 out of the Atomic repo, but when doing so, yum wants mysql to upgrade from 5.0 to 5.1, saying that php-mysql-5.3.8-1.el5 is ...
1
vote
4answers
8k views

How do I remove a repository of yum

When I search for a package in yum(centos 6), it tries to search in a repro named 'c6-media' And it gives a bunch of errors as follows file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not ...
2
votes
2answers
323 views

Disabling Yum's PostInst RestoreCon Action

When I update the package "selinux-policy-targeted" on a Fedora 15 box, as part of yum's post-inst action, a restorecon of the entire disk is called to change the on-disk selinux contexts to match the ...
2
votes
3answers
10k views

CentOS 5.7 - Cannot retrieve repository metadata

I got this strange error today and I'm not able to fix it: root@server# yum -y update Loaded plugins: allowdowngrade YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. ...
2
votes
3answers
2k 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 ...
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?
29
votes
3answers
29k views

What does that mean: packages excluded due to repository priority protections

When updating with yum i recieve the following message: yum update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * atomic: www7.atomicorp.com * base: ...
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
3answers
16k 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 ...
1
vote
1answer
322 views

Centos: Package Managed Sun JRE

Is there no yum repository with Sun's JRE available (don't really need the JDK)? From looking around everyone simply recommends manually downloading and installing the binary that Sun/Oracle provides. ...
1
vote
2answers
2k views

Can I update MySQL through YUM repository without data loss/corruption? Should I be nervous?

I do not have much experience with upgrading software on a Linux system but am of course familiar with 'yum update' commands. I am currently running a Media Temple DV 3.5 CentOS 5 server with MySQL ...
3
votes
3answers
23k views

How to clean up mysql installation on centos

mysql does not exist anymore but when i run yum remove mysql it says that the package is available but not marked for installation, i cannot install new mysql because of that, I need to completely ...
1
vote
1answer
487 views

Install/Update a package on RHEL5 from CentOSPlus repo with same package existing in RHN

I'm trying to install postfix with MySQL on RHEL5 but the repos from the rhnplugin are overriding it even if i have an exclude line in the rhnplugin.conf file My goal is to only use the CentOSPlus ...
0
votes
1answer
609 views

upgrading php extension

Since I upgraded from 5.0 version to 5.5 I am getting the following error on my PHP page. None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available. When I tried to install ...
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 ...
0
votes
2answers
984 views

Why cant Perl find my Curl library?

I created a new module using h2xs which built a module tree for me and a bunch of files. Git as far as running make test but then make failed saying it couldnt find WWW::Curl, but I had installed ...
1
vote
1answer
3k views

Installed Jetty via Yum (CentOS), but can't find start.jar to run it

<UPDATE>/etc/init.d/ doesn't appear to contain any relevant entry (retrieved via ls -A): abrtd certmonger firstboot irqbalance mysqld nscd portreserve rpcidmapd ...
0
votes
1answer
1k views

Nginx PHP mbstring

I used this tutorial to install nginx on my Centos server http://moon.mastipoint.net/research/nginx-php-fpm-mysql-on-centos.html. I have everything running, however, I can't figure out how to install ...
6
votes
2answers
15k views

yum equivalent to apt-get upgrade vs apt-get dist-upgrade?

I'm a *.deb guy and I feel quite uncomfortable while managing rpms. I'm used to run apt-get upgrade in my debian based servers for "normal" upgrades and apt-get dist-upgrade for allowing kernel ...
1
vote
3answers
2k views

yum: memory alloc (12 bytes) returned NULL

I'm trying to set up my first ever VPS on CentOS 5.6 (128 MB RAM) and was following some tutorials found online, but I've ran into a problem I can't fix. The VPS is bought from a hoster, so I can't ...
0
votes
1answer
4k views

CentOS6 and PostgreSQL-YUM, (Error: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg90. Please verify its path and try again)

I'm using CentOS 6. I need to configure my YUM to have access to the PostgreSQL repository, but I'm getting an error. I've followed this guide: ...
2
votes
1answer
7k views

Scientific linux: How to install yum using rpm?

On Scientific linux 6.0(RH like linux) I accidentally removed python, so yum removed as well.µ How to install yum with rpm? EDIT I try to install python but it is somehow looped the dependences: ...
0
votes
3answers
5k views

CentOS - Trying to downgrade php

I need to downgrade PHP 5.3 to 5.2 and I'm on a CentOS 5.5 x86_64 machine running Apache 2.2.3 & MySQL 5.1.54. I've been having some problems and now am just plain lost... Not sure exactly what ...
4
votes
2answers
17k views

How do you upgrade PHP 5.1 to PHP 5.3 using yum on CentOS

Using Yum/CentOS. The problem is that php 5.1 is already installed and running so yum update php dont work! I looked around the net for a solution but they say to do the above =/
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 ...
1
vote
1answer
12k views

CentOS yum remove postgres is not working

I am trying to remove postgres from my CentOS server completely so I could start from the beginning, I did some seriously demented stuff!!!! one of them is deleting "/etc/init.d/postgres" But then I ...
1
vote
2answers
3k views

Adding a yum repo with puppet - Error 400 on SERVER: Invalid parameter enable at curly bracket?

I'm trying to automate some tasks when receiving a new server. The first thing is adding some yum repos. My /etc/puppet/modules/repo/manifests/init.pp: 1 class repo { 2 file { ...
13
votes
3answers
5k views

Where can I find an online list of CentOS packages and their versions?

I am looking for an online list of the standard packages available for CentOS Linux. I know that if I had a CentOs system running, I could use yum to list packages. However, I am trying to evaluate ...
0
votes
2answers
218 views

Yum, OpenSSH and dedicated server over ssh

Quick question: In RHEL5.5 there is OpenSSH 4.3b2 but I really need jailed root functionality (available from 4.8b1 I think). I am working on a dedicated server over ssh. Is it safe to yum remove ...
0
votes
1answer
1k views

CentOS 5.4 No package qemu available

I'm trying to install qemu on CentOS 5.4(final) with: yum install qemu The result is: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.steadfast.net * ...
15
votes
2answers
39k views

Disable the public key check for rpm installation

I want to make a DVD with some useful packages (for example php-common). The only problem is that if I try to install on a computer that's not connected to internet, I can't validate the public key. ...
1
vote
2answers
105 views

A basic question with yum

I am trying to edit the source of a package and make it work. Thus, I didnt use yum install, I installed it from source and it is working. The package im building from source is libvirt. Now I want to ...
4
votes
1answer
131 views

Managing myriad package repositories

On testing, development, and some other server and workstation environments, I use a variety of package repositories (with CentOS, for example, these include: remi, epel, rpmforge, jpackage, and ...
0
votes
1answer
40 views

Getting PHP5 To install

It seems I am stuck with a 4yo build of PHP (PHP4.3.9 Built: 2007) and I am trying to upgrade. Right now, it's like a traffic puzzle, or a vicious cycle, whatever you want to call it. I try to upgrade ...
2
votes
1answer
2k views

Install yum packages based on regular expression

I would like to install a batch of openoffice.org-* packages from the yum repository. The catch is that I want to exclude the dozens of openoffice.org-langpack* files when I do it. I also don't want ...
0
votes
1answer
2k views

RHEL6 SRPMs Are Not Found by “yumdownloader”

I am trying to download SRPMs from redhat from what of their servers. I went through step one of initializing the repository... # cat /etc/yum.repos.d/rhel-source.repo [rhel-source] name=Red Hat ...