13.3 C
Texas
Melhttp://www.osradar.com
Guru Unix /Linux and GNU supporter

How to update your Freebsd system

FreeBSD system from 10 to 11 is one of the big releases. I gave a try yesterday in my home. I installed FreeBSD and here, I will show you to do this. FreeBSD is a cool system used mostly by teachers and scientists. Many people prefers BSD over Linux because of many points, but still not a good system for new computers and gamers because of missing new tools and drivers.

Please follow my steps bellow.

About my machine Now

root@osradarFreeBSD:/usr/ports # uname -a 
FreeBSD osradarFreeBSD 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64
root@osradarFreeBSD:/usr/ports#
- Advertisement -

Check the  Current version

root@osradarFreeBSD:~ # freebsd-version -ku
11.0-RELEASE-p1
11.0-RELEASE-p1
root@osradarFreeBSD:~ #

Update this versions with with last patches

root@osradarFreeBSD:~ # freebsd-update fetch install
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update5.freebsd.org... done.
Fetching metadata signature for 11.0-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 1153 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300.
10....1120....1130....1140....1150. done.
Applying patches... done.
Fetching 10 files... done.
WARNING: FreeBSD 11.0-RELEASE-p1 HAS PASSED ITS END-OF-LIFE DATE.
Any security issues discovered after Fri Dec 1 00:59:59 CET 2017
will not have been corrected.

In the warning above, you see that my release was out of security  support from Dec 2017.

The latest release is 11.1. Let’s update to  this release.

root@osradarFreeBSD:~ # freebsd-update upgrade -r 11.1-RELEASE
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 11.0-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic world/base world/lib32
The following components of FreeBSD do not seem to be installed:
kernel/generic-dbg world/base-dbg world/doc world/lib32-dbg
Does this look reasonable (y/n)? y
Fetching metadata signature for 11.1-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches.
 done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system...
done.
Fetching 10575 patches.

Install the fetched patches

To install the downloaded upgrades, run

/usr/sbin/freebsd-update install

 The last command  log of “freebsd-update upgrade -r 11.1-RELEASE” prompts executing “freebsd-update install“:

# freebsd-update install
src component not installed, skipped
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.

Reboot your  machine and run gain freebsd-update install

# reboot
# freebsd-update install
src component not installed, skipped
Installing updates... done.

check now the running FreeBSD version

root@osradarFreeBSD:~ # freebsd-version -ku 
11.1-RELEASE-p10 
11.1-RELEASE-p10 
root@osradarFreeBSD:~ #

 

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article