Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2002 20:44:24 +0000
From:      Kevin Golding <kevin@caomhin.demon.co.uk>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        questions@freebsd.org
Subject:   Re: Portupgrade Upgrade Question
Message-ID:  <cvLTYHBoezR8Ewxk@caomhin.demon.co.uk>
In-Reply-To: <01a101c19f8d$b52db040$c42a6ba5@lc.ca.gov>
References:  <01a101c19f8d$b52db040$c42a6ba5@lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <01a101c19f8d$b52db040$c42a6ba5@lc.ca.gov>, Drew Tomlinson
<drew@mykitchentable.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cvLTYHBoezR8Ewxk>