[MacPorts] #59836: Impossible to upgrade my ports with error not giving any clue to search why...

MacPorts noreply at macports.org
Thu Dec 12 14:32:45 UTC 2019


#59836: Impossible to upgrade my ports with error not giving any clue to search
why...
-----------------------+--------------------
 Reporter:  manulcaux  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.2
 Keywords:  upgrade    |       Port:  all
-----------------------+--------------------
 I just wanted to keep my port installation up to date and operate as
 usual, i.e. first update MacPorts and then upgrade outdated ports.

 Here is the messages I got :

 [Emmanuels:/Applications/cassis5.1last] caux% sudo port selfupdate
 Password:
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.6.2 installed,
 MacPorts base version 2.6.2 downloaded.
 --->  Updating the ports tree
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 [Emmanuels:/Applications/cassis5.1last] caux% port upgrade outdated
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 [Emmanuels:/Applications/cassis5.1last] caux%

 In fact, it works if I type
 sudo  port upgrade outdated

 this should be made clear that sudo is mandatory, first in the output
 message given after the selupdate, and second in the error message sent if
 the user forgot to use sudo !

 And why the sudo is not taken by default when I used it a few second
 before launching sudo port self update ??

-- 
Ticket URL: <https://trac.macports.org/ticket/59836>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list