How to get RPM Dependencies/libs

Hi All,
I wanted to install an rpm package on two suse 10 systems. It installed successfully on one system but on the other it throws an error like

error: Failed dependencies:
        rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by linuxProj-1-1.noarch

Now this means that rpnm package has no error but the rpm in itself is lacking some libs. So can anyone tell me that how can I download and add these libs to the already installed rpm.

Note the difference between rpm and rpm package.

It's not lacking libs, it's on a newer update state than the other system (note the "less than" requirement).

1 Like

So can you tell me how to avoid this? Because I will be packaging rpm on one system and will be going to install it on many others. Being a package manager I dont know if my rpm is older than the others or not.

I'm not quite sure (been a while), but the best bet would be to create the package on a system that has an older patch level than the others. That way you can avoid creating RPMs that depend on features that not all systems might have.

I usually did all my packaging in a VM that was deliberately left on the original release version of a distribution.

try to setup the yum repo on ur suse box
then try read below pages for config yum on ur local
-[Howto] Setting up yum on SUSE LINUX 10.0 – /home/liquidat