You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Retry a Failed Package List Read Once in install-tools.sh #4531
host-setup/linux/install-tools.sh reads the package lists through apt_refresh, which runs a bare apt-get update. That runs across the third-party repositories the script itself adds, such as gh, node, docker, powershell, and op. A repository caught mid-sync can serve index files whose size or hash disagrees with its Release file. apt-get update then exits 100 and the run stops. The installs that read those lists can fail the same way.
#4530 gave upgrade-host.sh a single retry for exactly this window, through its apt_retry helper. install-tools.sh has no equivalent, so a nightly --upgrade can still report a false failure for it.
Proposal
Give install-tools.sh's list read, and the installs that fetch, the same single retry on an unattended run. That is a bounded wait, a fresh apt-get update, and one more attempt. Keep the second failure exiting non-zero. Consider whether the two scripts should share the helper or each carry their own small copy.
Activity
Retry the Package Upgrade Once After a Mirror Mismatch in upgrade-hos…
Retry a Failed Package List Read Once in install-tools.sh (#4535)