How can I clean up my MacPorts installation?
Problem
Which command should I run to delete all old port versions delete downloaded files temp files created during build all other stuff which I don't need when I am sure that updated version works fine I got a suggestion to use but it tries to clean ports I don't have, though I tried but it did not delete old inactive versions, then but it got stuck saying that (which is active) depends on (which is inactive).
Error Output
port clean --all all
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How can I clean up my MacPorts installation?
The suggestions you received cover what you're after: If you can't wait for the clean one to run in the background, there are a few commands you can run manually and faster. Remove leftover build files (this is done automatically by default): Remove download files: Remove archives (these aren't created by default):
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix