Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2009 20:38:47 -0800
From:      Xin LI <delphij@delphij.net>
To:        Mike Lempriere <mike@vintners.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: mergemaster broken -- take 2
Message-ID:  <49658357.6000005@delphij.net>
In-Reply-To: <49657C0A.7040404@vintners.net>
References:  <49657C0A.7040404@vintners.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Lempriere wrote:
> Hi folks -- sorry to be a nag, but my main production system is barely
> limping along on an old kernel with mismatched libraries.  I have no
> idea what else to do -- please help!
> ---
> I'm upgrading 5-stable (was at 5.5) to 6-stable, in preparation for
> 6-stable to 7-stable.
> No problems with cvsup, make buildworld, make installworld, make
> buildkernel, mergemaster -p.
> make installkernel, boot to single user.  Then mergemaster -- blammo:

Looks like you did it in wrong sequence and the system is picking up a
stale cap_mkdb.  Could you try mergemaster -p, then make installworld,
then mergemaster -i?

> config  /usr/src/etc/../usr.bin/mail/misc/mail.rc 
> /usr/src/etc/../usr.bin/locate/locate/locate.rc printcap
> /var/tmp/temproot/etc;  cap_mkdb -l /var/tmp/temproot/etc/login.conf; 
> install -o root -g wheel -m 755  netstart pccard_ether rc.suspend
> rc.resume /var/tmp/temproot/etc;  install -o root -g wheel -m 600 
> master.passwd nsmb.conf opieaccess /var/tmp/temproot/etc;  pwd_mkdb -L
> -i -p -d /var/tmp/temproot/etc  /var/tmp/temproot/etc/master.passwd
> cap_mkdb: illegal option -- l
> usage: cap_mkdb [-v] [-f outfile] file [file ...]
> *** Error code 1
> 
> Stop in /usr/src/etc.
> 
> *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
>     the temproot environment
> 
> I've checked, the directory is there (/var/tmp/temproot/etc) however the
> file (master.passwd) is not.
> 
> Any suggestions anyone?  Thanks!
> 


- --
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkllg1cACgkQi+vbBBjt66BPDwCfXKGJJlgtJ7LY7V99gcnrCmoe
1PwAnj9tqhJ4W0yutxkzxj8j9idyfAUc
=8dCN
-----END PGP SIGNATURE-----



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