5-STABLE to 6-RELEASE upgrade

J. W. Ballantine jwb at homer.att.com
Mon Nov 7 18:25:33 GMT 2005

I'm trying to upgrade from 5-STABLE to 6-RELEASE, and I fail during the
kernel install phase of the process.  I deleleted the /usr/src tree
and did a cvsup to get the new bits.  I then ran a make world;
make buildkernel; and then a make installkernel.  This steps fails with:

cd /var/tmp/temproot/usr/share/openssl/man;  set - `grep "^[a-zA-Z]" 
/usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf "$1"
;  ln -s "$2" "$1";  shift; shift;  done
cd /var/tmp/temproot/usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /var/tmp/temproot/usr/share/nls;  set - `grep "^[a-zA-Z]" 
/usr/src/etc/nls.alias`;  while [ $# -gt 0 ] ;  do  rm -rf "$1";  ln -s
 "$2" "$1";  shift; shift;  done
/var/tmp/temproot/usr/obj/usr/src/etc created for /usr/src/etc
cd /usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf auth.conf 
 crontab csh.cshrc csh.login csh.logout devd.conf dev
fs.conf  dhclient.conf disktab fbtab ftpusers gettytab group  hosts 
hosts.allow hosts.equiv hosts.lpd  inetd.conf login.access login
.conf  mac.conf motd netconfig network.subr networks newsyslog.conf  
portsnap.conf pf.conf pf.os phones profile protocols  rc rc.bsd
extended rc.firewall rc.firewall6 rc.initdiskless  rc.sendmail rc.shutdown  
rc.subr remote rpc services shells  snmpd.config sysctl.
conf syslog.conf usbd.conf  etc.i386/ttys  /usr/src/etc/../gnu/usr.bin/man/manp
ath/manpath.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.c
onf;  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 
-p -d /var/tmp/temproot/etc  /var/tmp/temproot/etc/mas
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

Any ideas on what need to be done to get this to run???



More information about the freebsd-questions mailing list