Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2020 12:00:07 +0100
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        Gleb Popov <arrowd@freebsd.org>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Scripting bsdinstall
Message-ID:  <20200102120007.3b83af14@ernst.home>
In-Reply-To: <CALH631mtpsg2eW_G1uCmUEUmcnEQjVk9CbJJm2Z6HtnGr1s_hw@mail.gmail.com>
References:  <CALH631=S0d9kmYRNrG5PVg9rqUF80Ko_Z5DsP=9dGKQKodW5Hg@mail.gmail.com> <96ecfc02-04f6-7222-4582-3740c505c7e5@FreeBSD.org> <CALH631mswuj3xXJ8O96PKCBZUpBUWJ%2Bg0CsP0Cr7GTi1BbLS9w@mail.gmail.com> <CALH631n23WTeJgZma3Mi5i6-8fvymCA9sVh4hD1JVsMt6hDrMw@mail.gmail.com> <c071f618-3596-40b1-881f-3dbe83c24491@comcast.net> <201912271129.xBRBTrqD050866@kx.truefc.org> <CALH631mtpsg2eW_G1uCmUEUmcnEQjVk9CbJJm2Z6HtnGr1s_hw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Jan 2020 13:08:48 +0400
Gleb Popov <arrowd@freebsd.org> wrote:

> Continuing my quest I met another problem.
> 
> In the setup script I have following line:
> 
> pkg install -y openvpn python python3
> 
> It gets executed in the chroot, the installed system. During package
> installation I see following warnings:
> 
> indexinfo: no such file or directory
> POST-INSTALL script failed
> 
> However, when I enter the chroot shell, this binary works fine.
> 
> Any ideas how to fix this?
>

If you know exactly which binary it is then just put it into its
own pkg install line with -I.  This flag suppresses running PRE-/
POST-INSTALL scripts.

If you don't care which of the three it is then just add -I to
the line above.

This information is in PKG-INSTALL(8).

-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200102120007.3b83af14>