From owner-freebsd-ports@FreeBSD.ORG Fri Apr 22 13:56:08 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02BA716A4CE for ; Fri, 22 Apr 2005 13:56:08 +0000 (GMT) Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96D0243D49 for ; Fri, 22 Apr 2005 13:56:07 +0000 (GMT) (envelope-from allbery@ece.cmu.edu) Received: from localhost.localdomain (dsl093-061-215.pit1.dsl.speakeasy.net [66.93.61.215]) by bache.ece.cmu.edu (Postfix) with ESMTP id 946B273; Fri, 22 Apr 2005 09:56:05 -0400 (EDT) From: "Brandon S. Allbery KF8NH" To: Eliot Earle In-Reply-To: <4268FFD4.7080004@ntlworld.com> References: <20050422162656.1995.REES@ddcom.co.jp> <200504221422.18136.list-freebsd-2004@morbius.sent.com> <4268FFD4.7080004@ntlworld.com> Content-Type: text/plain Date: Fri, 22 Apr 2005 09:56:42 -0400 Message-Id: <1114178202.21452.3.camel@rushlight.kf8nh.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: mixing portupgrade with sysinstall safe? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 13:56:08 -0000 On Fri, 2005-04-22 at 14:44 +0100, Eliot Earle wrote: > Depends on your definition of "good idea" I guess. I find that having > added gcc3.4 via sysinstall prior to upgrading from fbsd 4.something to > fbsd 5.3, I am now stuck with two versions of the damned thing, and > can't figure out for the life of me how to get rid of the ancient > version which it seems as though the system is intent on using. > > spadge@tobermory$ gcc -v > Using built-in specs. > Configured with: FreeBSD/i386 system compiler > Thread model: posix > gcc version 3.4.2 [FreeBSD] 20040728 > > spadge@tobermory$ where gcc > gcc-3.4.4_20050415 is in lang/gcc34 Use "pkg_info gcc\*" to list all installed versions, then "pkg_delete" with the full version you want to remove. Beware of packages/ports which might have registered dependencies on it (although there shouldn't be any in this case, one would hope). > Where do sysinstall-ed packages keep their info, so I can remove it? > It's not the same thing as a pkg-add at all, is it? It is identical to pkg_add (in fact, it *is* pkg_add). -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon univ. KF8NH