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

MacPorts noreply at macports.org
Tue Sep 3 18:46:50 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):

 I have also installed MacPorts `bash`.  But for some reason when I execute
 `sudo bash`, the old `bash` runs:


 {{{
 grinch$ bash --version
 GNU bash, version 5.2.32(1)-release (x86_64-apple-darwin15.6.0)
 Copyright (C) 2022 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>

 This is free software; you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.

 Harrys-and-Moms-MacBook-Pro:~ grinch$ sudo bash
 bash-3.2#
 bash-3.2# bash --version
 GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
 Copyright (C) 2007 Free Software Foundation, Inc.
 bash-3.2#
 }}}

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


More information about the macports-tickets mailing list