From owner-freebsd-stable Thu Feb 8 16:19:29 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.prod.itd.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id 9C60237B4EC for ; Thu, 8 Feb 2001 16:19:10 -0800 (PST) Received: from 1Cust54.tnt7.jackson.ms.da.uu.net (1Cust54.tnt7.jackson.ms.da.uu.net [63.31.188.54]) by gull.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id QAA10191; Thu, 8 Feb 2001 16:18:59 -0800 (PST) Date: Thu, 8 Feb 2001 19:18:50 -0500 (EST) From: Jim Weeks To: David Bushong Cc: freebsd-stable@FreeBSD.ORG, Mike Harding , kaltorak@quake.com.au Subject: Re: Ports updating... Good ways? In-Reply-To: <20010208093055.C41838@bushong.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 8 Feb 2001, David Bushong wrote: > An important note I forgot to mention: > > pkg_upgrade does not deal well with inconsistent installed packages. Make > sure your packages are neat and tidy before you start using it. What does > that mean? Mainly, make sure you don't have multiple installed versions of > the same version of a piece of software. Having ncftp2 and ncftp3 both > installed is fine, but having gtk-1.2.8, gtk-1.2.7, and gtk-1.2.6 installed > is not a terribly good idea. > > I'll try to put a "cleanup" mode in one of these days, but it's rather nasty, > since basically you have to: > > pkg_delete all of the versions (including the most recent), pkg_delete all > of the programs that depended on older versions, reinstall/rebuild the most > recent version, then rebuild the dependent packages. You don't really have to do this. You can remove the info files for the old versions from /var/db/pkg/. For instance, if you have checked pkg_info and found you have two versions of zip ie zip-2.3 and zip-2.2, simply rm -r /var/db/pkg/zip-2.2 Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message