How to cleanup a MacPorts install?
Hi List, I have many old and inactive, but installed Ports on my system. My question is twofold: (1) How do I get rid of these old Ports fully to recover the disk space they use? (2) How do I make sure that whenever I do an upgrade, the old versions are really uninstalled? THanks in advance, Markus
On Apr 8, 2007, at 10:50 PM, Markus Weimer wrote:
Hi List,
I have many old and inactive, but installed Ports on my system. My question is twofold:
(1) How do I get rid of these old Ports fully to recover the disk space they use?
port -u uninstall
(2) How do I make sure that whenever I do an upgrade, the old versions are really uninstalled?
Run the above command after upgrading (possibly using a script).
On Apr 9, 2007, at 01:02, Bob Nielsen wrote:
I have many old and inactive, but installed Ports on my system. My question is twofold:
(1) How do I get rid of these old Ports fully to recover the disk space they use?
port -u uninstall
(2) How do I make sure that whenever I do an upgrade, the old versions are really uninstalled?
Run the above command after upgrading (possibly using a script).
Or simply port -u upgrade foo when upgrading a port. This will uninstall the old version just before installing the new one.
participants (3)
-
Bob Nielsen
-
Markus Weimer
-
Ryan Schmidt