diff --git a/cdist/conf/type/__package_dpkg/gencode-remote b/cdist/conf/type/__package_dpkg/gencode-remote index 1c271748..6223c94a 100755 --- a/cdist/conf/type/__package_dpkg/gencode-remote +++ b/cdist/conf/type/__package_dpkg/gencode-remote @@ -37,7 +37,7 @@ state_should="" case "$state" in present) - echo "dpkg --install /var/cache/apt/archives/$__object_id" + echo "dpkg --install --skip-same-version /var/cache/apt/archives/$__object_id" echo "installed" >> "$__messages_out" ;; absent)