From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 04:46:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1AF81065672 for ; Mon, 8 Nov 2010 04:46:29 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 627078FC13 for ; Mon, 8 Nov 2010 04:46:29 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id oA84kSBZ074688; Sun, 7 Nov 2010 21:46:28 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id oA84kSSX074685; Sun, 7 Nov 2010 21:46:28 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 7 Nov 2010 21:46:28 -0700 (MST) From: Warren Block To: "Ron (Lists)" In-Reply-To: <0e83f79bc4b86b72841763338a63e94e@flabnapple.net> Message-ID: References: <0e83f79bc4b86b72841763338a63e94e@flabnapple.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sun, 07 Nov 2010 21:46:28 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade fails to run or do anything X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 04:46:29 -0000 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.