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
Fix regression where apt update exits with code 100 due to dep11
(AppStream metadata) mirror sync failures, causing ARM64 CI builds
to fail even when core package indices are available.
Root Cause:
- Ubuntu mirrors occasionally have size mismatches for dep11 metadata
during synchronization (e.g., Components-arm64.yml.gz files)
- apt update returns exit code 100 when ANY file fails to download
- Previous logic required APT_EXIT == 0 AND no critical failures
- This meant dep11 failures (non-critical) caused retries and eventual
failure after 3 attempts
Issue Example:
E: Failed to fetch .../dep11/Components-arm64.yml.gz
File has unexpected size (3692 != 3697). Mirror sync in progress?
E: Some index files failed to download. They have been ignored, or
old ones used instead.
Error: The process failed with exit code 100
Fix Strategy:
- Check ONLY for critical package index failures (Packages/Sources/
Release/InRelease), not exit code
- dep11 metadata failures are non-critical (GUI application metadata)
- Core build tools (make, git, curl, clang, bc) don't require dep11
- If core indices available, proceed regardless of dep11 status
0 commit comments