RPM & Dependencies Problems

Hello,

Newbie to this forum - not sure if I’m in the right place. If not please direct me to appropriate forum. Having trouble w/ RPMs & dependencies.

I’m attempting to install:
rpm -i openldap2-devel-2.3.32-0.27.osmosii.1.9.3.i586.rpm

because it is listed as a dependency of:
apache2-devel-2.2.10-2.8.1.i586

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 cyrus-sasl-devel is needed by openldap2-devel-2.3.32-0.27.osmosii.1.9.3.i586
ops:/usr/jlwork # rpm -i db-devel-4.2.52.5-1.i586.rpm

****** Relevant Section ******

warning: db-devel-4.2.52.5-1.i586.rpm: Header V4 DSA signature: NOKEY, key ID 1bbd5459
error: Failed dependencies:
db = 0:4.2.52.5-1 is needed by db-devel-4.2.52.5-1.i586

****** End Relevant Section ******

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):
SuSE 11.X packman.iu-bremen.de/suse/11.1/i586/vlc-debuginfo-1.0.4-0.pm.8.5.i586.rpm
or
SuSE 11.X packman.iu-bremen.de/suse/11.1/i586/python-nevow-examples-0.10.0-0.pm.1.1.i586.rpm

Many of which have even stranger Requires:
rpmlib(PayloadIsLzma) <= 4.4.2-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1

And when I search for those, pbone.net doesn’t find anything

Questions:

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

  2. 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

  3. What is the best repository for SuSE RPMs?

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

  5. Any other advice appreciated

Environment:
Suse 11.1
586 hardware
Getting RPMs from pbone.net

TIA

Sorry, no definite answer here just another Q?

the packman repository seems to be the most bountiful,

could anyone tell me why the repository doesn’t show the programs in Yast ex, playonlinux, avant-window-navigator

it doesnt seem to stay loaded??

and the one click install failed??

I would much rather see the programs in Yast, any way to make that happen,

LOVING SUSE so far bye bye ubuntu

THANKS

Packman repo applications does show in YaST, make sure repo is enabled.

What this command says in terminal, post the result here.

zypper lr

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:

Thanks to everyone who responded. robopensuse - thanks for the education, I was really stuck, will try your suggestions.

Search for your RPM’s in YaST or Webpin for Opensuse.

Also I take it you’ve used Fedora/Red Hat in the past to be installing with “rpm -i” as that’s also used in Dracut and Yum?. OpenSuse although using the rpm package management isn’t quite the same as Fedora’s.

You can also use zypper like you have been to install and remove. the commands are easy either “zypper install <package>” or “zypper in <package”. To tell the truth though YaST is by far the easiest route and will also allow you to use the .ymp “Single click” installs.

You can install the rpm’s with rpm -i or rpm -U, but they must be the right ones.

rpm’s that are not built with Build Service, or the SuSE build tool, may link against non-GM versions of libraries, or not have clean dependencies.

So the issue, is about the origin and quality of the rpm’s, but installing via repo without download, is far simpler due to automatic dependency resolution so “zypper in” or Yast->Software Manager are best.