Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2008 14:59:40 -0700
From:      Xin LI <delphij@delphij.net>
To:        Jordi Espasa Clofent <jespasac@minibofh.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Regenerate ports tree from installed ports?
Message-ID:  <48DC09CC.9010606@delphij.net>
In-Reply-To: <48DC01DA.9040108@minibofh.org>
References:  <48DC01DA.9040108@minibofh.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jordi Espasa Clofent wrote:
> Hi all,
> 
> I suppose it's a dumb (and crazy) question, but as post subject says:
> żIs it possible to regenerate the /usr/ports tree _from_ the installed
> ports?

As long as your ports tree is not very old, you will be able to use it
in newer system but this is not always guaranteed.  It is, however,
possible to checkout ports tree from the date you specified with either
cvsup or cvs.

My personal suggestion is that when upgrading, try to build a new
environment from scratch (say, everything is brand new) with ports named
by 'pkg_info -qoa' on old system, and have the new environment reveal
potential issues before making major updates to running system.  Another
possible approach is to update from time to time but this could cause
you a lot of downtime.

Cheers,
- --
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkjcCcsACgkQi+vbBBjt66D+5gCgraZv+FSEuxKFFiPNTan16Oyf
HvEAoIt0OWlpSqgYwxo7Og/+7e9WBG2g
=DJkP
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48DC09CC.9010606>