Date: Fri, 26 Jun 2009 01:02:38 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: upgrading installed ports: time to do it ? Message-ID: <20090626010238.525398b6@gumby.homeunix.com> In-Reply-To: <4A43CDEC.7050602@onetel.com> References: <200906212038.39370.meslists@yahoo.fr> <b79ecaef0906211307g7be0d5baob2b1cf279dac3c5b@mail.gmail.com> <4A3FE271.8080201@onetel.com> <20090622214802.0761813e@gumby.homeunix.com> <4A414751.9090804@onetel.com> <20090624015051.2ee23577@gumby.homeunix.com> <4A43CDEC.7050602@onetel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Jun 2009 20:20:12 +0100 Chris Whitehouse <cwhiteh@onetel.com> wrote: > RW wrote: > > Portmanger does cope with most of the "portupgrade -o" and > > "portupgrade -r" entries, although sometime it will need to be run > > (or rerun) in pristine-mode. > > just curious, do you know this because you know how they all work or > have you tried them. And how does portmaster fit in? Does it use the > same 'leaf-nodes first' algorithm as portmanager? It's leaf-last, the leaves are on the top of the tree. All the upgrade tools build in dependency order, but portmanager also rebuilds ports that directly depend on the ports it's upgraded (originally it included indirect dependencies, but that's now only done in pristine mode). In other words it, more or less, does the equivalent of "portupgrade -fr" as a matter of course. As regards "portupgrade -o", it depends on the circumstances. In the case of perl5.8 to perl5.10, I would expect that it would continue with perl5.8 until something actually needs perl5.10. It would then detect a conflict, remove perl5.8, install perl5.10 and then rebuild everything that depended on perl5.8. Essentially it would do the right thing. I'm not sure about python, it's bit more complicated, but I would guess it would be similar to perl.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090626010238.525398b6>