Re: Setting up third party apt repositories

Matthew Pounsett <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <CAAiTEH8rVKqeYM6F+24e7MHczYr5MO6zeBvkPvvNcq53zVq57w@mail.gmail.com>
On Wed, 31 Mar 2021 at 01:58, Thomas Lange <[email protected]> wrote:
>
> >>>>> On Tue, 30 Mar 2021 18:13:52 -0400, Matthew Pounsett <[email protected]> said:
>
>     > #! /bin/bash
>     > error=0; trap 'error=$(($?>$error?$?:$error))' ERR # save maximum error code
>     > source $target/etc/os-release
>     > apt-get -y install apt-transport-https ca-certificates
> If you want more executables inside the nfsroot, put the package names
> into /etc/fai/NFSROOT and recreate the nfsroot.

Thanks for this suggestion .. I'm embarrassed it didn't occur to me.
Unfortunately, it doesn't seem to work in this case either.  Even with
ca-certificates in the nfsroot I'm still getting cert errors during
the 'updatebase' task.

Interestingly, once the install is done if I break out to the shell,
both `apt list --installed | grep ca-cert` AND `$ROOTCMD apt list
--installed | grep ca-cert` show the package is installed, and running
`apt update` at that point produces no errors.

I'm not really sure what's going on there .. I would have expected the
environment to be no different at those two stages.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.