Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2025 16:51:33 +0100
From:      h v <henry.vogt@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: changing from pkgbase to regularbase
Message-ID:  <0d4efe48-34e1-4c0e-bbf3-07f2675f923a@gmail.com>
In-Reply-To: <3a98225a-0f49-4010-9e6b-8f893a069ba1@FreeBSD.org>
References:  <aR3Rc_5llfvlEjIo@int21h> <aR8OTHleXSR4ysZ-@int21h> <3a98225a-0f49-4010-9e6b-8f893a069ba1@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Am 20.11.25 um 15:56 schrieb Matthew Seaman:
> On 20/11/2025 12:49, void wrote:
>> What I'm ultimately looking for, is a method of transforming
>> a pkgbase system into a not-pkgbase one, that upgrades
>> in the traditional source-based way.
>
> This is how I would do it:
> ...

if on zroot, you could simply:

1)create a new bootenv e.g bectl create NONPKGBASE

2)mount it e.g. bectl mount NONPKGBASE /mnt

3) pkg -r /mnt delete -f -g 'FreeBSD-*'   # this is  one of the rare 
legitimate use cases for  -f  imho:-)

4) install the base os as usual  e.g cd /usr/src ; make install DESTDIR=/mnt

5) activate NONPKGBASE  snd reboot into it.

6) if all went well destroy the original and voilá


Hope this helps.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0d4efe48-34e1-4c0e-bbf3-07f2675f923a>