diff --git a/master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_function_common.txt b/master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_function_common.txt
index 507716ac9bf38f692a00a7d22767302e4a9d474f..07199c63e01ac68bd89d07bd0585b71256bbe394 100644
--- a/master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_function_common.txt
+++ b/master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_function_common.txt
@@ -1029,6 +1029,7 @@ function update_package_repo {
             # if there are transient errors pulling the updates, that's fine.
             # It may be secondary repositories that we don't really care about.
             apt_get update --allow-releaseinfo-change || /bin/true
+            apt_get update || /bin/true
             REPOS_UPDATED=True
         fi
         $xtrace