#39113 closed defect (invalid)
'port -f clean --all all' aborts with unintelligible error
Reported by: | istlota@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: |
Description (last modified by larryv (Lawrence Velázquez))
I run 'port -f clean --all all' about once a week as part of my regular routine maintenance tasks. When I ran it today, it aborted after the cleaning drush msg:
---> Cleaning druntime ---> Cleaning drupal5 ---> Cleaning drupal6 ---> Cleaning drupal7 ---> Cleaning drush Error: Unable to open port: invalid command name "}|̂}|oHoVcc¤´p"
I tried twice and got the same unintelligible error each time. Running port rev-upgrade reports no broken files found.
Attachments (1)
Change History (6)
Changed 12 years ago by istlota@…
Attachment: | 051713 port clean error added |
---|
comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)
Description: | modified (diff) |
---|
I don’t see anything wrong with the portfile. Perhaps yours has been corrupted somehow. Try this:
% sudo rm $(port file drush) % sudo port selfupdate % sudo port clean --all all
comment:2 follow-up: 3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
According to the output, drush was successfully cleaned; it would be the port after drush: drwright. Does the problem always happen at the same port? Are the flags -f
and --all
necessary to reproduce the problem? Does just sudo port clean drwright
produce the same error?
comment:3 follow-up: 4 Changed 12 years ago by istlota@…
Replying to ryandesign@…:
According to the output, drush was successfully cleaned; it would be the port after drush: drwright. Does the problem always happen at the same port? Are the flags
-f
and--all
necessary to reproduce the problem? Does justsudo port clean drwright
produce the same error?
Thanks. 'sudo port clean drwright' fixed the problem. For future reference, where can I find a list of ports in the order that 'port clean' cleans them?
comment:4 Changed 12 years ago by larryv (Lawrence Velázquez)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Replying to istlota@…:
For future reference, where can I find a list of ports in the order that 'port clean' cleans them?
% port echo all
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
MacPorts cleans ports in the order you specify; since you specified the pseudoport "all", that's the order it'll use.
scrollback buffer from terminal session