Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Nov 2006 07:57:45 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        Riemer Palstra <riemer@palstra.com>
Cc:        gahn <ipfreak@yahoo.com>, free bsd <freebsd-current@freebsd.org>
Subject:   Re: keep ports updated 
Message-ID:  <20061109155745.2F9764506A@ptavv.es.net>
In-Reply-To: Your message of "Thu, 09 Nov 2006 13:51:37 %2B0100." <20061109125137.GA88673@rb1.palstra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1163087865_72384P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> Date: Thu, 9 Nov 2006 13:51:37 +0100
> From: Riemer Palstra <riemer@palstra.com>
> Sender: owner-freebsd-current@freebsd.org
> 
> On Thu, Nov 09, 2006 at 03:46:24AM -0800, gahn wrote:
> > I have 6.1 installed and trying to get those ports up
> > to date. I did run "portupgrade -v" and the results show all of them
> > were "up-to-date with port". but it is not true; for example, nagios
> > is still 2.0 instead of 2.5.
> 
> Running portupgrade is good, but only half of the process :)
> 
> > how could I truely get those ports up to date as listed on freebsd.org
> > site?
> 
> You also need to get your ports tree to stay up to date, try using
> portsnap, csup or cvsup (in that order). As it probably will be the
> first time you run it, portsnap fetch, portsnap extract, and after that,
> regularly run portsnap fetch, portsnap update.

I don't know about portsnap, if you use csup (V6.1 or newer) or cvsup,
you should delete your ports tree first! (rm -rf /usr/ports/*). 

These programs keep a record of what files have been updated and their
versions and they will not know about any files already in your ports
tree but no longer in CVS. This can leave you system with orphans that
might include patch files which might cause builds to fail, or worse,
cause apps to mis-behave.

You only have to do this once. csup will take care of this from that
point on.

I don't know if the same is true of portsnap, but it may be. (Gotta try
it one of these days, but we have a local CVS mirror that works very
well, so I just have not had much incentive.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

--==_Exmh_1163087865_72384P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFFU0/5kn3rs5h7N1ERAoNrAKCU624RdocZEIPlsg6m7HWrNctZ7ACgiT89
TMR77uuTZ6p0N+AlK3AMMxk=
=8wi6
-----END PGP SIGNATURE-----

--==_Exmh_1163087865_72384P--



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