LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-04-2012, 08:55 PM   #1
zcmsgk
LQ Newbie
 
Registered: Jan 2011
Location: Hefei, China
Distribution: CentOS 6
Posts: 7

Rep: Reputation: 1
yum error for in centos6.0


# yum clean all
Loaded plugins: fastestmirror, refresh-packagekit
Cleaning up Everything
Cleaning up list of fastest mirrors

# yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel lib png libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel g libc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-server s



Transaction Summary
==================================================================================================== ==============================================================================
Install 4 Package(s)
Upgrade 13 Package(s)

Total size: 5.3 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
file /etc/openldap/ldap.conf from install of openldap-2.4.23-20.el6.x86_64 conflicts with file from package openldap-2.4.19-15.el6.i686
file /usr/share/man/man5/ldap.conf.5.gz from install of openldap-2.4.23-20.el6.x86_64 conflicts with file from package openldap-2.4.19-15.el6.i686
file /usr/share/man/man5/ldif.5.gz from install of openldap-2.4.23-20.el6.x86_64 conflicts with file from package openldap-2.4.19-15.el6.i686

Error Summary
-------------
 
Old 04-04-2012, 10:29 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Maybe you should remove the 32bit version of openldap (openldap-2.4.19-15.el6.i686) and then try again.
 
Old 04-04-2012, 10:45 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 12,696

Rep: Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687
first you really do not want to manually do that LONG list
use a groupinstall

Code:
su -
yum groupinstall "Development Tools" "Development Libraries"
that will install what is needed


long lists like what you posted will most of the time cause conflicts
It is best to avoid doing that .

Also GET OUT OF THE HABIT NOW before you DO make a habit out of it
DO NOT use the "-y" option unless you ARE 100% SURE of 100% of what is going to happen

that "yes to all" is VERY powerful and you can NOT stop it once it starts


also what repos are installed
some are INCOMPATIBLE with others
http://wiki.centos.org/AdditionalResources/Repositories

install AND configure yum-Priorities plugin
and heed ALL warnings


the error is a conflict between the 32 bit AND 64 bit versions and ALSO different versions of "openldap"

uninstall the old version that is the 32 bit and install the newer 64 bit

su -
yum remove openldap-2.4.19-15.el6.i686[/code]
pay VERY close attention to the output to see if 1/2 of the OS wants to come with it
if not then hit "y" for yes
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 11:25 AM
CRITICAL:yum.cli Config Error yum.conf in RHEL 6.0 chunrima Linux - Software 2 12-09-2010 06:19 PM
Yum not working at all due to /usr/bin/yum syntax error aheusdens Linux - General 1 04-09-2010 04:15 PM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 02:03 AM


All times are GMT -5. The time now is 12:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration