Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 14:38:56 -0800
From:      Daxbert <daxbert_news@dweebsoft.com>
To:        "" <freebsd@doneasy.com>, rew <freebsd@doneasy.com>
Cc:        "freebsd-questions@FreeBSD.ORG " <freebsd-questions@FreeBSD.ORG>
Subject:   Re: 4.7 Upgrade issue
Message-ID:  <1046299136.3e5d420041291@ra.dweebsoft.com>

next in thread | raw e-mail | index | archive | help
Quoting rew <freebsd@doneasy.com>:

> 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




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