Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2003 16:53:49 -0500 (EST)
From:      Lew A <question@gwi.net>
To:        freebsd-stable@freebsd.org
Subject:   Upgrading from 4.5 to 4.7 problems.
Message-ID:  <Pine.BSI.4.50.0303241643071.5706-100000@dargo.gwi.net>

next in thread | raw e-mail | index | archive | help
Hello,

I've been running into a couple pathing problems during my installworld
while upgrading from 4.5p23 to 4.7.

Here are all the problems I've had during the installworld, total of :
    (Below is a list of the steps I took to do the upgrade)

;==> include/rpcsvc
rpcgen -C -h -DWANT_NFS3 /usr/src/include/rpcsvc/sm_inter.x -o sm_inter.h
rpcgen:No such file or directory
*** Error code 1

Stop in /usr/src/include/rpcsvc.
*** Error code 1

Stop in /usr/src/include.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

    fixed, added /usr/bin/ in front of rpcgen, in include/rpcsvc/Makefile

----------

===> games/fortune/datfiles
tr a-zA-Z n-za-mN-ZA-M < /usr/src/games/fortune/datfiles/fortunes-o.real >
fortunes-o
tr: not found
*** Error code 127

Stop in /usr/src/games/fortune/datfiles.
*** Error code 1

Stop in /usr/src/games/fortune.
*** Error code 1

Stop in /usr/src/games.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

    fixed, added /usr/bin/ in front of tr, in
games/fortune/datfiles/Makefile

----------

===> share/termcap
TERM=dumb TERMCAP=dumb: ex - /usr/src/share/termcap/termcap.src <
/usr/src/share/termcap/reorder
ex: not found
*** Error code 127

Stop in /usr/src/share/termcap.
*** Error code 1

Stop in /usr/src/share.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

    fixed, added /usr/bin/ in front of ex, in share/termcap/Makefile

----------

===> share/termcap
TERM=dumb TERMCAP=dumb: /usr/bin/ex - /usr/src/share/termcap/termcap.src <
/usr/src/share/termcap/reorder
cap_mkdb termcap
cap_mkdb:No such file or directory
*** Error code 1

Stop in /usr/src/share/termcap.
*** Error code 1

Stop in /usr/src/share.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

    fixed, added /usr/bin/ in front of cap_mkdb, in share/termcap/Makefile

---------------------------------------------------------------------------

These are the steps I use when doing the upgrade:
cd /usr/local/etc/cvsup
vi stable-supfile
    change *default release=cvs tag=RELENG_4_5
    to *default release=cvs tag=RELENG_4_7
cd /usr/src
make update
/usr/src/usr.sbin/mergemaster/mergemaster.sh -p
reboot into single usermode
mount -a
cd /usr/obj
chflags -R noschg *
rm -rf *
chflags noschg /bin /usr/bin /sbin /usr/sbin
cd /usr/src
make -j4 buildworld
make buildkernel
make installkernel

reboot into single usermode
/sbin/mount -a
cd /usr/src
make installworld
su -l root
mergemaster
chflags schg /bin /usr/bin /sbin /usr/sbin

reboot
test

Thank you,
Lew A
GWI Operations

---------------------------------
  A tiger can smile
  A snake will say it loves you
  Lies make us evil
---------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.50.0303241643071.5706-100000>