From owner-freebsd-questions Thu Jan 17 11:32:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay02.roc.frontiernet.net (alteon01g.roc.frontiernet.net [66.133.130.237]) by hub.freebsd.org (Postfix) with SMTP id 4AAC937B417 for ; Thu, 17 Jan 2002 11:32:35 -0800 (PST) Received: (qmail 8287 invoked from network); 17 Jan 2002 19:32:34 -0000 Received: from unknown (HELO blacklamb.mykitchentable.net) ([207.173.227.80]) (envelope-sender ) by relay02.roc.frontiernet.net (qmail-ldap-1.03) with SMTP for ; 17 Jan 2002 19:32:34 -0000 Received: from tagalong (unknown [165.107.42.196]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 4102EEE651 for ; Thu, 17 Jan 2002 11:32:32 -0800 (PST) Message-ID: <01a101c19f8d$b52db040$c42a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: Subject: Portupgrade Upgrade Question Date: Thu, 17 Jan 2002 11:32:31 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 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? milkmaker# pkg_deinstall -nr pkg_tarup-1.2_1 [Updating the pkgdb in /var/db/pkg ... - 30 packages found (-0 +2) .. done] ---> Deinstalling 'pkg_tarup-1.2_1' Change working directory to /usr/local /usr/local/sbin/pkg_tarup fails original MD5 checksum - not deleted. 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. Duplicated origin: devel/ruby-optparse - ruby-optparse-0.8 ruby-optparse-0.8.6 Remove any of them? [no] Duplicated origin: misc/pkg_tarup - pkg_tarup-1.2_1 pkg_tarup-1.2_3 Remove any of them? [no] Duplicated origin: sysutils/portupgrade - portupgrade-20020103 portupgrade-20020117 Remove any of them? [no] Thus, I think I should remove these duplicates. Is this the right thing to do? Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message