Date: Sat, 23 Aug 2025 09:34:15 -0700 From: Chuck Tuffli <chuck@freebsd.org> To: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@freebsd.org> Cc: polyduekes@proton.me, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, "freebsd-pkgbase@freebsd.org" <freebsd-pkgbase@freebsd.org> Subject: Re: certificate verification failures during pkg bootstrapping on a 15-PRERELEASE PKGBASE installation Message-ID: <CAKAYmMJoASrBp19XTMWqmPB-e1f52eHiEP8cm2mLmQug87CTGQ@mail.gmail.com> In-Reply-To: <86plcnil2d.fsf@ltc.des.dev> References: <xwGw6hQhjiyfg4DMb4VIGYyHHNnAsuz10zqS2m2L4TERyUHtmamkIEMwsEVzOK_2mO84SJ59-_W5Vq6KTY7hx4t2Gc1_EJlcmJu9SbIWHA4=@proton.me> <86tt1zilpy.fsf@ltc.des.dev> <86plcnil2d.fsf@ltc.des.dev>
index | next in thread | previous in thread | raw e-mail
On Fri, Aug 22, 2025 at 5:43 AM Dag-Erling Smørgrav <des@freebsd.org> wrote: > > Dag-Erling Smørgrav <des@FreeBSD.org> writes: > > polyduekes@proton.me writes: > > > i grabbed the latest iso image snapshots of both bootonly and disc1 of > > > 15-PRELEASE [...] ;) upon doing pkgbase installation using the > > > "packages (experimental)" from the "select installation type" window, > > > pkg bootstrapping and installation falls with [...] > > Certificate verification failed because your clock was not set > > My apologies, I assumed you were talking about the installer itself, but > I see what you mean now. It looks like either certctl rehash did not > run or, more likely, it ran but failed because the output directories > did not exist. I did not anticipate this as they're listed in the mtree > files, but those are not used when installing packages. I'll prepare a > patch to make certctl create the directories as needed. In the > meantime, you can run: > > mtree -deU -f /etc/mtree/BSD.root.dist -p / > certctl rehash This allowed me to run pkg after a fresh install with yesterday's snapshot ISO. Thank you! --chuckhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKAYmMJoASrBp19XTMWqmPB-e1f52eHiEP8cm2mLmQug87CTGQ>
