Jump to content
Sign in to follow this  
Blake_AE

dependancy hell

Recommended Posts

Computer - Dual 700, 5 SCSI HD Raid Array, Red Hat 9

 

Problem - Openldap-2.2.17 is currently installed. When this was installed, it broke 5 dependancies:

 

The following packages have unmet dependencies:

autofs: Depends: liblber.so.2

Depends: libldap.so.2

gnupg: Depends: libldap.so.2

libuser: Depends: liblber.so.2

Depends: libldap.so.2

nss_ldap: Depends: liblber.so.2

Depends: libldap.so.2

sendmail: Depends: liblber.so.2

Depends: libldap.so.2

 

I get the above message when I try to install ANYTHING with rpm or apt. I've tried to manually add libldap.so.2 (linked to libldap.so that I built manually from an old openldap which I did not install). Anyway, that didn't take.

 

So, I can't install anything with a package manager. I can't remove the new openldap because there are 33 packages with dependancies on the new libldap libraries including apache. It's hosting 5 live websites right now so it can't go offline.

 

Any ideas? I'm on the IRC channel as well if anyone can offer help.

 

Thanks,

Blake

Share this post


Link to post
Share on other sites

is there a reason you are using 2.2? Redhat 9 ships with 2.0.x i believe. You will NEED to use this or you get into RPM hell.

 

Now you can remove that version of ldap like

 

rpm -e --nodeps openldap

 

Then you can use apt to install that real version. You can try to build a rpm for your system if you grab like the latest fedora core3 src.rpm file and re-build it.

Share this post


Link to post
Share on other sites

Well, I came upon this system purely as troubleshooter. The previous system builder for some reason put (forced) openldap 2.2 on the system and no, I don't believe it is required unless he added some other package I'm not familiar with. That is entirely possible.

 

I do have the 2.0.27 version to install from the Fedora CD. If I use --nodeps with RPM and remove it, is it going to break the 33 packages currently listed as being dependant on it? HTTPd was among them and since the server and websites are live, I can't have them going down.

 

Thanks for the help!

 

Blake

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...