1826883 Members
3152 Online
109705 Solutions
New Discussion

Re: AutoReqProv in RPM

 
Gemini_2
Regular Advisor

AutoReqProv in RPM

Hi..I have a question regarding AutoReqProv
in RPM. The library file is on the computer, but rpm failed during the installation and complained about the dependancy.

does anyone have idea how to troubleshoot it?

I use linux 4.

thank you
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: AutoReqProv in RPM

Shalom,

Two choices:

1) fulfil its dependency. It asks for a specific libary or software which you fail to provide in this thread. Install what its asking for. Here is a little trick, in case it needs base OS software. Make a directory with all rpm's in it. cd to it. rpm -ivh --aid That will install dependencies at the same time.

2) rpm with the --force or --nodeps parameter. This is a BAD option because probably the software will not work.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vitaly Karasik_1
Honored Contributor

Re: AutoReqProv in RPM

> The library file is on the computer, but >rpm failed during the installation and >complained about the dependancy.

This is a feature, not bug :-)

RPM doesn't check if this library exists, but if there is RPM package installed which provides this library.

Rgds,
Vitaly
Gemini_2
Regular Advisor

Re: AutoReqProv in RPM

RPM doesn't check if this library exists, but if there is RPM package installed which provides this library.


##let me elaborate more, I have two rpm packages

Cots.rpm
App.rpm

App.rpm failed on the dependance check because it needs one library file from Cots.rpm.

But, Cots.rpm installed sucessfully and the needed library (a.so) is in the /usr/local/cots/lib. So, why App.rpm failed?

so, how do I fix the problem?
thank YOU

George Liu_4
Trusted Contributor

Re: AutoReqProv in RPM

I'd rather say it is a RPM problem. That problem is very disturbing especially when you install perl packages.

If you are sure the required libraries are installed, then you just installl the rpm using --nodeps.
Vitaly Karasik_1
Honored Contributor

Re: AutoReqProv in RPM

> I have two rpm packages
>Cots.rpm
>App.rpm

>App.rpm failed on the dependance check >because it needs one library file from >Cots.rpm.

>But, Cots.rpm installed sucessfully and >the needed library (a.so) is in >the /usr/local/cots/lib. So, why App.rpm >failed?

can you please send us output of
1) rpm -ql cots
2) rpm -qRp app.rpm