From owner-freebsd-questions Thu Jan 17 12:46: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id D48BE37B400 for ; Thu, 17 Jan 2002 12:46:04 -0800 (PST) Received: from caomhin.demon.co.uk ([212.228.234.119]) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 16RJQA-000AYp-0A; Thu, 17 Jan 2002 20:46:03 +0000 Message-ID: Date: Thu, 17 Jan 2002 20:44:24 +0000 To: Drew Tomlinson Cc: questions@freebsd.org From: Kevin Golding Subject: Re: Portupgrade Upgrade Question References: <01a101c19f8d$b52db040$c42a6ba5@lc.ca.gov> In-Reply-To: <01a101c19f8d$b52db040$c42a6ba5@lc.ca.gov> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <01a101c19f8d$b52db040$c42a6ba5@lc.ca.gov>, Drew Tomlinson writes >I used the pkg_info command to see what I have installed on my system. >Amongst other things, it reports the following: > >portupgrade-20020103 Very powerful FreeBSD ports/packages upgrading tool >portupgrade-20020117 Very powerful FreeBSD ports/packages upgrading tool >pkg_tarup-1.2_1 Generates binary package from installed package >pkg_tarup-1.2_3 Generates binary package from installed package >ruby-optparse-0.8 Yet another command line option parser for Ruby >ruby-optparse-0.8.6 Yet another command line option parser for Ruby > >I'm sure this happened as I used portupgrade to upgrade portupgrade. So >I'd like to remove the old versions. I ran pkg_deinstall -n and it >looks like the new versions overwrote the old versions since there is a >checksum error. Is this correct? Actually I think the point of portupgrade is to stop that happening, it's supposed to do everything nice and cleanly. >If it is correct, then I assume I only need to delete the entries from >the package database. pkgdb -F picks up these duplicates and asks if I >want to remove them. Yep, it really is that simple. pkgdb is great for cleaning up /var/db/ports >Thus, I think I should remove these duplicates. Is this the right thing >to do? It's certainly what I'd do. Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message