Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2010 21:46:28 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        "Ron (Lists)" <rg.lists@rzweb.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portupgrade fails to run or do anything
Message-ID:  <alpine.BSF.2.00.1011072135370.74543@wonkity.com>
In-Reply-To: <0e83f79bc4b86b72841763338a63e94e@flabnapple.net>
References:  <0e83f79bc4b86b72841763338a63e94e@flabnapple.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Nov 2010, Ron (Lists) wrote:

> I'm trying to upgrade my ports and I can't get portupgrade to do anything.  I 
> type 'sudo portupgrade apache' (or any package) and all I get back is a 
> command prompt.  No error or any other message.  portversion seems to work 
> correctly, showing my out of date ports, etc.

Is apache outdated?  portupgrade won't update a port that's already at 
the current version unless you force it with -f.

> Running portupgrade with -F doesn't help at all.

Well, no.  -F means to only download distfiles.

> I've also noticed that tab-expansion isn't working like it used to on 
> the port names, so that makes me wonder if the database is screwed up.

Filename completion is a function of the shell.  I try it accidentally 
from time to time with port names because it just would make sense to 
work, but it has never worked because they don't exist as files. 
'portupgrade -r gcc' followed by Tab doesn't complete because there 
isn't a file named gcc-4.4.6.20101026 in the path (although they are in 
/var/db/pkg).

Fortunately, name completion is not needed because portupgrade uses the 
pkg_name as a glob anyway.

My portupgrade article:
http://www.wonkity.com/~wblock/docs/html/portupgrade.html

If that doesn't do it, please show what
   portversion -vl'<'
shows for apache.



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