每当我试图在FreeSDB 10上更新我的ezjail棒球时,我就会遇到问题。
我使用的是FreeBSD 10.2Release-p11和ezjayv3.4.2
监狱在里面显示了正确的版本,但是更新过程似乎还没有完成。
我得到的是:
ezjail-admin update -u
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 10.2-RELEASE from update6.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
No updates needed to update system to 10.2-RELEASE-p11.
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 10.2-RELEASE from update3.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
The following files will be added as part of updating to 10.2-RELEASE-p11:
/usr/src/contrib/ntp/include/ntp_keyacc.h
/usr/src/contrib/ntp/include/rc_cmdlength.h
/usr/src/contrib/ntp/include/safecast.h
/usr/src/contrib/ntp/libntp/is_ip_address.c
/usr/src/contrib/ntp/sntp/m4/ntp_problemtests.m4
/usr/src/contrib/ntp/sntp/tests/fileHandlingTest.c
/usr/src/contrib/ntp/sntp/tests/run-t-log.c
/usr/src/contrib/ntp/sntp/tests/sntptest.c
/usr/src/contrib/ntp/sntp/tests/t-log.c
/usr/src/contrib/ntp/sntp/unity/auto/parseOutput.rb
/usr/src/contrib/ntp/sntp/unity/auto/type_sanitizer.rb
/usr/src/contrib/ntp/sntp/unity/auto/unity_test_summary.py
/usr/src/contrib/ntp/sntp/unity/unity_config.h
/usr/src/contrib/ntp/tests/libntp/lfptest.c
/usr/src/contrib/ntp/tests/libntp/sockaddrtest.c
/usr/src/contrib/ntp/tests/ntpd/leapsec.c
/usr/src/contrib/ntp/tests/ntpd/ntp_prio_q.c
/usr/src/contrib/ntp/tests/ntpd/ntp_restrict.c
/usr/src/contrib/ntp/tests/ntpd/rc_cmdlength.c
/usr/src/contrib/ntp/tests/ntpd/run-leapsec.c
/usr/src/contrib/ntp/tests/ntpd/run-ntp_prio_q.c
/usr/src/contrib/ntp/tests/ntpd/run-ntp_restrict.c
/usr/src/contrib/ntp/tests/ntpd/run-rc_cmdlength.c
/usr/src/contrib/ntp/tests/ntpd/run-t-ntp_scanner.c
/usr/src/contrib/ntp/tests/ntpd/run-t-ntp_signd.c
/usr/src/contrib/ntp/tests/ntpd/t-ntp_scanner.c
/usr/src/contrib/ntp/tests/ntpd/t-ntp_signd.c
/usr/src/contrib/ntp/tests/ntpq
/usr/src/contrib/ntp/tests/ntpq/Makefile.am
/usr/src/contrib/ntp/tests/ntpq/Makefile.in
/usr/src/contrib/ntp/tests/ntpq/run-t-ntpq.c
/usr/src/contrib/ntp/tests/ntpq/t-ntpq.c
Installing updates...mkdir: /usr/jails/newjail//boot: No such file or directory
mtree: /usr/jails/newjail//boot/kernel: No such file or directory
mtree: /usr/jails/newjail//boot/kernel.old: No such file or directory
touch: /usr/jails/newjail//boot/kernel.old/.freebsd-update: No such file or directory
Could not create kernel backup directory发布于 2016-01-30 10:21:05
我现在也在努力解决这个问题。到目前为止,我在这个职位论坛上发现了FreeBSD,这让我尝试了
mkdir /basejail
mount -t nullfs -o rw /usr/jails/basejail /basejail它允许正在更新的/usr/jails/newjail查找路径(如引导等)并更新它们。这样你就可以跑
ezjail-admin update -u不要忘记在更新后卸载和删除/basejail文件夹。
看来你也可以跑
ezjail-admin install要重新创建基座监狱,看起来似乎也同样有效,尽管需要更长的时间。
https://unix.stackexchange.com/questions/258236
复制相似问题