On 6/3/2019 11:40 AM, Brian wrote: > On Mon 03 Jun 2019 at 09:58:38 +0200, john doe wrote: > >> Hi, while installing Buster using a preseed file I'm getting the following: >> >> Select and install software >> Configuring libpam0g:amd64 >> -------------------------- >> >> There are services installed on your system which need to be restarted when >> certain libraries, such as libpam, libc, and libssl, are upgraded. Since >> these >> restarts may cause interruptions of service for the system, you will >> normally >> be prompted on each upgrade for the list of services you wish to >> restart. You >> can choose this option to avoid being prompted; instead, all necessary >> restarts >> will be done for you automatically so you can avoid being asked questions on >> each library upgrade. >> Restart services during package upgrades without asking? >> 1: Yes 2: No [*] >> Prompt: '?' for help, default=2> >> >> If I use 'DEBIAN_FRONTEND=noninteractive' it works and will use the >> default value and I don't get any output on the screen. >> >> I don't see what I need to change in (1) to avoied that prompt and I >> can't specify the value of my choise? >> >> Any help is appriciated. >> >> 1) https://d-i.debian.org/manual/example-preseed.txt > > Download and open the libpam0g package. Its DEBIAN directory has a > templates file; the preseed directive you want is in it. >
Thanks for the hint, here's what I ended up doing: In '/var/log/installer/cdebconf/questions.dat' I had: Name: libpam0g/restart-services Template: libpam0g/restart-services Value: cron Name: libraries/restart-without-asking Template: libraries/restart-without-asking Value: false and in the preseed file I use: d-i libpam0g/restart-services string cron d-i libraries/restart-without-asking boolian false In a nut shell, I simply had to convert the debconf format to the preseed file format. -- John Doe