Date: Mon, 20 Oct 2025 16:13:39 +0100
From: Lexi Winter <ivy@freebsd.org>
To: "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, "<dev-commits-src-main@freebsd.org>" <dev-commits-src-main@freebsd.org>
Subject: Re: git: 74a6bb524e5b - main - Makefile: Don't allow install{world,kernel} with pkgbase
Message-ID: <aPZRo_1rX0alrh6Y@amaryllis.le-fay.org>
In-Reply-To: <tay6sfxcr7wlzftytwjokj3yyjykremmw27fnt5zmnon22nub4@fjlgscm62z4z>
References: <202510171914.59HJE0uo036247@gitrepo.freebsd.org> <228220a0-c819-4c51-92d3-5357e925c81d@FreeBSD.org> <aPZKLa0kTvovlqMP@amaryllis.le-fay.org> <CANCZdfoJSHrOWX%2BuZeFT6_UwfFi4yv8h%2BeKY9nUfB0oeHYQNPg@mail.gmail.com> <tay6sfxcr7wlzftytwjokj3yyjykremmw27fnt5zmnon22nub4@fjlgscm62z4z>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Shawn Webb wrote in <tay6sfxcr7wlzftytwjokj3yyjykremmw27fnt5zmnon22nub4@fjlgscm62z4z>:
> On Mon, Oct 20, 2025, 8:42 AM Lexi Winter <ivy@freebsd.org> wrote:
> > Makefile: Don't allow install{world,kernel} with pkgbase
>
> I'm somewhat thinking of reverting this commit until
> install{kernel,world} are taught the notion of pkgbase. It just seems
> like the kind of thing that's gonna surprise our users (in a
> not-so-fun way.)
if you revert this commit, your users will end up with a broken system
because the pkg(8) database will be out of sync with the installed
system. this will cause issues when running pkg(8), for example
overwriting files from the source installation with files from packages.
if you want to switch from pkgbase to not-pkgbase (regardless of whether
you update from source or not), you *must* unregister the installed base
system packages first. currently we don't have a good way to do that
for an installed system, other than removing all ports, deleting the
package database, then reinstalling ports. however, that doesn't change
the fact that *not* doing that is a very bad idea.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaPZRowAKCRD1nT63mIK/
YPECAQCYoZjcT+rZSt0SQ/Az9pKIMslB1H2CrgL3agwegROmrwEA9wZuD46lFwTR
hIO5Pq5CKc5dmsr3QK8qiBWGyTsOoA8=
=hwGg
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aPZRo_1rX0alrh6Y>
