The focus of this tool is to keep the dependency tracking
information for your ports up to date. This allows you to safely update
a specific port without having to update all of the ports "above" it. In
the rare case where you do need to recompile ports which depend on a port
you are updating, the -r option exists to accomplish this.
OMG, he said Canonical!DeadLoco said:Does any canonical way exists to update ports AND rebuild everything that depends on them via "portmaster" like "portmanager -u" do?
Sure not. All manuals have been read many times. But I'm still in troubles.DutchDaemon said:Should not be too hard to track that down in portmaster(8)?
[eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.3.3. Rebuild it for your PHP version (5.3.4) or download precompiled binaries.
Is it safe enough?wblock said:
Yes, after a couple of times of not using the '-x' switch.DutchDaemon said:Have you tried -x port (port name in /var/db/pkg/) to exclude the port itself?
E.g.
[cmd=]portmaster -r jpeg- -x jpeg-8_3[/cmd]
(or the other way around -> both untested)
troberts said:When JPEG was updated from JPEG-6.x to JPEG-7, I used the '-R -r' options immediately
troberts said:and when the update failed while compiling OpenOffice.org, I was not able to just fix the problem and start back up where it left off because there was no JPEG-6.x to update. I had to start everything over again and there were many ports that had to be rebuilt before OpenOffice.org even started its compile, then it spent hours just to get to where it had failed previously.
troberts said:The things I learned from this is to rebuild the "base" port by itself so it can update all references to its updated version, then rebuild it using the '-R -r' options.
troberts said:I was just looking at the man pages for portmaster and I could not find a switch that will rebuild all ports depending on a port without rebuilding said port.
So is it safe enough to update some port and leave untouched ports that depends on it? How to determine that some dependency needs to be rebuilt?Try reading the -R bit again.