Operating System - Linux
1821801 Members
3060 Online
109637 Solutions
New Discussion юеВ

How to get RMP Dependencies/libs

 
dirshah
Occasional Contributor

How to get RMP 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.
2 REPLIES 2
Ralph Grothe
Honored Contributor

Re: How to get RMP Dependencies/libs

I don't know the package manager in SUSE.
Is it zipster?
On an RPM/RedHat based distro you would usually configure yum and let it install and resolve all dependencies automatically for you.
On RHEL and Fedora for instance, in /etc/yum.repo.d/ you would place config files for known RPM repositories, either on the Internet or from a local repo server on your intranet.
Many RPM Repos (like EPEL or RPM Fusion) offer special RPM packages that contain readily configured yum config files for their repo.
You can find out what prerequisites a given RPM has by issueing

rpm -qpR /path/to/some-package.rpm

If you know what you are doing you can even force the install even though such dependencies have not been fulfilled by

rpm -ihv --nodeps /path/to/some-package.rpm

but be careful, because the RPM packager usually has placed their dependencies for good reasons in their spec file.
Madness, thy name is system administration
Michael Leu
Honored Contributor

Re: How to get RMP Dependencies/libs

A quick websearch says your distribution might be too old:
http://forums.opensuse.org/english/get-technical-help-here/applications/415573-rpmlib-payloadislzma-4-4-2-1-a.html#post1993483

(Ralph, it's called zypper ;-)