From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 01:57:39 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 DCC0716A4CE for ; Wed, 7 Jul 2004 01:57:39 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BD3943D45 for ; Wed, 7 Jul 2004 01:57:39 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) by internet.potentialtech.com (Postfix) with ESMTP id 80D4669A41; Tue, 6 Jul 2004 21:57:38 -0400 (EDT) Date: Tue, 6 Jul 2004 21:57:37 -0400 From: Bill Moran To: Rowdy Message-Id: <20040706215737.2343dca5.wmoran@potentialtech.com> In-Reply-To: <40EB52F6.6010509@fielden.com.au> References: <40EB52F6.6010509@fielden.com.au> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: multiple versions of ports installed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 01:57:40 -0000 Rowdy wrote: > Greetings, > > I have multiple versions of a couple of ports installed under FreeBSD > 5.1-RELEASE, and I'm not sure why, nor whether I can remove any of the > older versions. > > sharwyn:~ # portversion -v | grep "?" > autoconf-2.57_1 ? error - origin not found > libtool-1.4.3_3 ? error - origin not found > > These came to light after a recent pkgdb -F. > > sharwyn:~ # pkg_info | grep autoconf > autoconf-2.13.000227_5 Automatically configure source code on many Un*x > platforms > autoconf-2.53_1 Automatically configure source code on many Un*x > platforms > autoconf-2.57_1 Automatically configure source code on many Un*x > platforms > autoconf-2.59_1 Automatically configure source code on many Un*x > platforms autoconf is a program that helps build other programs. You can almost definately remove _all_ version using pkg_delete. If you go to install another port that requires autoconf, it will just install it as a dependency. > sharwyn:~ # pkg_info | grep libtool > libtool-1.3.5_2 Generic shared library support script (version 1.3) > libtool-1.4.3_3 Generic shared library support script (version 1.4) > libtool-1.5.6_1 Generic shared library support script (version 1.5) Here you may actually need all three versions. Notice that it's 1.3, 1.4, and 1.5 that are installed. Each of these is going to have a slightly different featureset, and (in my experience) different versions of libtool are not compatable. If you try pkg_delete on each of these, you will get an error stating which package requires it. This will give you an idea of what you need to do to get rid of older versions (probably upgrade the software requiring it). -- Bill Moran Potential Technologies http://www.potentialtech.com