Opened 5 years ago
Closed 4 years ago
#59450 closed defect (worksforme)
Command "sudo port upgrade outdated fails"
Reported by: | gjmata | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | |
Keywords: | Cc: | jmroot (Joshua Root) | |
Port: |
Description (last modified by mf2k (Frank Schima))
~: sudo port selfupdate ---> Updating MacPorts base sources using rsync When I do a selfupdate it appears to be successful: MacPorts base version 2.5.4 installed, MacPorts base version 2.6.2 downloaded. ---> Updating the ports tree ---> MacPorts base is outdated, installing new version 2.6.2 Installing new MacPorts release in /opt/local as root:admin; permissions 0755
But I cannot upgrade outdated ports:
~: sudo port upgrade outdated Password: Error: Unable to open port: can't set "compiler.blacklist": invalid command name "compiler.command_line_tools_version" Error: Follow https://guide.macports.org/#project.tickets to report a bug.
I have repeated this several times, and I always get the same messages.
Change History (6)
comment:1 Changed 5 years ago by EJFielding (Eric Fielding)
comment:2 Changed 5 years ago by mf2k (Frank Schima)
Component: | ports → base |
---|
comment:4 Changed 5 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:5 Changed 5 years ago by jmroot (Joshua Root)
Cc: | jmroot added |
---|
Use sudo port -v selfupdate
to get verbose output and see what is actually happening.
comment:6 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing due to lack of response. If the problem still occurs, please reopen and provide the information Josh requested. Thanks.
Note: See
TracTickets for help on using
tickets.
I had a similar problem last week. I found out it was because my Xcode installation had been updated, and I needed to accept the Xcode license. The port selfupdate system does not provide an error message to tell you what happened.