From owner-freebsd-questions Wed Feb 26 14:39: 0 2003 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 9D96B37B401 for ; Wed, 26 Feb 2003 14:38:58 -0800 (PST) Received: from ra.dweebsoft.com (ra.dweebsoft.com [209.237.40.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1407C43F75 for ; Wed, 26 Feb 2003 14:38:58 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: from ra.dweebsoft.com (localhost [127.0.0.1]) by ra.dweebsoft.com (8.12.6/8.12.6) with ESMTP id h1QMcuCF016548; Wed, 26 Feb 2003 14:38:56 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: (from http@localhost) by ra.dweebsoft.com (8.12.6/8.12.3/Submit) id h1QMcuD4016547; Wed, 26 Feb 2003 14:38:56 -0800 (PST) X-Authentication-Warning: ra.dweebsoft.com: http set sender to daxbert_news@dweebsoft.com using -f Received: from 64.81.58.36 ( [64.81.58.36]) as user daxbert@localhost by ra.dweebsoft.com with HTTP; Wed, 26 Feb 2003 14:38:56 -0800 Message-ID: <1046299136.3e5d420041291@ra.dweebsoft.com> Date: Wed, 26 Feb 2003 14:38:56 -0800 From: Daxbert To: "" , rew Cc: "freebsd-questions@FreeBSD.ORG " Subject: Re: 4.7 Upgrade issue MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 64.81.58.36 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quoting rew : > I'm trying to upgrade from FreeBSD 4.6-STABLE #0: Sat Jun 29 to RELENG_4_7 > > mkdir -p /tmp/install.55427 > for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make > makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; > do cp `which $prog` /tmp/install.55427; done > usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target > cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory > *** Error code 64 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > If the install is still failing for you... It looks as if the 'which' command is failing to find the executables listed. Could root's path be improperly set? Since you mentioned that this host was remote. Did you 'su' to root or 'su -'? Just a thought. BTW, to find out which binary is missing, or can't be foundin the path, run this script. It will tell you what executable(s) is(are) the problem. -------------------------------- #!/bin/sh for prog in [ awk cat chflags chmod chown date \ echo egrep find grep ln make makewhatis mtree \ mv perl pwd_mkdb rm sed sh sysctl test true \ uname wc zic; do echo "WHICH $prog: ::`which $prog`::"; done -------------------------------- just look for the one with the empty value '::::' --daxbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message