How to updates your Freebsd system

0
258

How to updates your Freebsd system from 10 to11 of on the same big release,  i gave a try yesterday in my home installed FreeBSD en here will show you how i did this. FreeBSD is  cool systems 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 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root@osradarFreeBSD:/usr/ports#

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 the my release was out of  Security  support from Dec 2017

i know the last  release  is 11.1,  lets 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:~ #

 

Spread the love
  • 27
    Shares

LEAVE A REPLY

Please enter your comment!
Please enter your name here