Hello,
I have a VPS which came with Ubuntu 22.04 LTS, I have upgraded it into Ubuntu 24.04 LTS. I have followed this guide here- https://www.cyberciti.biz/faq/how-to...ntu-24-04-lts/
After upgrade, I have found it's ok and the VPS upgraded into latest 24.04 LTS. But I can't run command-
Code:
sudo apt-get update
This is returning an error like below-
Code:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble/InRelease Temporary failure resolving 'archive.ubuntu.com'W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/noble-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
I have tried to temporarily add nameserver (8.8.8.8) in resolv.conf file and try to update again. But it's giving same error.
Here is the content of my current /etc/resolv.conf file -
Code:
nameserver 127.0.0.53
options edns0 trust-ad
search .
I have tried to ping www.google.com and it returns ping: www.google.com: Temporary failure in name resolution
How to fix the issue please? Can anybody please help me here?
Thanks in advance.
Bookmarks