Opened 5 years ago
Last modified 5 years ago
#59836 new enhancement
Impossible to upgrade my ports with error not giving any clue to search why... — at Initial Version
Reported by: | manulcaux | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: |
Description
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 ??