Error: Unable to update package cache. Please try "sudo apt update"

Please follow the below template, it will help us to help you!

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

_I am trying to install pi-hole in my Ubuntu Linux and I am expecting the normal installation after I enter therse commands:
wget -O basic-install.sh https://install.pi-hole.net
sudo bash basicinstall.sh
However is throwing error during the installation

Actual Behaviour:

I am getting this error message:

Debug Token:

I tried the sudo apt update command as mentioned but still it gave the same error.

This is an OS-level issue. You have repositories that are not available (appears at least that the cdrom is not present).

Visit the forums for your OS or that software and resolve the problem.

Only after sudo apt update completes normally will the Pi-hole installer progress.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.