From owner-freebsd-questions@FreeBSD.ORG Mon Mar 27 12:38:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 DB0B216A420 for ; Mon, 27 Mar 2006 12:38:18 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1074B43D5F for ; Mon, 27 Mar 2006 12:38:12 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 10382 invoked from network); 27 Mar 2006 22:38:12 +1000 Received: from 210-84-39-124.dyn.iinet.net.au (HELO localhost) (210.84.39.124) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 27 Mar 2006 22:38:11 +1000 Date: Mon, 27 Mar 2006 22:38:06 +1000 From: Norberto Meijome To: Duane Whitty Message-ID: <20060327223806.54ea4b05@localhost> In-Reply-To: <4427C93B.2050805@greenmeadow.ca> References: <4427C93B.2050805@greenmeadow.ca> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.16; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: [Fwd: Re: package vs ports question] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 12:38:18 -0000 On Mon, 27 Mar 2006 07:15:07 -0400 Duane Whitty wrote: > Does the installation process install any package that may be > overriden by any port? yes. for example ,you select to install bash-3 from sysinstall ( " the freebsd installer UI" ). this reads and installs the package bash-3.x.y.z.tbz from somewhere in your selected setup origin (DVD / CD / FTP / NFS). I assume you would also install the ports collection and keep it up to date (keeping a system up to date without the actual ports collection in /usr/ports is , I guess, doable...though i've never done it, and I dont see why I would want to, unless i'm in dire need of space). Anyway, you update your ports, and you learn that bas-3.x.(y+1).b is out. You can now install this new version from a package by either: a) downloading the package by hand and using pkg_add /path/to/package/file b) portupgrade -PP bash Or you can install this from source, by doing either of: a) cd /usr/ports/shells/bash ; make install clean or b) portupgrade shells/bash The option I've been using lately is a mix of both - use the package if available (locally or from remote site); if not avail, build from source and generate a package (so I can reinstall as needed in other/same box): portupgrade -pP shells/bash or cd /usr/ports/shells/bash ; make ; make deinstall ; make package clean ( package generation doesnt work for ALL ports, but the vast majority would be ok. For example ,Adobe Acrobate cannot be redistributed in binary form, so a package cannot be generated. the process will still work) HIH, Beto