On Tue, Mar 22, 2022 at 03:08:31AM -0700, [email protected] wrote: > On Tuesday, March 22, 2022 at 3:30:07 PM UTC+5:30, Reco wrote: > > Debian-installer is forbidden to remove installed packages by default. > > Hence the message: > > Mar 22 07:35:57 in-target: E: Packages need to be removed but remove is > > disabled. > Understood, then (if you know) what it is the way forward to install either > implementation i.e. ntp or ntpsec in a headless way? > Thank you.
1) Make preseed.cfg, pass it to the installer as specified at [1]. 2) Add something like this into pressed.cfg: preseed/late_command="in-target apt-get install -y ntpsec" 3) Run the installer. Reco [1] https://www.debian.org/releases/stable/amd64/apbs02

