From owner-freebsd-questions@FreeBSD.ORG Thu Apr 22 06:29:27 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 3FF7B16A4CE for ; Thu, 22 Apr 2004 06:29:27 -0700 (PDT) Received: from mynah.mail.pas.earthlink.net (mynah.mail.pas.earthlink.net [207.217.120.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22A0A43D5D for ; Thu, 22 Apr 2004 06:29:25 -0700 (PDT) (envelope-from algould@datawok.com) Received: from 20-74.lctv-b4.cablelynx.com ([24.204.20.74] helo=[192.168.63.10]) by mynah.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.36 #4) id 1BGeGa-0001Rr-00; Thu, 22 Apr 2004 06:29:25 -0700 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Thu, 22 Apr 2004 08:29:28 -0500 User-Agent: KMail/1.6.1 References: <200404221341.17612.rtb27@cam.ac.uk> In-Reply-To: <200404221341.17612.rtb27@cam.ac.uk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404220829.28558.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4b1fc7f1491f7beb5a4f41234c6fb79d10350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: Richard Bradley 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: Thu, 22 Apr 2004 13:29:27 -0000 On Thursday 22 April 2004 07:41 am, Richard Bradley wrote: > Hi all, > > I am getting the impression that I am using the ports and packages system > the wrong way, but can't find a good tutorial on how to use them to their > best. I would be quite happy to write one up, but I need to understand it > first! > > My problem is that my ports tree is always a couple of minor versions ahead > of the available packages. > (I use `cvsup /usr/share/examples/cvsup/ports-supfile` as suggested in the > handbook) > If I add a program with e.g. > > #portinstall gaim > > it compiles it from source, and updates a load of libraries and dependent > ports to the current versions. > > This means I have a load of libraries that are different versions to those > the precompiled packages expect, and some packages even refuse to install. > > I end up having to install more and more things from the ports, which is > slooow (do you have any idea how long it takes to compile kde?) and creates > even more problems if I try to use a package. > > What am I doing wrong? Is there a way to hold back cvsup to the same > version as the packages on FreeBSD.org? > > On a related note, where do the errors from sysinstall go? It refers to the > "debug screen" but I can't find it on any terminal. What about if you run > it in a konsole or xterm? > > Any pointers would be much appreciated. > > All the best, > > > Rich The way to update your system source and hold back package/port versions is to refuse ports. See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html Alternatively, you can continue to cvsup ports and then upgrade your packages to newer versions using the port portupgrade, which can be found at /usr/ports/sysutils/portsupgrade. Best of luck, Andrew Gould