Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Using apt or yum Fails with Error: "503 Service Unavailable" or "FAILED: Trying other mirror"

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] 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!