Using etcupdate with pkgbase

Grzegorz Junka list1 at gjunka.com
Sat Apr 11 15:51:03 UTC 2020


On 11/04/2020 15:08, Emmanuel Vadot wrote:
>   Hello,
>
> On Sat, 11 Apr 2020 13:27:23 +0000
> Grzegorz Junka <list1 at gjunka.com> wrote:
>
>> I have reinstalled the base system from FreeBSD pacakges build on a
>> different server. I have also created a tarball to use with etcupdate
>>
>> root at build:~ # etcupdate build -s /usr/src-12-1-p3
>> /usr/obj/usr/src-12-1-p3_etc.tgz
>>
>> I have extracted it on the destination host
>>
>> root at host:/tmp # etcupdate extract -t /tmp/src-12-1-p3_etc.tgz
>>
>> How am I supposed to maintain etc updates going forward? Just running
>> etcupdate returns with an error:
>>
>> root at host:~ # etcupdate
>> Failed to build new tree.
>>
>   You're not supposed to use etcupdate with pkgbase, the pkgs have the
> configuration files taggued and so pkg(8) will attempt a 3 way merge on
> them.
>

Thanks for quick update. Is the wiki outdated then?

https://wiki.freebsd.org/PkgBase#Initial_setup

See point 8.


--GrzegorzJ



More information about the freebsd-pkgbase mailing list