FG
💻 Software

How to uninstall all unused versions of a macports package at once

Fresh5 days ago
Mar 15, 202624503 views
Confidence Score0%
0%

Problem

When maintaining macports packages, I prefer to remove old packages when I replace them with new ones. However, over time as packages are upgraded, you end up with problems like: Is there a macports command to remove all versions of a package at once?

Error Output

$ sudo port uninstall -f postgresql83
--->  The following versions of postgresql83 are currently installed:
--->    postgresql83 @8.3.3_0
--->    pos…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to uninstall all unused versions of a macports package at once

Low Risk

This will remove your inactive ports.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment