RPM & Dependencies Problems

Odd, I’m looking with Software Manager at the 11.2 apache2 devel package and it does pull in and openldap2-devel package

Requires:
cyrus-sasl-devel
libopenssl-devel
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
libldap-2_4-2 = 2.4.17

Are you downloading rpm’s from somewhere, can’t you simply go into YaST->Software Manager and mark apache2-devel for installing?

and it fails due to a dependency, as shown:
ops:/usr/jlwork # rpm -i openldap2-devel-2.3.32-0.27.osmosii.1.9.3.i586.rpm
error: Failed dependencies:openldap2-client = 2.3.32 is needed by openldap2-devel-2.3.32-0.27.osmosii.1.9.3.i586

openldap2-client is provided in the distro, and installed on my system, even before I look at installing apache2-devel.

cant find (and don’t understand this dependency. What’s with the equal sign?) an rpm with db = 0:4.2.52.5-1
when I search on pbone.net, I get 120 hits (2 of 120 shown here):

With devel packages, they have files that relate to explicit versions of the packages they’re built with. So they must be equal.

Often an application can use library compatability, and say libfoo >= 2.0.3 with occasional blacklisting of buggy versions. libfoo >= 2.0.3 && libfoo != 3.0.0 for example.

Questions:

  1. How do I satisfy the dependency shown in “Relevent Section”?

Where are you getting your rpm’s from, why aren’t you installing with Software Manager or zypper?

  1. What’s with the equals sign in the dependency listing?
    db = 0:4.2.52.5-1 is needed by db-devel-4.2.52.5-1.i586

As explained above, a devel package is providing files specific to the runtime package.

  1. What is the best repository for SuSE RPMs?

The official download one’s are the best tested. They are likely to hold most of what you require, occasionally other repo’s can be added.

  1. I’ve been using zypper but having trouble specifying a repository. Can you provide a sample command that loads a good repository by URI?

Example usage for repo at KDE/Upgrade - openSUSE

  1. Any other advice appreciated

Try to use official repo’s if possible, and resort to rpm(1) as little as possible :slight_smile: