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

MacPorts noreply at macports.org
Tue Sep 3 14:19:14 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):

 Here is more info:

 {{{

 bash-3.2# cat /etc/profile
 # System-wide .profile for sh(1)

 if [ -x /usr/libexec/path_helper ]; then
         eval `/usr/libexec/path_helper -s`
 fi

 if [ "${BASH-no}" != "no" ]; then
         [ -r /etc/bashrc ] && . /etc/bashrc
 fi
 bash-3.2#


 bash-3.2# cat ~/.bash_profile
 cat: /Users/grinch/.bash_profile: No such file or directory

 bash-3.2# cat ~/.profile

 # MacPorts Installer addition on 2024-08-19_at_18:46:59: adding an
 appropriate PATH variable for use with MacPorts.
 export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
 # Finished adapting your PATH environment variable for use with MacPorts.

 bash-3.2#
 }}}

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


More information about the macports-tickets mailing list