Date: Thu, 17 Jan 2002 11:32:31 -0800 From: "Drew Tomlinson" <drew@mykitchentable.net> To: <questions@freebsd.org> Subject: Portupgrade Upgrade Question Message-ID: <01a101c19f8d$b52db040$c42a6ba5@lc.ca.gov>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01a101c19f8d$b52db040$c42a6ba5>