(no subject)

Chris Waterson waterson at maubi.net
Tue Jul 10 16:49:55 PDT 2007


Hi there!  I've been using macports for some time now, and one thing
that is frustrating is the fact that "port upgrade" leaves crufty old
variants behind.

I've tried:

   port -uR upgrade outdated

in the hopes that "-u" would "uninstall non-active ports when
upgrading and uninstalling" (as claimed by the man page) and that
combining it with "-R" would "also upgrade dependents" (by which I was
hoping "upgrade" meant "rebuild with the newer variant).

This doesn't seem to be the case, but leads to lots of extra warnings
during my upgrade, for example, the following (five times, or so):

   Error: Uninstall sqlite3 3.3.17_0+darwin_8 failed: Please  
uninstall the ports that depend on sqlite3 first.
   --->  Unable to uninstall sqlite3 3.3.17_0+darwin_8, the following  
ports depend on it:
   --->    apr-util

At which point, for each piece of cruft, I wander through all the
dependents by hand, uninstall each, then uninstall the old variant,
then re-install each dependent.

Surely I am doing something wrong.  Can someone vend me a clue?

thanks!
chris




More information about the macports-users mailing list