diff --git a/cdist/conf/type/__package_apt/gencode-remote b/cdist/conf/type/__package_apt/gencode-remote index ee9b3b5a..4508f249 100755 --- a/cdist/conf/type/__package_apt/gencode-remote +++ b/cdist/conf/type/__package_apt/gencode-remote @@ -93,6 +93,7 @@ case "$state_should" in # https://code.ungleich.ch/ungleich-public/cdist/-/issues/861 apt_opts="-o Acquire::AllowReleaseInfoChange::Suite=true -o Acquire::AllowReleaseInfoChange::Version=true" if [ "$(cat "$__object/explorer/index")" = 'update' ]; then + echo 'touch /var/lib/apt/lists' echo "apt-get $apt_opts update || true" fi if [ -n "$version" ]; then