afraid of portupgrade -ra
Richard Coleman
richardcoleman at mindspring.com
Tue Feb 10 05:49:59 PST 2004
Jake Khuon wrote:
> I have not done a cvsup and buildworld since the threading move in the ports
> tree was made. Is it okay for me to do a cvsup and buildworld WITHOUT doing
> a portupgrade -ra? Will I break any of my existing applications? The
> reason I ask is because on my laptop, I've installed a lot of ports... as in
> somewhere around 6500. While I typically install only what I need, my
> philosophy with my laptop was that I also typically end up in situations
> where I'll need something and not have the connectivity to download a
> package or grab the ports source to compile. So now I'm faced with having
> my machine crunch through quite a few ports... not all of which I'm
> confident will build correctly.
Instead of portupgrade -afr, I did a pkg_deinstall '*'. Then after
making sure that /usr/local and /usr/X11 were clean, I re-added what I
wanted using an updated /usr/ports. I'm only using about 100 ports, but
everything built fine for me using a recent -current.
With that many ports, this may be an easier route for you. At the very
least, it will make it much more obvious which are the troublesome ports.
And if you use portinstall (same as portupgrade -new) and keep all your
desired options in pkgtools.conf, it is especially easy. Just make sure
you install portupgrade, ruby, and perl as the first ports. Then use
portinstall to install everything else after that (after running "make
index" and portsdb -u).
Richard Coleman
richardcoleman at mindspring.com
More information about the freebsd-current
mailing list