From owner-freebsd-questions@FreeBSD.ORG Thu Dec 9 14:02:32 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 C292816A4CE for ; Thu, 9 Dec 2004 14:02:32 +0000 (GMT) Received: from 9.hellooperator.net (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C0C943D2F for ; Thu, 9 Dec 2004 14:02:32 +0000 (GMT) (envelope-from rasputin@hellooperator.net) Received: from rasputin by 9.hellooperator.net with local (Exim 4.43) id 1CcOsJ-0005jS-BK for freebsd-questions@freebsd.org; Thu, 09 Dec 2004 14:02:31 +0000 Date: Thu, 9 Dec 2004 14:02:31 +0000 From: Dick Davies To: FreeBSD Questions Message-ID: <20041209140230.GE17970@lb.tenfour> References: <5.2.0.9.0.20041209160336.00a353d0@127.0.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.0.20041209160336.00a353d0@127.0.0.1> User-Agent: Mutt/1.4.2.1i Sender: Dick Davies Subject: Re: Two versions of ruby == problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dick Davies List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 14:02:32 -0000 * Roger Merritt [1210 09:10]: > After doing a cvsup on one of my machines I like to run 'portversion -c > > needs.update' to see what needs updating. If the output is small enough I > might try doing 'portupgrade -a', but usually I go through the list one by > one to set the flags I think portupgrade will need for that case. This time > I was a little surprised to find two entries for ruby: > > # > # ruby > # needs updating (port has 1.6.8.2004.07.28_1) > # > pkgs="$pkgs ruby-1.6.8.2004.07.28" > > # > # ruby > # needs updating (port has 1.8.2.p2_2) > # > pkgs="$pkgs ruby-1.8.2.p2_1" > > I don't know how I got two versions installed, but more importantly I > wonder if this is a problem? Should I deinstall one or the other? I'd imagine you installed an old port that was hardcoded to depend on ruby16, if you pkg_deinstall the 16 version it should warn you what was using it. > I deinstall both and reinstall one (I suppose 1.8.2.p2_2 is the most > recent)? Or should I just go ahead and upgrade both? I'd get rid of 16 unless you have a real need for it, 1.8 is a lot faster in my experience. -- Ugh, it's like there's a party in my mouth and everyone's throwing up. - Fry Rasputin :: Jack of All Trades - Master of Nuns