Could not resolve ‘archive.raspberrypi.org’ OpenMediaVault | Raspberry Pi

In this segment, we are going to explain “How to fix Could not resolve ‘archive.raspberrypi.org‘ for OpenMediaVaultRaspberry Pi | Ubuntu

 

Equipment Required Optional
Raspberry Pi Raspberry Pi 4 Case
SD_Card SD Card Keyboard
Ethernet Ethernet Cable Mouse
Charger Power Adapter    
HDD External HDD    
Buy Now

You can Buy Raspberry Pi 4 Kit from here

We all got confused when your Raspberry Pi or any other Linux machine stop getting updates or refused to connect to the download server. Then we start checking our internet connection and look around for solutions, but the problem resides inside the PC itself.

First, let me explain to you why this problem actually occurs. This is a really common issue generated by the operating system itself.  The operating system makes a backup of the DNS resolve file, then OS is not able to get the updates from the server.

So, I will explain to you two ways to resolve this issue.

Step-1:

  • In this step, we need to create a new file so our system can connect to the DNS server.
sudo nano /etc/resolv.conf
  • Now you will see a blank screen then we need to type:
nameserver 8.8.8.8
  • After that press CTRL+X and then Y to save the file. Once this step finishes you can try to update your system.

Step-2:

  • In this step, we are going to change the backup file name to its original name.
sudo mv /etc/resolv.conf.bak /etc/resolv.conf
  • This step will change the file name to its original name, after this step you can reboot your system and check for updates.

In conclusion

  • You are all set to use your Raspberry Pi again.
  • Please share your valuable feedback about the article.

Need to go through Posts

Did you find us helpful?

Subscribe our YouTube Channel
Like us on Facebook facebook
Support us on Patreon Patreon
Share This Article with others

Harish Kumar

As a founder of the PcMac YouTube channel and website, Our goal is to provide Free Technical help to people and spread knowledge to everyone.
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments