Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2015 14:14:37 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Aristedes Maniatis <ari@ish.com.au>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: trouble upgrade jails to 10.2 (make distrib-dirs)
Message-ID:  <564733BD.1090207@quip.cz>
In-Reply-To: <56470813.8050907@ish.com.au>
References:  <56470813.8050907@ish.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Aristedes Maniatis wrote on 11/14/2015 11:08:
> I am getting a failure running mergemaster as per the FreeBSD handbook. I'm a bit lost as to what the error is telling me to do.

What was the method used to upgrade host system and jail? Did you used 
freebsd-update or make installworld?



> # mergemaster -U -D /jails/anu_6002
>
> realpath: /usr/src: No such file or directory

This means you don't have /usr/src so the mergemaster cannot make files 
in /var/tmp/temproot because these files are created from /usr/src

So make sure you have mounted /usr/src/ with source files for current 
version of the system (the version you need to update to) and then try this

cd /usr/src
mergemaster -F -v -i -P -U -t /var/tmp/mergemaster/anu_6002 -d -D 
/jails/anu_6002

Miroslav Lachman

> *** The directory specified for the temporary root environment,
>      /var/tmp/temproot, exists.  This can be a security risk if untrusted
>      users have access to the system.
>
>    Use 'd' to delete the old /var/tmp/temproot and continue
>    Use 't' to select a new temporary root directory
>    Use 'e' to exit mergemaster
>
>    Default is to use /var/tmp/temproot as is
>
> How should I deal with this? [Use the existing /var/tmp/temproot] d
>
>     *** Deleting the old /var/tmp/temproot
>
> *** Creating the temporary root environment in /var/tmp/temproot
>   *** /var/tmp/temproot ready for use
>   *** Creating and populating directory structure in /var/tmp/temproot
>
> make: don't know how to make distrib-dirs. Stop
> make: don't know how to make distrib-dirs. Stop
>
>    *** FATAL ERROR: Cannot 'cd' to  and install files to
>        the temproot environment




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