It seems that hosts are having an issue installing systemd-timesyncd=247.3-7+deb11u6, possibly due to a difference in script behaviours between deb11u5 and deb11u6. During a puppet run post-imaging, the user systemd-timesync is being created with uid 999, which based on our adduser configuration is not a system user, and so the installation fails. I'm not certain that the package is at fault here, but the timing of this package release makes me suspicious - servers imaged last week with the old version did not have this issue.
For a host that received deb11u5:
hnowlan@wikikube-worker2050:~$ id systemd-timesync uid=105(systemd-timesync) gid=111(systemd-timesync) groups=111(systemd-timesync)
For a new host trying to install deb11u6:
hnowlan@wikikube-worker2070:~$ id systemd-timesync uid=999(systemd-timesync) gid=999(systemd-timesync) groups=999(systemd-timesync)
Sort term, this can be hacked around by running sudo userdel systemd-timesync && sudo run-puppet-agent
Package failing to install via puppet:
Notice: /Stage[main]/Systemd::Timesyncd/File[/etc/systemd/timesyncd.conf]: Dependency Package[systemd-timesyncd] has failures: true [37/997] Warning: /Stage[main]/Systemd::Timesyncd/File[/etc/systemd/timesyncd.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Systemd::Timesyncd/Service[systemd-timesyncd]: Skipping because of failed dependencies Error: Execution of '/usr/bin/apt-get -y -q remove --purge apt-listchanges' returned 100: Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: python3-debconf Use 'sudo apt autoremove' to remove it. The following packages will be REMOVED: apt-listchanges* su: warning: cannot change directory to /nonexistent: No such file or directory ERROR:debmonitor:Failed to execute DebMonitor CLI: 'NoneType' object has no attribute 'source_name' 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up systemd-timesyncd (247.3-7+deb11u6) ... adduser: The user `systemd-timesync' already exists, but is not a system user. Exiting. dpkg: error processing package systemd-timesyncd (--configure): installed systemd-timesyncd package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: systemd-timesyncd E: Sub-process /usr/bin/dpkg returned an error code (1)