Skip to content

Commit 67387d5

Browse files
committed
updated the post about failed to fetch
1 parent 7d27688 commit 67387d5

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
title: Failed to fetch....Temporary failure resolving 'iad-ad-3.clouds.ports.ubuntu.com'
3+
date: 2025-01-15 07:12:05 +/-TTTT
4+
categories: ["Tech"]
5+
tags: ["ubuntu", "linux"] # TAG names should always be lowercase
6+
description: The error message you're encountering, "Temporary failure resolving 'iad-ad-3.clouds.ports.ubuntu.com'," indicates a DNS resolution issue.
7+
---
8+
9+
## Failed to fetch http://iad-ad-3.clouds.ports.ubuntu.com/ubuntu-ports/pool/main/n/network-manager-pptp/network-manager-pptp_1.2.8-2_arm64.deb Temporary failure resolving 'iad-ad-3.clouds.ports.ubuntu.com'
10+
- On my ubuntu 20:04 server hosted on OCI Cloud
11+
12+
The error message you're encountering, "Temporary failure resolving 'iad-ad-3.clouds.ports.ubuntu.com'," indicates a DNS resolution issue. This means your system is unable to resolve the domain name into an IP address, which is necessary for accessing the repository and downloading packages. Here are some steps you can take to troubleshoot and potentially resolve this issue on Ubuntu 20.04:
13+
1. Check Internet Connection
14+
Ensure your internet connection is stable and working properly. Try accessing other websites or services to confirm.
15+
2. DNS Server Configuration
16+
Check DNS Settings: Ensure that your DNS settings are correct. You can try using a public DNS service like Google's DNS (8.8.8.8) or Cloudflare's DNS (1.1.1.1).
17+
18+
```
19+
sudo nano /etc/resolv.conf
20+
21+
```
22+
23+
Add or modify the following lines:
24+
25+
```
26+
nameserver 8.8.8.8
27+
nameserver 1.1.1.1
28+
```
29+
30+
```
31+
Restart Networking Service: After changing DNS settings, restart the networking service.
32+
```
33+
3. Check for Firewall or Proxy Issues
34+
- Ensure that your firewall or proxy settings are not blocking the connection to the Ubuntu repositories.
35+
1. Try a Different Repository
36+
- If the issue persists, try using a different Ubuntu repository mirror. You can do this by editing your /etc/apt/sources.list file.
37+
38+
```
39+
sudo nano /etc/apt/sources.list
40+
```
41+
42+
- Replace the existing lines with a different mirror, for example:
43+
```
44+
deb http://archive.ubuntu.com/ubuntu focal main restricted
45+
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted
46+
deb http://archive.ubuntu.com/ubuntu focal universe
47+
deb http://archive.ubuntu.com/ubuntu focal-updates universe
48+
deb http://archive.ubuntu.com/ubuntu focal multiverse
49+
deb http://archive.ubuntu.com/ubuntu focal-updates multiverse
50+
```
51+
52+
5. Update and Clean APT Cache
53+
- After making changes, update and clean the APT cache.
54+
```
55+
sudo apt update
56+
sudo apt clean
57+
sudo apt autoclean
58+
```
59+
6. Check for System Updates
60+
- Ensure your system is up-to-date.
61+
```
62+
sudo apt update && sudo apt upgrade -y
63+
```
64+
65+
If none of these steps resolve the issue, it might be a temporary problem with the Ubuntu repository server or your local network configuration. You can try again later or seek further assistance from your network administrator or ISP.

0 commit comments

Comments
 (0)