Could Not Resolve Error in apt

Hello Everyone! Today while updating my Raspberry Pi I noticed an error that was not critical but wanted to resolve immediately. I did a quick Google and came across this similar issue from 2022. It appears a change at the CDN level has caused this.

:~ $ sudo apt update
Hit:1 bullseye InRelease
Err:7 bullseye InRelease
  Could not resolve ''
Fetched 99.0 kB in 2s (48.1 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch  Could not resolve ''
W: Some index files failed to download. They have been ignored, or old ones used instead.

Resolution Steps

I ran the following commands in the terminal. Once completed I was able to apt update & upgrade without error.

cd /etc/apt/sources.list.d
sudo rm adoptium.list

By removing this list file, I will need to perform a reinstall of my OpenJDK package in the future. However for now I do not need to update my Java version.


Back to top ↑


Mom Said Redefine Success

In High School I had one dream that stands out. Own a Porsche by the time I was 26. Looking back, I have no idea where this dream came from; because I was ra...

Back to top ↑


Back to top ↑


Back to top ↑