现在有没有办法使用 freebsd-update 将 7.4-RELEASE-p5 升级到 7.4-RELEASE-p12?
bash-4.2# freebsd-update upgrade -r 7.4-RELEASE-p12
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 7.4-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc
src/games src/gnu src/include src/krb5 src/lib src/libexec src/release
src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin
src/usbin world/base world/dict world/doc world/games world/info
world/lib32 world/manpages world/proflibs
The following components of FreeBSD do not seem to be installed:
world/catpages
Does this look reasonable (y/n)? y
Fetching metadata signature for 7.4-RELEASE-p12 from update4.freebsd.org... failed.
Fetching metadata signature for 7.4-RELEASE-p12 from update5.freebsd.org... failed.
Fetching metadata signature for 7.4-RELEASE-p12 from update6.freebsd.org... failed.
Fetching metadata signature for 7.4-RELEASE-p12 from update2.freebsd.org... failed.
Fetching metadata signature for 7.4-RELEASE-p12 from update3.freebsd.org... failed.
No mirrors remaining, giving up.
bash-4.2# uname -a
FreeBSD XX.XXXXX.org 7.4-RELEASE-p5 FreeBSD 7.4-RELEASE-p5 #0: Fri Dec 23 17:36:54 UTC 2011 [email protected]:/usr/obj/usr/src74/sys/GENERIC amd64
bash-4.2#
答案1
不。
如果你参考FreeBSD 手册信息freebsd-update
您将在一个大的灰色框中看到以下注释(强调添加):
所有架构和版本均可获得二进制更新目前由安全团队支持。在更新到新版本之前,应查看其发布公告,因为它包含与该版本相关的重要信息。发布公告可从http://www.FreeBSD.org/releases/。
如果你参考FreeBSD 安全团队主页您将看到 FreeBSD 7.x 不再是“受支持的版本”,并且2013 年 2 月达到使用寿命。
因此无法使用freebsd-update
FreeBSD 项目的官方服务器来更新该系统。
您的选择:
升级到受支持的 FreeBSD 版本。
(说实话,这就是你应该做的。现在停止阅读并开始计划你的升级。)如果你有足够大的环境来证明这一点,运行你自己的 7.x 系列 FreeBSD 更新服务器。
答案2
@voretaq7:实际上我可以通过以下步骤将我的 FreeBSD 7.4-RELEASE-p5 更新到最新的 7.4-RELEASE-p12:24.2. FreeBSD 更新。 (freebsd fetch && freebsd install
)。
# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 7.4-RELEASE from update6.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
The following files are affected by updates, but no changes have
been downloaded because the files have been modified locally:
/var/db/mergemaster.mtree
No updates needed to update system to 7.4-RELEASE-p12.
WARNING: FreeBSD 7.4-RELEASE-p9 HAS PASSED ITS END-OF-LIFE DATE.
Any security issues discovered after Fri Mar 1 00:00:00 UTC 2013
will not have been corrected.
# freebsd-update install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
#