From owner-freebsd-questions@FreeBSD.ORG Sun Nov 7 18:08:25 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 B8479106564A for ; Sun, 7 Nov 2010 18:08:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7A5B18FC16 for ; Sun, 7 Nov 2010 18:08:25 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx01.qsc.de (Postfix) with ESMTP id 414353DCC5; Sun, 7 Nov 2010 19:08:24 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oA7I8NNp001548; Sun, 7 Nov 2010 19:08:23 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 7 Nov 2010 19:08:23 +0100 From: Polytropon To: "Ron (Lists)" Message-Id: <20101107190823.14e8c517.freebsd@edvax.de> In-Reply-To: <0e83f79bc4b86b72841763338a63e94e@flabnapple.net> References: <0e83f79bc4b86b72841763338a63e94e@flabnapple.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2010 18:08:25 -0000 On Sun, 07 Nov 2010 09:21:22 -0800, "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. You need to be in /usr/ports and then issue the port name together with the category; in your case: % cd /usr/ports % sudo portupgrade www/apache > Running portupgrade with -F doesn't help at all. 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. The expansion is handled by the shell, and based on the content of directories accessed. If you follow the example above, autocomplete should work fine. > I've tried running > pkgdb and it just returns like portupgrade. That should not be; did you run this? # pkgdb -aF This is the most common call for that program, issued as root (or via su or sudo or super). > Running portsdb to try and > rebuild the index doesn't help. See from the manpage: Note that INDEX file is updated every few hours on official site, it is recommended that you run ``portsdb -Fu'' after every CVSup of the ports tree in order to keep them always up-to-date and in sync with the ports tree. > Any ideas? I'm perplexed and Google is no help. I can suggest reading the manpages of the programs in question before consulting google. One of FreeBSD's strengths is its EXCELLENT documentation. Know about that fact, and it will help you in many situations. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...