From owner-freebsd-ports@FreeBSD.ORG Sun Dec 24 04:18:13 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F36F16A407 for ; Sun, 24 Dec 2006 04:18:13 +0000 (UTC) (envelope-from arminius@pubbox.net) Received: from pubbox.net (pubbox.net [81.169.167.142]) by mx1.freebsd.org (Postfix) with ESMTP id ED65E13C45E for ; Sun, 24 Dec 2006 04:18:12 +0000 (UTC) (envelope-from arminius@pubbox.net) Received: from e180097228.adsl.alicedsl.de ([85.180.97.228] helo=pubbox.net) by pubbox.net with esmtpa (Exim 4.60 (FreeBSD)) (envelope-from ) id 1GyJlz-000K1d-Hy; Sun, 24 Dec 2006 04:11:39 +0100 Date: Sun, 24 Dec 2006 04:11:47 +0100 From: Armin Arh To: Scott Bennett Message-ID: <20061224031147.GF756@pubbox.net> References: <200612240221.kBO2LM12024747@mp.cs.niu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612240221.kBO2LM12024747@mp.cs.niu.edu> User-Agent: Mutt/1.5.11 Sender: arminius@pubbox.net Cc: freebsd-ports@freebsd.org Subject: Re: is it safe to upgrade ruby18? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Dec 2006 04:18:13 -0000 On Sat, Dec 23, 2006 at 08:21:22PM -0600, Scott Bennett wrote: > The portmanager program wants to upgrade ruby18. Is is safe to > let it? I made the mistake of trying to do a "portupgrade ruby18" under good question. As ruby is crucial to the portmanager special care should be taken. Good luck there are almost no dependencies for ruby itself: pkg_info -r /var/db/pkg/ruby-1.8.5_5,1/ Dependency: ldconfig_compat-1.0_8 Simply do cd /usr/ports/lang/ruby18 make install This may fail if ruby is already installed, but make will let you know how to fix that. ### This whole "portmanager" thing is lots of black magic, does very impressing things. (Fixed my 3 year old mess, i never used portmanager) But: -> Like all magic it is subject to fail. I have no problem about it, because most of the time i don't need it. Ports do not require "portmanager" to work, it's just a tool to keep the dependencies tidy (and a lot more: to switch from xfree to xorg etc.). The underlying ports system behaves very traditional (since 1995?), keeping enough book-information in /var/db/pkg to "know what's going on". -> The good old tools (pkg_add, pkg_delete, pkg_info) never fail. Armin -- PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/