> Date: Wed, 14 Feb 2001 11:14:54 -0600 (CST)
> From: Xin Zhao <[EMAIL PROTECTED]>
> 
> 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?
> 
> 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

1. a subject line on a high volume mailing list gives you a better
   chance of getting a response.

2. trying to install a rpm made on a different major number version
   (i.e. a RedHat 6.x rpm on a RedHat 7.x system) is asking for
   troubles due to different glibc versions.

3. are you certain it said:
   /usr/local/bin/perl is needed by packagename

   or just:
   perl is needed by packagename

4. rpm is only aware of other packages installed by rpm.  The fact
   that perl is in /usr/local/bin makes me wonder if perl was
   installed with rpm since RedHat doesn't put any files in /usr/local

5. If perl is in /usr/local/bin, you can probably get away with: 
   rpm -Uvh --nodeps package.rpm (or is it rpm -Uvh --no-deps), if
    problem #2 doesn't get you, but this ignores the dependency issues
    rpm tries to protect you from.

HTH,
Dave



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

Reply via email to