On Wed, 14 Feb 2001, Xin Zhao wrote:

> Hi,
>
> I tried to install a package from rpm file, but failed like this:
>
> [root] rpm -i packagename.i386.rpm
> error: failed dependencies:
>       /usr/local/bin/perl is needed by packagename
> [root]# which perl
> /usr/local/bin/perl
>
> There is a perl in /usr/local/bin, what does this message mean then?
>
In this case, it means the package was build wrong.  RPM only know about
files that were installed using RPM.  Perl is normaly installed in
/usr/bin on a Red Hat system.  This is where the perl RPM puts it.  What
happens on some packages is that there will be a refernce to
/usr/local/perl in one or more scripts files, so RPM thinks it needs
/usr/local/perl.  But because the Perl RPM puts it in /usr/bin, it
doesn't find it.  Your best be is to use the --force option to install
the RPM.  This is one case where that is safe.
>
> The rpm is made under redhat 6.0, I think, and I am trying to install it
> under redhat 7.0 OS, will this be the problem?
>
> Thanks,
>
> Xin
>
Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to