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. |
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.
|
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. |
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? |
Try just updating to openldap-2.2.13-2
Use the #rpm -Uvh openldap-2.2.13-2.i386.rpm U - update v-verbose |
coudl try throwing an f in there to force it.
|
Its a no no, try installing without the force "f" option , as some of the software will stop working[broken dependencies].
|
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. |
All times are GMT -5. The time now is 03:13 AM. |