Date: Sun, 16 Nov 2025 05:41:54 +0000 From: Colin Percival <cperciva@tarsnap.com> To: Yasuhiro Kimura <yasu@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: Re: git: 9835413fb078 - releng/15.0 - bsdinstall: Enable FreeBSD-base repo when pkgbase Message-ID: <0100019a8b2f254b-994b96d1-7ae4-4d9f-9bb1-d795d4ba6ced-000000@email.amazonses.com> In-Reply-To: <20251116.133154.1583876536335720886.yasu@FreeBSD.org> References: <202511160312.5AG3C6RS094400@gitrepo.freebsd.org> <20251116.133154.1583876536335720886.yasu@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
On 11/15/25 20:31, Yasuhiro Kimura wrote:
> When it is fresh install of 15.0-RC1 pkgbase system, information of
> FreeBSD-base repository is put as below
> [...]
> And it works as is expected.
>
> When it is upgrade from 15.0-BETA5 or before, on the other hand, the
> information is put as below after `pkg upgrade` has finished.
> [...]
> [/usr/local/etc/pkg/repos/FreeBSD-base.conf]
> ----------------------------------------------------------------------
> FreeBSD-base: {
> url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_0",
> mirror_type: "srv",
> signature_type: "fingerprints",
> fingerprints: "/usr/share/keys/pkg",
> enabled: yes
> }
> ----------------------------------------------------------------------
>
> Since settings in /usr/local/etc/pkg/repos/FreeBSD-base.conf overwrite
> ones in /etc/pkg/FreeBSD.conf, "pkg.FreeBSD.org" is still used as url
> of FreeBSD-base repository.
Yes, we'll have to document this clearly. The problem here is that since
/usr/local/etc/pkg/repos/FreeBSD-base.conf is created by the installer,
pkgbase doesn't know anything about it.
I'm thinking something along these lines:
> If you are upgrading a system which was installed using pkgbase prior to
> FreeBSD 15.0-RC1, after upgrading you should remove all of the fields in
> the "FreeBSD-base" definition in /usr/local/etc/pkg/repos/FreeBSD-base.conf
> except for the line "enabled: yes".
--
Colin Percival
FreeBSD Release Engineering Lead & EC2 platform maintainer
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0100019a8b2f254b-994b96d1-7ae4-4d9f-9bb1-d795d4ba6ced-000000>
