when to use 'Portupgrade -R'
Robert Marella
marella at hawaii.rr.com
Sat Dec 11 12:46:36 PST 2004
On Friday 10 December 2004 14:54, Jonathon McKitrick wrote:
> I've run into some problems using 'portupgrade -R' so I'm wondering if just
> using 'portupgrade' is good enough in most cases. I don't want a port to
> be upgraded without NECESSARY dependencies, but I don't want minor upgrades
> done UNNECESSARILY that might cause inconsistencies in the database.
Hi Jonathon
I am using Gnome 2.8 nad for what it is worth, here is how I do it.
cvsup all ports
pkgdb -F
#portversion -l "<" > upgrading
#vi upgrading
using edit tools I remove all "tabs '<' and 'cr'"
I am fairly proficient with vi and can do this quickly (using the "D" "J").
I am sure the "script gurus" can do this in one fell swoop
but I am a newbie.
I also insert "portupgrade" in front of the list of ports.
#sh upgrading
go get a beer!
usually I try to do this once a week and there are from 10 to 20 ports that need updating. sometimnes I have to repeat the "go get a beer" step.
If we are to trust "portversion" then I don't think the -r or -R switch would be needed. Feedback from more knowledgeable members is welcome.
Also, if a script to alleviate the vi step is handy it is also welcome.
Robert
More information about the freebsd-questions
mailing list