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

MacPorts noreply at macports.org
Tue Sep 3 13:55:33 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 RobK88):

 Hmm..  Here is another example of the problem....  Opening a new shell
 does not solve the problem.


 {{{

 grinch$ which sudo
 /opt/local/bin/sudo

 grinch$ sudo which port
 grinch$

 grinch$ bash
 bash-5.2$

 bash-5.2$ which sudo
 /opt/local/bin/sudo

 bash-5.2$ which port
 /opt/local/bin/port

 bash-5.2$ sudo which port

 bash-5.2$ sudo port
 sudo: port: command not found
 }}}

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


More information about the macports-tickets mailing list