From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 18:20:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3A4A16A4CE for ; Fri, 4 Jun 2004 18:20:34 -0700 (PDT) Received: from web40307.mail.yahoo.com (web40307.mail.yahoo.com [66.218.78.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 907AC43D3F for ; Fri, 4 Jun 2004 18:20:34 -0700 (PDT) (envelope-from satimis@yahoo.com) Message-ID: <20040605012034.10471.qmail@web40307.mail.yahoo.com> Received: from [203.88.168.78] by web40307.mail.yahoo.com via HTTP; Sat, 05 Jun 2004 09:20:34 CST Date: Sat, 5 Jun 2004 09:20:34 +0800 (CST) From: =?iso-8859-1?q?Stephen=20Liu?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Problem about ports command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2004 01:20:34 -0000 Hi folks, After running # cvsup -g /usr/local/etc/cvsup/ports-supfile # cvsup -g /usr/local/etc/cvsup/stable-supfile then # portupgrade -aRrv0 I encountered problem in executing ports commands such as # portsclean -C portsclean: Command not found. # whereis portsclean portsclean: /usr/local/sbin/portsclean /usr/local/man/man1/portsclean.1.gz It is there. # /usr/local/sbin/portsclean -C /usr/local/sbin/portsclean: Command not found. # portsdb -Uu portsdb: Command not found. # whereis portsdb portsdb: /usr/local/sbin/portsdb /usr/local/man/man1/portsdb.1.gz It is also there. # /usr/local/sbin/portsdb -Uu /usr/local/sbin/portsdb: Command not found. Now I'm trying to run following commands to remove and re-install 'portupgrade' # pkg_delete -f portupgrade* # pkg_delete -f ruby* # cd /usr/ports/sysutils/portupgrade # make install clean On running # pkg_delete -f portupgrade* pkg_delete: No match. # pkg_info | grep portupgrade portupgrade-20030723 FreeBSD ports/packages administration and management tool s It is also there. Is there a device locking all ports commands. Kindly advise how to proceed. TIA B.R. Stephen Liu _______________________________________________________________________ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk