Using apt or yum Fails with Error: "503 Service Unavailable" or "FAILED: Trying other mirror"
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64 - Ubuntu and CentOS
Symptoms:
Contacting official repositories for Ubuntu or CentOS intances fails:
- Unable to refresh the Ubuntu repositories in the ubuntu instance with “apt-get update”:
# apt-get update <Truncated for clarity> . E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/main/binary-amd64/Packages 503 Service Unavailable [IP: 91.189.91.82 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/restricted/binary-amd64/Packages.gz 503 Service Unavailable [IP: 91.189.91.82 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/multiverse/i18n/Translation-en.xz 503 Service Unavailable [IP: 91.189.91.82 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/multiverse/cnf/Commands-amd64.xz 503 Service Unavailable [IP: 91.189.91.82 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/main/cnf/Commands-amd64 503 Service Unavailable [IP: 91.189.91.81 80]
Tagged:
0