Solved FreeBSD 12.0 freebsd-update problem

Greetings all,

it seems that I have a problem:
Code:
root@box: freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.0-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
(END)
And then nothing happens.
Code:
root@box: ps
14544 v2 I= 0:00.12 /bin/sh /usr/sbin/freebsd-update fetch
Any help would be appreciated.

Kindest regards,

M
 
Try entering the command :q when you see the (END) prompt and it should display something like:
Code:
No updates needed to update system to 12.0-RELEASE-p3.
... or, if you actually do need an update, it will display something like this:
Code:
The following files will be added as part of updating to 12.0-RELEASE-p3:
/usr/share/zoneinfo/Asia/Qostanay
/usr/src/contrib/sqlite3/Makefile.fallback
/usr/src/contrib/sqlite3/tea
/usr/src/contrib/sqlite3/tea/Makefile.in
/usr/src/contrib/sqlite3/tea/README
/usr/src/contrib/sqlite3/tea/aclocal.m4
/usr/src/contrib/sqlite3/tea/configure
/usr/src/contrib/sqlite3/tea/configure.ac
/usr/src/contrib/sqlite3/tea/doc
/usr/src/contrib/sqlite3/tea/doc/sqlite3.n
/usr/src/contrib/sqlite3/tea/generic
/usr/src/contrib/sqlite3/tea/generic/tclsqlite3.c
/usr/src/contrib/sqlite3/tea/license.terms
/usr/src/contrib/sqlite3/tea/pkgIndex.tcl.in
/usr/src/contrib/sqlite3/tea/tclconfig
/usr/src/contrib/sqlite3/tea/tclconfig/install-sh
/usr/src/contrib/sqlite3/tea/tclconfig/tcl.m4
/usr/src/contrib/sqlite3/tea/win
/usr/src/contrib/sqlite3/tea/win/makefile.vc
/usr/src/contrib/sqlite3/tea/win/nmakehlp.c
/usr/src/contrib/sqlite3/tea/win/rules.vc

The following files will be updated as part of updating to 12.0-RELEASE-p3:
/bin/freebsd-version
/boot/kernel/cc_cdg.ko
... <snip> ...
... and, if it does display something like the second example, indicating that an update is available, then you should next enter the command freebsd-update install.

The (END) prompt you see happens because the output of freebsd-update fetch is being redirected through the less command. This is presumably being done by the freebsd-update programmer for the benefit of people who use text-only terminals, which don't have a scrollback feature, to prevent the top part of the output from being scrolled off the screen before they have a chance to read it. If you'd like to avoid the (END) prompt altogether, try piping your output through the tee program, for example:
Code:
freebsd-update fetch | tee someunusedfilename
... or even ...
Code:
freebsd-update fetch | tee /dev/null
... although personally I prefer to use descriptive filenames for the tee output and save them for awhile in my /root directory for later reference.
 
Back
Top