cvsup 5.3 release gets incomplete release
Donald J. O'Neill
donaldj1066 at fastmail.fm
Sun Nov 7 08:20:41 PST 2004
On Sunday 07 November 2004 09:00 am, listmail wrote:
> Hello -
>
> Running a current 5.2.1 machine, I attempted to get release 5.3
> via cvsup. When
> it was finished, I found that among other things, the file
> UPDATING did not exist
> in /usr/src and
>
> "make [ world | buildworld \ ... ]"
>
> bombed out with
>
> "don't know how to make [world | buildworld | ...]"
>
# cd /usr/src
# make buildworld
> (missing Makefile?)
>
> mergemaster bombs out as well.
> I've deleted the entire /usr/src and tried again using both
> tag=5_3_RELEASE and tag=.
> I've read and re-read the handbook, and looked at the archives
> without results.
>
> Thus I have two questions:
> 1) What am I doing wrong? (Or am I ?)
> 2) What's with the files ending in ",v"?
>
> The supfile used was as apperase below:
>
> *default tags=5_3_RELEASE
use:
*default tag=RELENG_5_3_0_RELEASE
or
*default tag=RELENG_5_3
or, if you want stable:
*default tag=RELENG_5
> *default host=cvsup.at.FreeBSD.org
Are you in Austria? Europe?
> *default prefix=/usr
> *default base=/usr/local/etc/cvsup
Try:
*default base=/usr
> *default release=cvs delete use-rel-suffix compress
If you have a broadband connection, you could use:
*default release=cvs
*default delete use-rel-suffix
> src-all
>
> The directory of the resulting /usr/src looks like:
>
> drwxr-xr-x 2 root wheel 512 Nov 6 22:44 Attic
> -r--r--r-- 1 root wheel 16259 Oct 24 13:31 COPYRIGHT,v
> -r--r--r-- 1 root wheel 37071 Oct 24 13:31 MAINTAINERS,v
> -r--r--r-- 1 root wheel 279044 Nov 5 21:14 Makefile,v
> -r--r--r-- 1 root wheel 367347 Nov 5 21:14 Makefile.inc1,v
> -r--r--r-- 1 root wheel 26634 Oct 24 13:31 README,v
> -r--r--r-- 1 root wheel 432204 Nov 4 13:12 UPDATING,v
> -r--r--r-- 1 root wheel 23392 Oct 24 13:31 UPDATING.64BTT,v
> drwxr-xr-x 39 root wheel 1024 Nov 6 22:45 bin
> drwxr-xr-x 69 root wheel 1536 Nov 6 23:17 contrib
> drwxr-xr-x 9 root wheel 512 Nov 6 23:21 crypto
> drwxr-xr-x 35 root wheel 1024 Nov 6 23:22 eBones
> drwxr-xr-x 25 root wheel 2048 Nov 6 23:22 etc
> drwxr-xr-x 45 root wheel 1024 Nov 6 23:23 games
> drwxr-xr-x 9 root wheel 512 Nov 6 23:29 gnu
> drwxr-xr-x 7 root wheel 2048 Nov 6 23:30 include
> -r-xr-xr-x 1 root wheel 13820 Oct 24 13:31
> installworld_newk,v -r-xr-xr-x 1 root wheel 17349 Oct 24
> 13:31 installworld_oldk,v drwxr-xr-x 9 root wheel 512 Nov
> 6 23:30 kerberos5 drwxr-xr-x 10 root wheel 512 Nov 6
> 23:30 kerberosIV drwxr-xr-x 99 root wheel 2048 Nov 6 23:39
> lib
> drwxr-xr-x 43 root wheel 1024 Nov 6 23:39 libexec
> drwxr-xr-x 37 root wheel 1024 Nov 6 23:39 lkm
> drwxr-xr-x 20 root wheel 512 Nov 6 23:41 release
> drwxr-xr-x 4 root wheel 512 Nov 6 23:41 rescue
> drwxr-xr-x 138 root wheel 2560 Nov 6 23:42 sbin
> drwxr-xr-x 8 root wheel 512 Nov 6 23:43 secure
> drwxr-xr-x 28 root wheel 512 Nov 6 23:46 share
> drwxr-xr-x 72 root wheel 1536 Nov 7 00:13 sys
> drwxr-xr-x 14 root wheel 512 Nov 7 00:13 tools
> drwxr-xr-x 280 root wheel 4608 Nov 7 00:17 usr.bin
> drwxr-xr-x 244 root wheel 4608 Nov 7 00:23 usr.sbin
>
Hello Gene,
See above suggestions.
Here is the procedure, taken from /usr/src/UPDATING. Also cvsup your
ports and read /usr/ports/UPDATING. There are important things to
do listed in both of them.
To rebuild everything and install it on the current system.
-----------------------------------------------------------
# Note: sometimes if you are running current you gotta do more than
# is listed here if you are upgrading from a really old current.
<make sure you have good level 0 dumps>
<maybe fix /etc/fstab>
make buildworld
make buildkernel KERNCONF=YOUR_KERNEL_HERE
make installkernel KERNCONF=YOUR_KERNEL_HERE
<reboot in single user>
/etc/rc.d/preseedrandom
mergemaster -p
make installworld
mergemaster
<reboot>
I hope this is a help and not a hinderance to you.
Don
--
Donald J. O'Neill
donaldj1066 at fastmail.fm
More information about the freebsd-questions
mailing list