Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A bash script to automate DarwinPorts upgrades' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A bash script to automate DarwinPorts upgrades
Authored by: BjarneDM on Oct 28, '05 04:01:54PM
If you don't use the -u option the old versions will be kept and used by the ports that are dependent upon them. Thus, if you want all of the ports to use the newest version of a port you'll have to use -u and un-install.

You could try to use the -f option, but that's fraught with danger and not at all recommended by the DarwinPorts team. I've had to re-install my whole DarwinPorts structure because of excessive use of -f.

For instance, if you are linking to the MySQL libraries, these change names between versions, so if you have compiled support for MySQL into eg PHP and Postfix, you'll have to recompile these from scratch in order to get the new libraries installed. Otherwise, the programs simply cease to function.

[ Reply to This | # ]
A bash script to automate DarwinPorts upgrades
Authored by: 10drill on Oct 28, '05 09:05:55PM

I've been upgrading ports with "sudo port -vuf upgrade portname" for months now with no problem. So far no big dependency issues either...



[ Reply to This | # ]