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 RequiredOptional
Raspberry Pi
Raspberry Pi 4Case
SD_CardSD CardRaspberry Pi Keyboard
Ethernet
Ethernet CableMouse
ChargerPower Adapter  
HDDExternal HDD  
Shop now

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 Facebookfacebook
Support us on PatreonPatreon
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 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments