Source: puppet Version: 4.8.2-1 Severity: important Hi,
please note that this is not a duplicate of #854487 (although related because my manifest tried to disable the puppet service). Puppet on Stretch spews an error message about a wrong invocation of dpkg --compare-version on stderr when trying to disable a service. root@dns-q-neu:~# puppet resource service puppet enable='false' --debug Debug: Runtime environment: puppet_version=4.8.2, ruby_version=2.3.3, run_mode=user, default_encoding=UTF-8 Debug: Evicting cache entry for environment 'production' Debug: Caching environment 'production' (ttl = 0 sec) Debug: Evicting cache entry for environment 'production' Debug: Caching environment 'production' (ttl = 0 sec) Debug: Evicting cache entry for environment 'production' Debug: Caching environment 'production' (ttl = 0 sec) Debug: Evicting cache entry for environment 'production' Debug: Caching environment 'production' (ttl = 0 sec) Debug: Evicting cache entry for environment 'production' Debug: Caching environment 'production' (ttl = 0 sec) Debug: Failed to load library 'cfpropertylist' for feature 'cfpropertylist' Debug: Puppet::Type::Service::ProviderInit: false value when expecting true Debug: Puppet::Type::Service::ProviderUpstart: 0 confines (of 4) were true Debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not exist Debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist Debug: Puppet::Type::Service::ProviderOpenbsd: file /usr/sbin/rcctl does not exist Debug: Puppet::Type::Service::ProviderOpenrc: file /bin/rc-status does not exist Debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist Debug: Puppet::Type::Service::ProviderRedhat: file /sbin/chkconfig does not exist Debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist Debug: Loaded state in 0.03 seconds Debug: Loaded transaction store file in 0.00 seconds dpkg: error: --compare-versions takes three arguments: <version> <relation> <version> Type dpkg --help for help about installing and deinstalling packages [*]; Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' ! Debug: Executing: '/usr/sbin/update-rc.d -f puppet remove' Debug: Executing: '/usr/sbin/update-rc.d puppet stop 00 1 2 3 4 5 6 .' Notice: /Service[puppet]/enable: enable changed 'true' to 'false' Debug: Finishing transaction 47004484109700 Debug: Storing state Debug: Stored state in 0.03 seconds service { 'puppet': enable => 'true', } Additionally it does not actually disable the service at all. But this might be a bug in update-rc.d. Bernhard