From owner-freebsd-binup@FreeBSD.ORG Thu Feb 7 00:39:58 2008 Return-Path: Delivered-To: freebsd-binup@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D67816A417; Thu, 7 Feb 2008 00:39:58 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from optimus.centralmiss.com (ns.centralmiss.com [206.156.254.79]) by mx1.freebsd.org (Postfix) with ESMTP id 2569C13C4E9; Thu, 7 Feb 2008 00:39:58 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by optimus.centralmiss.com (Postfix) with ESMTP id D7E3428431; Wed, 6 Feb 2008 18:08:31 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 72AA761C44; Wed, 6 Feb 2008 18:08:31 -0600 (CST) Date: Wed, 6 Feb 2008 18:08:31 -0600 From: "Matthew D. Fuller" To: Jeremy Chadwick Message-ID: <20080207000831.GO62553@over-yonder.net> References: <1563a4fd0802052211h623de132q68a1ad0c8a9b930c@mail.gmail.com> <230174700802060040x4f2a0815r1a4bdc7fccf62b5d@mail.gmail.com> <20080206095133.GA94134@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080206095133.GA94134@eos.sc1.parodius.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.17-fullermd.4 (2007-11-01) Cc: navneet Upadhyay , freebsd-ports@freebsd.org, freebsd-questions@freebsd.org, freebsd-binup@freebsd.org, "??????????????? \(Shantanoo\)" Subject: Re: Upgrading the Installed package X-BeenThere: freebsd-binup@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Design and development of the binary update system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 00:39:58 -0000 On Wed, Feb 06, 2008 at 01:51:33AM -0800 I heard the voice of Jeremy Chadwick, and lo! it spake thus: > > So let's tell Navneet exactly what he's getting into, shall we? OK, but let's do that by telling him what he's getting into, not vague gestures at overblown half-truths. > - Ruby is not included in the base system; you have to install it > from ports (read: just another thing to have to maintain...) My workstation has about 800 ports installed. A relatively lean server has 300. 1 more is so deep in the noise, you can't hardly measure it, much less see it. > ports base system: > - C-based, and includes all of the pkg_* utilities. Nearly every > FreeBSD user/administrator is familiar with these tools. Can't upgrade things. Show me how I use pkg_* to upgrade a package (let's say, gtk), and have all the metadata set right afterward. Requires either stupid amounts of manual work, or a lot of scripting (I upgrade perl. How do I rebuild p5-*?). > portupgrade: > - Maintains its own database of ports installed, dependencies, and > so on -- COMPLETELY separate from that of the ports base system. Which is just a cache of the existing files, and can be blown away at any time with no consequences other than a minute or two remaking them. > - Said database must be kept in sync with ports base system > dependencies and other whatnots; and if they go out of sync Which it rebuilds when it notices is out of date. The only time I've had problems out of it in years of using portupgrade is when I do something like update BDB (or less often, portupgrade or ruby-bdb). Whoopie. Consider the recent case involving sudo and portmaster; when you use a tool to update a low-level piece of itself, you have to take some care how you go about it. > - Said database is Berkeley DB-based, which means you have to install > Oracle/Sleepycat BDB from ports. (I believe you can pick DB1.x > which comes with libc, but it's not recommended due to bugs). So now we're up to 4 ports to install? If you can make that my biggest worry, I'll sent you a ginormous certified check first thing in the morning. There are a lot of things to hate in portupgrade, but let's don't pile handwaving anthills into mountains on top of that. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.