Limiting the size of /opt/local/var/db/dports/software
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It seems needlessly large. I've tried: port clean --all installed but that doesn't seem to do what I thought it did. I don't think there's any need for 3 built versions of Imagemagick for instance. Granted, its not the biggest offender in the world, but it seems like a needless waste of space. - -- J. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFFwlzHvxud+cMTf5IRAsFwAKDIZTi6ACMrxNBZ+DnNxBR62QJiugCfVWRq l5wl+Gr/eIlyEDMfY38AO/A= =WEED -----END PGP SIGNATURE-----
sudo port -f uninstall inactive To prevent having inactive versions of ports in the future, pass the - u switch when upgrading. This will force it to uninstall the old version before activating the new (remember to pass -f as well, or it may fail at the uninstalling of the old version due to dependencies; I believe you need -n as well at this point, or the -f will make it try and upgrade all dependencies whether or not they need it) On Feb 1, 2007, at 4:33 PM, Jason Stelzer wrote:
It seems needlessly large. I've tried: port clean --all installed
but that doesn't seem to do what I thought it did. I don't think there's any need for 3 built versions of Imagemagick for instance.
Granted, its not the biggest offender in the world, but it seems like a needless waste of space.
-- Kevin Ballard http://kevin.sb.org eridius@macports.org http://www.tildesoft.com
So to upgrade outdated items, is the command ... ? sudo port -u -f upgrade outdated Mark -- At 16:49 -0500 1/2/07, Kevin Ballard wrote:
sudo port -f uninstall inactive
To prevent having inactive versions of ports in the future, pass the -u switch when upgrading. This will force it to uninstall the old version before activating the new (remember to pass -f as well, or it may fail at the uninstalling of the old version due to dependencies; I believe you need -n as well at this point, or the -f will make it try and upgrade all dependencies whether or not they need it)
On Feb 1, 2007, at 4:33 PM, Jason Stelzer wrote:
It seems needlessly large. I've tried:
port clean --all installed
but that doesn't seem to do what I thought it did. I don't think there's any need for 3 built versions of Imagemagick for instance.
Granted, its not the biggest offender in the world, but it seems like a needless waste of space.
-- Kevin Ballard
Yes, although again you may want to put the -n switch in there to prevent attempted upgrading of dependencies that are not outdated. On Feb 1, 2007, at 5:34 PM, Mark Hattam wrote:
So to upgrade outdated items, is the command ... ?
sudo port -u -f upgrade outdated
-- Kevin Ballard http://kevin.sb.org eridius@macports.org http://www.tildesoft.com
participants (3)
-
Jason Stelzer
-
Kevin Ballard
-
Mark Hattam