I have a few questions regarding the process of updating an entire system after reading the FreeBSD manual and hacking my way through a few problems.
https://www.freebsd.org/doc/handbook/updating-upgrading.html
If I understand correctly:
Updating Kernel and Userland
I would like to update a FreeBSD box from 11.0 to the latest RELEASE. To determine the version I used:
One issue is that the above display different versions, 11.1 for kernel and 11.0 for userland. I presume this is because the update has not completed.
From what I read the following process should be enough to update kernel/userland.
If this is incorrect; how many times and in what order should these commands be issued?
Presumably the above 5 steps would update to the latest RELEASE i.e. 11.1 and the following command is to upgrade to a specific version?
https://www.freebsd.org/doc/handbook/updating-upgrading.html
If I understand correctly:
- kernel is the core operating system running in privileged mode.
- world is the base system except kernel and not anything in /etc, /var and /usr
- userland is a term to describe world (?)
- packages and ports are both methods used to install the same applications to the same location.
Updating Kernel and Userland
I would like to update a FreeBSD box from 11.0 to the latest RELEASE. To determine the version I used:
Code:
# freebsd-version -k show kernel version/revision.
# freebsd-version -u show userland version/revision.
One issue is that the above display different versions, 11.1 for kernel and 11.0 for userland. I presume this is because the update has not completed.
From what I read the following process should be enough to update kernel/userland.
Code:
# freebsd-update fetch 1. - fetch updates
# freebsd-update install 2. - updates the kernel
# shutdown -r now 3. - reboot
# freebsd-update install 4. - update userland
# freebsd-update install 5. - clean up
If this is incorrect; how many times and in what order should these commands be issued?
Presumably the above 5 steps would update to the latest RELEASE i.e. 11.1 and the following command is to upgrade to a specific version?
Code:
# freebsd-update -r 9.1-RELEASE upgrade