Could not resolve ‘’ OpenMediaVault | Raspberry Pi

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

Equipment Required Optional
Raspberry Pi
Raspberry Pi 4 Case
SD_Card SD Card Raspberry Pi Keyboard
Ethernet Cable Mouse
Charger Power Adapter    
HDD External 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.


  • 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:
  • After that press CTRL+X and then Y to save the file. Once this step finishes you can try to update your system.


  • 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 votes
Article Rating
Notify of
Inline Feedbacks
View all comments