Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 2004 09:20:34 +0800 (CST)
From:      =?iso-8859-1?q?Stephen=20Liu?= <satimis@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Problem about ports command
Message-ID:  <20040605012034.10471.qmail@web40307.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



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