LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2004, 07:00 PM   #1
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Rep: Reputation: 15
rpm issue


Hi,
I didn't use Linux for a while and forgot basic stuff.

I installed Fedora 2.
Need to install LDAP.
from console connected to rpmfind.net//linux/RPM/fedora/devel/i386/openldap-2.2.13-2.i386.html
with rpm -i
Received conflicts
[root@FC2 /]# rpm -i ftp://rpmfind.net/linux/fedora/core/....13-2.i386.rpm
file /etc/openldap/ldap.conf from install of openldap-2.2.13-2 conflicts with file from package openldap-2.1.29-1
file /usr/share/man/man5/ldap.conf.5.gz from install of openldap-2.2.13-2 conflicts with file from package openldap-2.1.29-1
file /usr/share/man/man5/ldif.5.gz from install of openldap-2.2.13-2 conflicts with file from package openldap-2.1.29-1

How to fight with the conflict?

I tried to uninstall previous version:
[root@FC2 /]# rpm -e openldap*
error: package openldap* is not installed
[root@FC2 /]#

What to do?

Thanks.
Michael.
 
Old 10-29-2004, 07:14 PM   #2
cambie
Member
 
Registered: Jul 2004
Posts: 90

Rep: Reputation: 15
hmm, just a guess, but maybe rpm -qa | grep ldap to see if it really isn't installed. If it's not, perhaps the database needs rebuilt.
 
Old 10-29-2004, 07:23 PM   #3
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
This is output:
[root@FC2 /]# rpm -qa | grep ldap
openldap-2.1.29-1
nss_ldap-217-1

openldap-clients-2.1.29-1

php-ldap-4.3.8-2.1
[root@FC2 /]#

I really don't know what to do now...

Thanks.
Michael.
 
Old 10-29-2004, 08:11 PM   #4
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
I tried to trick the system:

[root@FC2 /]# up2date openldap
up2date openldap
http://fedora.redhat.com/download/up.../fedora-core-2
using mirror: http://sunsite.mff.cuni.cz/pub/fedora/2/i386/os/
http://fedora.redhat.com/download/up...s-released-fc2
using mirror: http://distro.ibiblio.org/pub/linux/...pdates/2/i386/

Fetching Obsoletes list for channel: fedora-core-2...

Fetching Obsoletes list for channel: updates-released-fc2...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------


The following packages you requested are already updated:
openldap
[root@FC2 /]# rpm -q openldap
openldap-2.1.29-1
[root@FC2 /]#

It didn't find new version.
Sure, it goes to Fedora site and I downloades ISOs a week ago.

Other ideas?
 
Old 10-29-2004, 09:02 PM   #5
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
Try just updating to openldap-2.2.13-2

Use the #rpm -Uvh openldap-2.2.13-2.i386.rpm
U - update
v-verbose
 
Old 10-29-2004, 10:12 PM   #6
cambie
Member
 
Registered: Jul 2004
Posts: 90

Rep: Reputation: 15
coudl try throwing an f in there to force it.
 
Old 10-29-2004, 10:17 PM   #7
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
Its a no no, try installing without the force "f" option , as some of the software will stop working[broken dependencies].

Last edited by UsualTuxpect; 10-29-2004 at 10:20 PM.
 
Old 10-30-2004, 07:29 AM   #8
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
Tried update:

[root@FC2 root]# rpm -Uvh ftp://rpmfind.net/linux/fedora/core/....13-2.i386.rpm Retrieving ftp://rpmfind.net/linux/fedora/core/....13-2.i386.rpm
error: Failed dependencies:
liblber.so.2 is needed by (installed) autofs-4.1.2-2
liblber.so.2 is needed by (installed) nss_ldap-217-1
liblber.so.2 is needed by (installed) sendmail-8.12.11-4.6
liblber.so.2 is needed by (installed) mod_perl-1.99_12-2.1
liblber.so.2 is needed by (installed) evolution-1.4.6-2
liblber.so.2 is needed by (installed) kdebase-3.2.2-4
liblber.so.2 is needed by (installed) libuser-0.52.5-0.FC2.1
liblber.so.2 is needed by (installed) cyrus-sasl-2.1.18-2.2
liblber.so.2 is needed by (installed) samba-common-3.0.7-2.FC2
liblber.so.2 is needed by (installed) samba-3.0.7-2.FC2
liblber.so.2 is needed by (installed) apr-util-0.9.4-14.2
liblber.so.2 is needed by (installed) httpd-2.0.51-2.7
liblber.so.2 is needed by (installed) samba-client-3.0.7-2.FC2
liblber.so.2 is needed by (installed) squid-2.5.STABLE5-4.fc2.2
liblber.so.2 is needed by (installed) php-ldap-4.3.8-2.1
libldap.so.2 is needed by (installed) autofs-4.1.2-2
libldap.so.2 is needed by (installed) gnupg-1.2.4-2.1
libldap.so.2 is needed by (installed) nss_ldap-217-1
libldap.so.2 is needed by (installed) sendmail-8.12.11-4.6
libldap.so.2 is needed by (installed) mod_perl-1.99_12-2.1
libldap.so.2 is needed by (installed) evolution-1.4.6-2
libldap.so.2 is needed by (installed) kdebase-3.2.2-4
libldap.so.2 is needed by (installed) libuser-0.52.5-0.FC2.1
libldap.so.2 is needed by (installed) cyrus-sasl-2.1.18-2.2
libldap.so.2 is needed by (installed) samba-common-3.0.7-2.FC2
libldap.so.2 is needed by (installed) samba-3.0.7-2.FC2
libldap.so.2 is needed by (installed) apr-util-0.9.4-14.2
libldap.so.2 is needed by (installed) httpd-2.0.51-2.7
libldap.so.2 is needed by (installed) samba-client-3.0.7-2.FC2
libldap.so.2 is needed by (installed) squid-2.5.STABLE5-4.fc2.2
libldap.so.2 is needed by (installed) php-ldap-4.3.8-2.1
openldap = 2.1.29-1 is needed by (installed) openldap-clients-2.1.29-1
[root@FC2 root]#

Tried to find liblber.so.2
It showed me previous version of Ldap compat-openldap-2.1.30-2 RPM for i386

Tried to update to it
[root@FC2 root]# rpm -Uvh ftp://fr2.rpmfind.net/linux/fedora/c...enldap-2.1.30-
Retrieving ftp://fr2.rpmfind.net/linux/fedora/c...enldap-2.1.30-
error: skipping ftp://fr2.rpmfind.net/linux/fedora/c...enldap-2.1.30- - transfer failed - Unknown or unexpected error

That's it ! Cannot anymore It will never finish here

Will be faster to install new SUSE and to try to solve all dependencies from GUI.
I remember year ago it was very efficient. Their updater worked fine.

Thanks guys!
Michael.
 
  


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
rpm issue smurff Linux - Enterprise 2 09-15-2005 02:57 PM
.rpm Package Issue shalin Programming 0 05-03-2004 01:34 AM
rpm dependency issue afrodocter Linux - Software 1 04-15-2004 02:58 PM
rpm dependency issue edverb Linux - Newbie 9 03-04-2003 03:20 AM
Unable to install RPM packages (a PAM issue - i think!) thebeardedladie Linux - Software 5 11-18-2002 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration