Date: Sat, 22 Nov 2025 01:35:41 +0000 From: Lexi Winter <ivy@freebsd.org> To: void <void@f-m.fm> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: changing from pkgbase to regularbase Message-ID: <aSETbVSLxcDa5ssB@amaryllis.le-fay.org> In-Reply-To: <71e4b46c-8d69-451d-92ca-79316ffc4b63@app.fastmail.com> References: <aR3Rc_5llfvlEjIo@int21h> <aSEGPTtrfV29u9R9@amaryllis.le-fay.org> <71e4b46c-8d69-451d-92ca-79316ffc4b63@app.fastmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] void wrote in <71e4b46c-8d69-451d-92ca-79316ffc4b63@app.fastmail.com>: > On Sat, 22 Nov 2025, at 00:39, Lexi Winter wrote: > > the point of this warning was to prevent people from running "make > > installworld" on a pkgbase system. apparently, the warning was not > > sufficient... > > Sorry, I'm not with you. Sufficient for what? I mean it was > a sufficient warning, I just had to heed it then do further > things to properly depkgbasify. what the warning says is: ERROR: This target should not be used on a system installed from packages. nonetheless, you ran make installworld on a system installed from packages. so, clearly the warning was not sufficient to prevent you from doing that. we are discussing ways to improve this internally, probably by making the warning more difficult to override... > > if you want to update using "make installworld", you should not install > > using pkgbase. instead, install using distribution sets. > > I wanted to stop using pkgbase completely, without having to go to the > trouble of a complete reinstall from installation media - a state of > affairs I'd consider to be a regression. I'm happy to have found > a method of de-pkgbasifying without complete reinstallation. there is no supported method to "depkgbasify" a system. the correct method to not use pkgbase is to not select pkgbase when installing the system. an unofficial and unsupported, but functional, workaround is to install the system with pkgbase, then immediately run "rm -rf /var/db/pkg" before installing any ports, which will leave you with a system mostly identical to a distribution set install. you will need to manually bootstrap etcupdate after doing this, since pkgbase doesn't install the etcupdate data. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaSETaQAKCRD1nT63mIK/ YOOKAQCBX5WJOcPGcEE403GPAHGYPFv949m9dHXA9Yp/a7+ukwEA+ygRsKGQDKxe JN6MSbYB8Otv6T/cRbC5hNnjQjAZVwY= =KjeR -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aSETbVSLxcDa5ssB>
