#64951 closed defect (worksforme)
Error: Unable to open port: wrong # args: no script following
Reported by: | carolinestraatman | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | mascguy (Christopher Nielsen) | |
Port: |
Description (last modified by carolinestraatman)
I get this error while running the command sudo port -f clean --all all
It occurs for an unknown port:
---> Cleaning git-sizer ---> Cleaning git-sweep_select ---> Cleaning git-toolbelt ---> Cleaning git-tools ---> Cleaning git-town Error: Unable to open port: wrong # args: no script following " dist_subdir ${PortInfo(name)} " argument
This looks like #59043, except that the port is not known here.
I've tried to find out for which port the error occurs, by looking for lists of installed ports. E.g.,
port installed
port echo leaves
such that I would know what comes after git-town. However the git-* ports do not get listed anywhere.
In addition, I have no clue where to find a potential log file for my problem. What could be a possible next step?
Change History (5)
comment:1 Changed 3 years ago by carolinestraatman
Description: | modified (diff) |
---|
comment:2 follow-up: 3 Changed 3 years ago by reneeotten (Renee Otten)
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
Replying to reneeotten:
I think this should be fixed already and was likely caused by a change in a PortGroup, nothing specific to this port. Please do
sudo port selfupdate
to get the latest ports tree and try again.
Agreed. For anyone interested, this was specifically fixed via commit:
https://github.com/macports/macports-ports/commit/ad2d0931947815820c81c23d86580d90fd144094
comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
I think this should be fixed already and was likely caused by a change in a PortGroup, nothing specific to this port. Please do
sudo port selfupdate
to get the latest ports tree and try again.