Re: etcupdate warning: "No previous tree to compare against, a sane comparison is not possible."

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 22 Jun 2021 18:22:16 UTC
On 6/22/21 12:34 AM, Nuno Teixeira wrote:
> Hello,
> 
> Should I be worry about etcupdate warning "No previous tree to compare
> against, a sane comparison is not possible." when I recompile and update
> current?
> 
> I receive same warning when I do a 'etcupdate -p' after installworld too.

Yes, this means etcupdate is not merging any changes to /etc.  You should
run 'etcupdate extract' before your next upgrade cycle.  You should then
review the output of 'etcupdate diff' to see if there are files in /etc
that need updating.  If there are files that you want to update to stock
versions you can use 'etcupdate revert /path/to/file'.  Otherwise, you can
use the patch generated by 'etcupdate diff' either as a guide to manually
update files to remove unwanted differences, or as input to patch -R.

-- 
John Baldwin