From owner-freebsd-newbies@FreeBSD.ORG Thu Apr 15 14:23:14 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DB5A16A4CE for ; Thu, 15 Apr 2004 14:23:14 -0700 (PDT) Received: from zeus.acuson.com (ac17860.acuson.com [157.226.71.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4442143D5C for ; Thu, 15 Apr 2004 14:23:14 -0700 (PDT) (envelope-from DavidJohnson@Siemens.com) Received: from mvaexch02.acuson.com ([157.226.230.209]:2326) by zeus.acuson.com with esmtp (Exim 4.30) id 1BEEJs-0006Lk-6F; Thu, 15 Apr 2004 14:22:48 -0700 Received: by mvaexch02.acuson.com with Internet Mail Service (5.5.2657.72) id ; Thu, 15 Apr 2004 14:12:42 -0700 Received: from dhcp-46-159.acuson.com ([157.226.46.159]) by mvaexch01.acuson.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id HX2W7MMW; Thu, 15 Apr 2004 14:11:13 -0700 From: Johnson David To: freebsd-newbies@freebsd.org Organization: Siemens Medical Systems Date: Thu, 15 Apr 2004 14:20:28 -0700 User-Agent: KMail/1.6.1 References: <20040415210717.GA60276@europa.ctzen.com> In-Reply-To: <20040415210717.GA60276@europa.ctzen.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404151420.28190.DavidJohnson@Siemens.com> cc: Chiang Seng Chang Subject: Re: pkg_version shows duplicate entries, may I deinstall old ones ? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 21:23:14 -0000 On Thursday 15 April 2004 02:07 pm, Chiang Seng Chang wrote: > This is with -v: > > autoconf-2.13.000227_5 > autoconf-2.53_1 > docbook-1.3 > docbook-241_2 > docbook-3.0_2 > docbook-3.1_2 > docbook-4.0_2 > docbook-4.1_2 > libtool-1.3.5_2 > libtool-1.4.3_3 > > 1. why are there multiple versions of the same "thing" ? > 2. is it safe to pkg_deinstall the "older" ones ? > 3. since I am using portupgrade, pkg_deinstall should be used instead > of pkg_delete, right ? Don't uninstall the "old" ones if you don't know what you're doing! In the case of autoconf and libtool, there are ports that depend on one particular version or another, so that you need the old ones around. These dependencies tend to be build dependencies, so you might be safe uninstalling them if you're short of room. But be prepared to see it installed the next time you update a dependent port. In the case of docbook, these are different versions of the docbook spec. Docbook documents will refer to specific versions, which you need to have. If you are not currently using docbook for yourself, you could get rid of them. But several ports needs them to create their own documentation, so they may get installed again "behind your back". portupgrade will keep everything straight for you. If it keeps "older" versions around, it does so for a reason. David