See how this other package takes a more cautions approach: ──┤ Configuring libpam0g:amd64 ├─── │ Most services that use PAM need to be restarted to use modules built for this new version of libpam. Please review the following space-separated │ │ list of init.d scripts for services to be restarted now, and correct it if needed. │ │ │ │ Services to restart for PAM library upgrade: │ │ │ │ exim4 cron atd_____________________________________________________________________________________________________________________________________ │ │ │ │ <Ok>
Just remove all the restart code, please.