FreeBSD-Update: files have been modified locally

Hello,

I recently ran freebsd-update on a FreeBSD 13.1-RELEASE machine and got the following message...

Code:
The following files are affected by updates. No changes have
been downloaded, however, because the files have been modified
locally:
/var/db/etcupdate/log
(END)

I will not post the entire contents of /var/db/etcupdate/log here, but the first several lines look like...

Code:
>>> extract command: tarball=
>>> Building tree at /usr/obj/usr/src/amd64.amd64/release/cw-gce/var/db/etcupdate/current with make TARGET=amd64 TARGET_ARCH=amd64 -DNO_FILEMON
cd /usr/src/etc; MACHINE_ARCH=amd64  MACHINE=amd64  CPUTYPE= CC="cc -target x86_64-unknown-freebsd12.2 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CXX="c++  -target x86_64-unknown-freebsd12.2 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin"  CPP="cpp -target x86_64-unknown-freebsd12.2 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin"  AS="as" AR="ar" LD="ld" LLVM_LINK=""  NM=nm OBJCOPY="objcopy"  RANLIB=ranlib STRINGS=  SIZE="size" PATH=/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin make  INSTALL="install -N /usr/src/etc" MTREE_CMD="mtree -N /usr/src/etc" METALOG= distrib-dirs
for file in /usr/share/doc/usd/10.exref /usr/share/doc/usd/11.edit /usr/share/doc/usd/12.vi /usr/share/doc/usd/13.viref; do  if [ -f /usr/obj/usr/src/amd64.amd64/release/cw-gce/var/db/etcupdate/current/${file} ]; then  rm -f /usr/obj/usr/src/amd64.amd64/release/cw-gce/var/db/etcupdate/current/${file};  fi;  done
mtree -N /usr/src/etc -deU -i -f /usr/src/etc/mtree/BSD.root.dist -p /usr/obj/usr/src/amd64.amd64/release/cw-gce/var/db/etcupdate/current/
./bin missing (created)
./boot missing (created)
./boot/defaults missing (created)
./boot/dtb missing (created)
./boot/dtb/allwinner missing (created)
./boot/dtb/overlays missing (created)
./boot/dtb/rockchip missing (created)
./boot/firmware missing (created)
./boot/lua missing (created)
./boot/kernel missing (created)
...

I'm not sure how to proceed from here. Any advice would be appreciated.

Thanks!
 
Maybe a log from an old upgrade was still in place?
Unfinished upgrade before?
Just guessing…
Weird situation, if it is the only conflict and your upgrade goes through, I‘d just backup the file and put only the new version in place.
 
Thanks. I thought the same RE: unfinished update, but freebsd-update install gives me...

Code:
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.

...so I'll just back it up and try the latest update.
 
Back
Top