PATH=/usr/local/bin:/bin:/usr/bin considered harmful

Andrew Haley aph at
Fri Jun 22 11:07:49 UTC 2012

On 06/22/2012 11:44 AM, Sam Varshavchik wrote:
> Andrew Haley writes:
>> On 06/22/2012 04:15 AM, Sam Varshavchik wrote:
>>> The new perl package contains /usr/bin/perl. At upgrade, dependency
>>> resolution is not smart enough to realize that the new package's
>>> /bin/perl=/usr/bin/perl, causing a conflict.
>> What exactly is the conflict?
> See the error from yum/rpm, that I posted.

Oh, sorry, I tend to interpret "conflict" as meaning a conflict with
another file, not a missing dependency.

It seems to me that yum/rpm should know what package provides
/bin/perl.  This surelay makes vastly more sense than changig default
paths, which is just papering over the cracks.


More information about the devel mailing list