Date: Thu, 8 Feb 2001 19:18:50 -0500 (EST) From: Jim Weeks <jim@siteplus.net> To: David Bushong <david@bushong.net> Cc: freebsd-stable@FreeBSD.ORG, Mike Harding <mvh@ix.netcom.com>, kaltorak@quake.com.au Subject: Re: Ports updating... Good ways? Message-ID: <Pine.BSF.4.21.0102081914380.546-100000@veager.siteplus.net> In-Reply-To: <20010208093055.C41838@bushong.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102081914380.546-100000>