Problem with installworld on 10-stable r262131

Thomas Steen Rasmussen thomas at gibfest.dk
Wed Feb 19 16:34:10 UTC 2014


On 19-02-2014 13:55, Dimitry Andric wrote:
> On 19 Feb 2014, at 13:05, Thomas Steen Rasmussen <thomas at gibfest.dk> wrote:
> ...
>> I've svn updated to r262193 and I did "make clean" before building world and
>> kernel again, installing kernel, rebooting, and running installworld again.
>>
>> I still get the same error:
> ...
>> mtree -deU -f /usr/src/etc/mtree/BSD.var.dist -p /var
>> empty:  flags ("schg" is not "none"mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
> That 'empty: flags ("schg" is not "none")' message indicates there is
> some problem with the permissions under your /usr directory...
Thank you, that got me in the right direction.

The schg problem was actually under /var and was corrected by running:
    mtree -dieu -f /usr/src/etc/mtree/BSD.var.dist -p /var
twice. I added -i to make it correct schg errors as described in mtree(8).

This didn't get me any further though, but it did make that message go away.

>
>> mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include
>> mtree -deU -f /usr/src/etc/mtree/BSD.groff.dist -p /usr
>> mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p /
>> install -l s usr/src/sys /sys
>> cd /usr/share/man;  for mandir in man*; do  install -l s ../$mandir /usr/share/man/en.ISO8859-1/;  install -l s ../$mandir /usr/share/man/en.UTF-8/;  done
>> install: /usr/share/man/en.ISO8859-1//man1: Directory not empty
> ... and this causes trouble creating your man directories, or symlinks
> in those directories.

I got past this error by deleting all files under /usr/share/man
and /usr/share/openssl/man and when I ran installworld after this
it completed with no further problems.

Thank you for the help.


Best regards,

Thomas Steen Rasmussen



More information about the freebsd-stable mailing list