Problem about ports command

Stephen Liu satimis at yahoo.com
Fri Jun 4 18:20:34 PDT 2004


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


More information about the freebsd-questions mailing list