我刚刚将 FreeBSD 更新至 10.2,在尝试通过 ezjail 更新我的 jails 后,我收到以下信息:
ezjail-admin update -u
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 10.2-RELEASE from update4.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-p7.
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
You have a partially completed upgrade pending
Run '/usr/sbin/freebsd-update install' first.
Run '/usr/sbin/freebsd-update fetch -F' to proceed anyway.
我已经尝试过了ezjail-admin install
但情况并没有改变。
监狱里freebsd-version
有表演10.2-RELEASE-p7
我错过了什么?
答案1
我在这里找到了解决方案:
https://forums.freebsd.org/threads/ezjail-warning-about-partial-upgrade.52030/#post-297471
我刚刚在我的计算机上“修复”了这个问题。问题是 newjail 有指向 /basejail 的符号链接,而我的系统上不存在这个符号链接。我做了:
sudo mkdir /basejail; sudo mount -t nullfs /usr/jails/basejail /basejail/; sudo freebsd-update -b /usr/jails/newjail install; sudo ezjail-admin update -u
从那时起它就起作用了。