How to Upgrade Portupgrade?

Lowell Gilbert freebsd-questions-local at
Fri Apr 27 13:40:09 UTC 2007

Kevin Kinsey <kdk at> writes:

> Drew Tomlinson wrote:
>> So this seems like updating portupgrade should be trivial but I am
>> stuck.  Suggestions appreciated.
> Yeah, I missed the note on this one, too.  Not the change note, but
> I don't recall seeing the instructions on what to do about it.
> Tried deinstalling portupgrade and reinstalling?  The catch-22,
> of course, is that you can't "cd /usr/ports/sysutils/portupgrade"
> in order to `make deinstall`.  However, this might work (and I believe
> it's the kludge I used to get around the issue):
> $ rm -rf /var/db/pkg/portupgrade*
> $ cd /usr/ports/ports-mgmt/portupgrade
> $ make install clean

A little safer would be to replace the first line with 
"pkg_delete portupgrade*".  

If you're not going to go with the "portupgrade -o" solution 
that someone already posted.

More information about the freebsd-questions mailing list