Affects Version/s: None
Fix Version/s: None
Component/s: Chef Client
Any Debian environment or environment using Debian packages.
The package in question is for the Zabbix monitoring agent (which isn't in a repository, so must be installed from package) and it has an "odd" version number:
$ dpkg-deb -W /tmp/zabbix-agent_1.8.3-2_amd64.deb
This is the regular expression currently used by Chef::Provider::Package::Dpkg to parse this output:
which results in the version always appearing to be "1" because the colon is not accepted. Since 1 != 1:1.8.3-2, a reinstall happens every time. This can easily be fixed by adding a colon to the list of acceptable characters:
This bug still seems to exist in the current git version...