Aristedes Maniatis
2015-Nov-14  10:08 UTC
trouble upgrade jails to 10.2 (make distrib-dirs)
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.
Thanks for any help
Ari
# mergemaster -U -D /jails/anu_6002
realpath: /usr/src: No such file or directory
*** 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
-- 
-------------------------->
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL:
<http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20151114/4f6c8790/attachment.bin>
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 directoryThis 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