[BlueOnyx:09007] Re: Yum update problem

Chris Heiner cheiner at networkdesignsinc.com
Tue Nov 8 12:38:06 -05 2011


As usual Michael your advise work perfect...

Yum is back on track now without a rebuild.

Thanks!

Chris Heiner
Network Designs, Inc.

-----Original Message-----
From: blueonyx-bounces at mail.blueonyx.it
[mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of Michael Stauber
Sent: Sunday, November 06, 2011 4:10 PM
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:08984] Re: Yum update problem

Hi Chris,

> I think it's from a PHP upgrade mistake to install the new Wordpress,
we
> may have caused an issue with yum from it.
> 
> Can we recover from it?

Should be possible. But it requires a few steps:

1.) Remove the "atomic" YUM repository from /etc/yum.repos.d/

2.) Find out which RPMs came aboard via the "atomic" YUM repository. 
/var/log/yum.log may shed some light on this, although it doesn't really
log 
which RPMs ame from which repository. It still may give you some clues
which 
RPMs were installed since you activated the atomic repository that nuked
your 
box.

3.) Force the removal of all RPMs that came from the atomic YUM
repository. In 
your case it seems like it's mostly PHP related RPMs. So a good start
would be 
this:

rpm -qa|grep ^php

That returns a list of installed RPMs whose name starts with "php". 

Remove them all like this:

rpm -e --nodeps name-of-rpm 

Take notes which RPMs you remove. 

4.) Reinstall the removed RPMs via YUM:

yum install name-of-rpm

Please note: When you remove the RPMs, you may specify version numbers,
too. 
But when you do a "yum install", you leave the version number away. YUM
will 
automatically fetch the latest version anyway.

Once all is done, you can try a "yum update" again and see if that now
goes 
through, or if it still runs into conflicts.

-- 
With best regards

Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


----------------------------------------------
Gateway Anti-Spam Anti-Virus Protection by 
   Network Designs Inc. 949-727-3393 
 For a complete list of services go to 
       www.networkdesignsinc.com 
----------------------------------------------




More information about the Blueonyx mailing list