From owner-freebsd-questions@FreeBSD.ORG Tue Apr 27 01:23:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A84B16A4CE for ; Tue, 27 Apr 2004 01:23:57 -0700 (PDT) Received: from yellow.csi.cam.ac.uk (yellow.csi.cam.ac.uk [131.111.8.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09A3543D1F for ; Tue, 27 Apr 2004 01:23:57 -0700 (PDT) (envelope-from rtb27@cam.ac.uk) Received: from localhost ([127.0.0.1] helo=rtb27.robinson.cam.ac.uk) by yellow.csi.cam.ac.uk with esmtp (Exim 4.12) id 1BINsC-0002cZ-00; Tue, 27 Apr 2004 09:23:25 +0100 From: Richard Bradley To: Matthew Seaman Date: Tue, 27 Apr 2004 09:21:55 +0100 User-Agent: KMail/1.5.4 References: <200404221341.17612.rtb27@cam.ac.uk> <200404221457.53576.rtb27@cam.ac.uk> <20040422150144.GF26669@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040422150144.GF26669@happy-idiot-talk.infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404270921.56057.rtb27@cam.ac.uk> cc: freebsd-questions@freebsd.org Subject: Re: Keeping Ports synchronised with Packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 08:23:57 -0000 Thanks to everyone who replied to my earlier question about using the ports and packages system better. To recap, I have always used cvsup and portupgrade to keep my programs up to date, but cvsup takes my ports tree to a newer version than any precompiled packages on ftp.*.freebsd.org, so `portupgrade -P` will ignore all packages as being out of date, and compile everything from scratch. For the past couple of days, I have been trying `pkg_add -r` as suggested on this list. With a few notable exceptions (java, eclipse..) it seems to be working just fine, but usually gives warnings about the libraries being newer than expected (they must have been changed by portupgrade). I can only hope that the changes in the libraries are bug-fixes and do not affect the behaviour (I haven't noticed any instability, but this could well introduce subtle bugs). My new arrangement is much better (I had been used to waiting a couple of hours for things to compile every time I used portupgrade), but I am left with niggling worries about using programs compiled against different versions of libraries than exist on my system. My question is then this: Is using `pkg_add -r` and falling back to `portinstall` the best way to use the ports/packages system? Is there no way to get the -P or -PP flag to have any effect on portinstall while keeping an up to date ports tree? Thanks for all your help so far, Rich