On Dec 26, 2006, at 1:19 AM, Ryan Schmidt wrote:
In times past, the -f flag did not force it to upgrade dependencies that didn't need the upgrade.

I didn't know that.

Yep, but that changed a while ago (1.2-1.3 IIRC).

I want to upgrade out-of-date dependencies, I just also want to actually install the damn thing.

Is there any solution to this right now?

Personally, I know which of the ports I use require which other ports, so I manually "sudo port -ncuf upgrade foo" for each port, in the correct order (e.g., if apr, apr-util and subversion all need updating, do them in that order).

I don't know if there's a better more-automated way.

If you're really lucky, you can do:

port -dvnf upgrade outdated

... but if you need to rebuild in a specific order to satisfy dependencies correctly, then it probably won't work.

patches to the upgrade code to make it smarter are, of course, welcome :)
--
Daniel J. Luke
+========================================================+
| *---------------- [EMAIL PROTECTED] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to