[MacPorts] #70680: sudo @1.9.16 -- sudo: port: command not found

MacPorts noreply at macports.org
Tue Sep 3 14:34:37 UTC 2024


#70680: sudo @1.9.16 -- sudo: port: command not found
---------------------+--------------------
  Reporter:  RobK88  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.10.1
Resolution:          |   Keywords:
      Port:  port    |
---------------------+--------------------

Comment (by Schamschula):

 So, it seems, we have a path issue! When I'm running {{{sudo bash}}}, I
 get

 {{{
 bash-5.2# echo $PATH
 /opt/local/bin:/opt/local/sbin:/Users/marius/Development/MacPorts/ports/bin:/Users/marius/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
 }}}

 Note: I'm running MacPorts {{{bash}}}, rather than the ancient version in
 macOS.

-- 
Ticket URL: <https://trac.macports.org/ticket/70680#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list