Hey ,
it is the first time that I am trying to update freebsd with the help of bectl.
I red the following tutorial. https://klarasystems.com/articles/managing-boot-environments/
My workflow looks like this .
As you can see the freebsd-update command does not recognise that my userland is not upgraded. Let me know what I am doing wrong ! Thank you
it is the first time that I am trying to update freebsd with the help of bectl.
I red the following tutorial. https://klarasystems.com/articles/managing-boot-environments/
My workflow looks like this .
Code:
rm -Rf /var/db/freebsd-update
bectl create freebsd_15
root@melmac:~ # bectl mount freebsd_15
/tmp/be_mount.gsGs
root@melmac:~ # mkdir -p /tmp/be_mount.gsGs/var/db/freebsd-update
root@melmac:~ # freebsd-update -b /tmp/be_mount.gsGs -d /tmp/be_mount.gsGs/var/db/freebsd-update -r 15.0-RELEASE upgrade
freebsd-update -b /tmp/be_mount.gsGs -d /tmp/be_mount.gsGs/var/db/freebsd-update -r 15.0-RELEASE install
src component not installed, skipped
Installing updates...
Kernel updates have been installed. Please reboot and run
'freebsd-update [options] install' again to finish installing updates.
root@melmac:~ # bectl activate -t freebsd_15
Successfully activated boot environment freebsd_15
for next boot
root@melmac:~ # shutdown -r now
root@melmac:~ # freebsd-update install
src component not installed, skipped
No updates are available to install.
Run 'freebsd-update [options] fetch' first.
root@melmac:~ # freebsd-update install
root@melmac:~ # uname -u
uname: illegal option -- u
usage: uname [-abiKmnoprsUv]
root@melmac:~ # uname -K
1500068
root@melmac:~ # uname -U
1403000
As you can see the freebsd-update command does not recognise that my userland is not upgraded. Let me know what I am doing wrong ! Thank you