update errors CentOS 6

keith smith klsmith2020 at yahoo.com
Wed May 8 14:24:24 MST 2013


Thank you very, very much!!

------------------------

Keith Smith

--- On Wed, 5/8/13, Lisa Kachold <lisakachold at obnosis.com> wrote:

From: Lisa Kachold <lisakachold at obnosis.com>
Subject: Re: update errors CentOS 6
To: "Main PLUG discussion list" <plug-discuss at lists.phxlinux.org>
Date: Wednesday, May 8, 2013, 2:23 PM

Keith,

On Wed, May 8, 2013 at 1:01 PM, keith smith <klsmith2020 at yahoo.com> wrote:



Hi,

I have a dev box that I configured in Dec 2011 - about 17 months ago.  I have not updated it.

It is CentOS Linux release 6.0 (Final)



I issued "yum update: and I get :

Error: Package: python-mako-0.3.5-1.el5.rf.noarch (rpmforge)
           Requires: python(abi) = 2.4
           Removing: python-2.6.5-3.el6_0.2.x86_64 (@updates)


               python(abi) = 2.6
           Updated By: python-2.6.6-36.el6.x86_64 (base)
               python(abi) = 2.6
Error: Package: python-genshi-0.6-2.el5.rf.noarch
 (rpmforge)
           Requires: python(abi) = 2.4
           Removing: python-2.6.5-3.el6_0.2.x86_64 (@updates)
               python(abi) = 2.6
           Updated By: python-2.6.6-36.el6.x86_64 (base)
               python(abi) = 2.6


Error: Package: python-netaddr-0.7.10-1.el5.rf.noarch (rpmforge)
           Requires: python(abi) = 2.4
           Removing: python-2.6.5-3.el6_0.2.x86_64 (@updates)
               python(abi) =
 2.6
           Updated By: python-2.6.6-36.el6.x86_64 (base)
               python(abi) = 2.6
Error: Package: python-pygments-1.4-1.el5.rf.noarch (rpmforge)
           Requires: python(abi) = 2.4
           Removing: python-2.6.5-3.el6_0.2.x86_64 (@updates)


               python(abi) = 2.6
           Updated By: python-2.6.6-36.el6.x86_64 (base)
               python(abi) = 2.6
Error: Package: python-krbv-1.0.13-2.el5.rf.x86_64 (rpmforge)
           Requires: python(abi) =
 2.4
           Removing: python-2.6.5-3.el6_0.2.x86_64 (@updates)
               python(abi) = 2.6
           Updated By: python-2.6.6-36.el6.x86_64 (base)
               python(abi) = 2.6
Error: Package: python-paramiko-1.7.6-1.el5.rf.noarch (rpmforge)


           Requires: python(abi) = 2.4
           Removing: python-2.6.5-3.el6_0.2.x86_64 (@updates)
               python(abi) = 2.6
           Updated By: python-2.6.6-36.el6.x86_64
 (base)
               python(abi) = 2.6
Error: Package: python-markupsafe-0.11-1.el5.rf.x86_64 (rpmforge)
           Requires: python(abi) = 2.4
           Removing: python-2.6.5-3.el6_0.2.x86_64 (@updates)


               python(abi) = 2.6
           Updated By: python-2.6.6-36.el6.x86_64 (base)
               python(abi) = 2.6
Error: Package: python-beaker-1.5.3-1.el5.rf.noarch (rpmforge)
           Requires: python(abi) = 2.4


           Removing:
 python-2.6.5-3.el6_0.2.x86_64 (@updates)
               python(abi) = 2.6
           Updated By: python-2.6.6-36.el6.x86_64 (base)
               python(abi) = 2.6
Error: Package: python-babel-0.9.5-1.el5.rf.noarch (rpmforge)


           Requires: python(abi) = 2.4
           Removing: python-2.6.5-3.el6_0.2.x86_64 (@updates)
               python(abi) = 2.6
           Updated By: python-2.6.6-36.el6.x86_64 (base)
               python(abi) = 2.6


Error:
 Package: mod_wsgi-3.4-1.el5.rf.x86_64 (rpmforge)
           Requires: libpython2.4.so.1.0()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest



Did you have to install or lock any packages in order to install a specific package or build?Each package requires it's own minimum version of python, that needs to match your distro version and bus type (64 bit / 32 bit).  So if the requirement is for Python 2.4 and your system has been updated to 2.6 under most circumstances your packages will be fine.  However, there exist packages that can't be updated due to interdependence.  

 If I skip updating Python is that going to cause me problems?


Yes, python will need to be updated.
These errors indicate that package management is attempting to install the el5 version of packages rather than the correct distro.




Solution:  Reinstall RPMFORGE

# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

# yum clean all# yum update


Thanks!!
If you have the ability to boot into Knoppix and dd the full system to an external USB or SAN, I would recommend doing so before the updates, should you have a great deal of configuration completed and important systems/services.

http://paulski.com/zpages.php?id=1912


Keith

-- 
We will have a full duplex lab with excellent SQL Injection Presentation from David Demland (Educator) and Ruben (aka The MAN) and Scott Becerra (Security Professionals) followed with a full exploit fest/lab this weekend.  As always we follow up the fun with example solutions and tool use training.  Get the first flag and Take HOME a Prize.  Come and snag a Hackfest Tee Shirt, or other item.   Come join your favorite clowners at PLUG Hackfest this Saturday - DeVry University 11:00 AM to 2:00 PM.


Other services available include DefCon Video loan (last 3 years of DefCon commercial videos), Community Outreach for education (Demonstrations, Tag Team/Pentesting), Small Business forensics from the Interns and Students with the assistance of one of our mentors on a sliding fee scale (pro bono), or reduced rates and of course consultation services and assistance from the extensive experience of our community members. 

Come learn the power of linux as a powerful security tool.  Come realize our mission to drag professionals kicking and screaming from the Security Matrix.  Watch,  as we break down the incorrect assumptions via demonstration,  educate students on the use of linux based pentesting tools, assist hobbyists to securely and safely negotiate insecure networks at college, coffee shops and our neighborhoods, and finally learn from "frontline" professionals on the Cyber War frontiers.   


(503) 754-4452 Android
(623) 239-3392 Skype
(623) 688-3392 Google Voice

**
it-clowns.com 
Chief Clown

















-----Inline Attachment Follows-----

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20130508/e91f5188/attachment.html>


More information about the PLUG-discuss mailing list