Port Selfupdate failed - Mountain Lion OS X

vignesh babu jvigneshbabu at gmail.com
Sat Aug 30 14:13:00 PDT 2014


Is there a way to replace only the sh ? just in case if I can avoid the
reinstall...


On Sun, Aug 31, 2014 at 2:32 AM, Brandon Allbery <allbery.b at gmail.com>
wrote:

> You have a problem.
>
> That /bin/sh appears to not be a shell at all, but gcc (based on the error
> messages). I'm not even sure how that system is still *running*. Depending
> on what else got replaced with unexpected things, you may be looking at an
> OS reinstall.
>
> On Sat, Aug 30, 2014 at 4:54 PM, vignesh babu <jvigneshbabu at gmail.com>
> wrote:
>
>> Apples-MacBook-Pro:/ apple$ type sh
>> sh is hashed (/bin/sh)
>>
>>
>> On Sun, Aug 31, 2014 at 2:22 AM, Brandon Allbery <allbery.b at gmail.com>
>> wrote:
>>
>>> On Sat, Aug 30, 2014 at 4:47 PM, vignesh babu <jvigneshbabu at gmail.com>
>>> wrote:
>>>
>>>> Apples-MacBook-Pro:/ apple$ sh -c '/bin/echo -n "$IFS" | hexdump'
>>>> sh: error: /bin/echo -n "$IFS" | hexdump: No such file or directory
>>>>
>>>
>>> *facepalm*
>>>
>>> What does "type sh" say? Because that's not Apple's /bin/sh.
>>>
>>>
>>> --
>>> brandon s allbery kf8nh                               sine nomine
>>> associates
>>> allbery.b at gmail.com
>>> ballbery at sinenomine.net
>>> unix, openafs, kerberos, infrastructure, xmonad
>>> http://sinenomine.net
>>>
>>
>>
>
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140831/81a53caf/attachment.html>


More information about the macports-users mailing list