mergemaster broken -- take 2
Xin LI
delphij at delphij.net
Wed Jan 7 20:39:03 PST 2009
-----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 at 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-----
More information about the freebsd-stable
mailing list