Problems installing ports

Bradley Giesbrecht brad at
Wed Apr 21 09:10:45 PDT 2010

On Apr 21, 2010, at 8:50 AM, Jason DeBacker wrote:

> /usr/bin/sed is a standard part of Mac OS X. I don't know how it was
> deleted on your system, but you'll need to get it back.
> This usually means that your /usr/bin/uname command (also a standard
> part of OS X) is missing or malfunctioning.
> Do I need to completely reinstall OS X to get this back?
> Jason

If I were you and I didn't understand why /usr/bin/sed and /usr/bin/ 
uname I would start by trying to understand why they disappeared if  
they ever existed.

You may have a failing disk. Run Disk Utilities to verify your disk.

Something you did may have deleted them and unless you know you may  
repeat the action.

If you have access to a mac machine of the same arch you should be  
able to copy the missing files into place. But if sed and uname are  
missing what else may be missing.

What is the output of:

file /usr/bin/uname
file /usr/bin/sed

// Brad

More information about the macports-users mailing list