Date: Sat, 22 Nov 2025 18:09:31 +0900 From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> To: Lexi Winter <ivy@freebsd.org> Cc: void <void@f-m.fm>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: changing from pkgbase to regularbase Message-ID: <20251122180931.52c1141475f5faec4fad633c@dec.sakura.ne.jp> In-Reply-To: <aSETbVSLxcDa5ssB@amaryllis.le-fay.org> References: <aR3Rc_5llfvlEjIo@int21h> <aSEGPTtrfV29u9R9@amaryllis.le-fay.org> <71e4b46c-8d69-451d-92ca-79316ffc4b63@app.fastmail.com> <aSETbVSLxcDa5ssB@amaryllis.le-fay.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Nov 2025 01:35:41 +0000 Lexi Winter <ivy@freebsd.org> wrote: > 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. I don't think disallowing de-pkgbasifying is a good idea. IIRC/IIUC, legacy distribution sets goes away on 16.0, at least from dvd1 image. If other images that don't have pkg from ports in it still keep on providing legacy distribution sets, warning on top of RELNOTES would be sufficient, but if not, installer should have de-pkgbasify option menu like "Do you want to de-pkgbasify for source upgrades?" before installing any non-base pkg is installed on installer. Here is freebsd-current ML. So most of people would be on the way of source upgrades. Imagine upgrading to far future FreeBSD 666-Release! If 15.x is the last release that provides legacy distribution sets, how many step-by-step upgrades are needed who are new to FreeBSD at the future to be able to switch to source upgrades to become FreeBSD developers? *Maybe in such a far future, looking for installer image for 15.x would be quite hard. Anyway, we have some additional years to deside and fix before 16.0. Regards. -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20251122180931.52c1141475f5faec4fad633c>
