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

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

 Please note that everything works again once I uninstall MacPorts `sudo`.
 I do think there is a bug with the `sudo` port at least when one is
 running El Capitan:


 {{{
 grinch$ echo $PATH
 /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin

 grinch$ port version
 Version: 2.10.1

 grinch$ sudo port version
 Version: 2.10.1

 Harrys-and-Moms-MacBook-Pro:~ 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$ bash
 bash-5.2$
 bash-5.2$ 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.
 bash-5.2$
 }}}

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


More information about the macports-tickets mailing list