portupgrade fails to run or do anything

Warren Block wblock at wonkity.com
Mon Nov 8 04:52:02 UTC 2010

On Sun, 7 Nov 2010, Ron (Lists) wrote:

> None of these suggestions help.  I have never had to put www/ in front
> of the port name before.

It's not needed.

> The tab expansion is handled by bash-completion as used to be smart 
> enough to know the command I was typing and could auto-complete port 
> names, but no longer, which is why I suspect that I have a screwed up 
> database.

No, more likely your path changed and left out /var/db/pkg.  This is not 
needed anyway, since the pkg_name is a glob:
   portupgrade -r apache
will upgrade all ports starting with "apache".  The -r is something I 
suggest using regularly with portupgrade.

More information about the freebsd-questions mailing list