SOLVED: Sudo apt update shows warnings and can't update

January 21, 2024, 21:33

iclone

I wanted to update but there are issues with my ppas. Do I need to change them or is it just a temporary issue?

thesourceerror

looks like a internet issue

iclone

I installed pi hole unbound. Do I need to adjust there something?

thesourceerror

ensure your internet is working, first and foremost. ping 8.8.8.8 and see if you get a response.

iclone

Does work

thesourceerror

might be dns. try to ping google.com now

iclone

Doesn't work, interesting

thesourceerror

time to set your dns to 1.1.1.2

iclone

Why that? I used unbound as my dns. Maybe something broke there

thesourceerror

well if you want to update right now, the quickest fix is to temporarily change your dns so you can connect

thesourceerror

then fix your unbound config

iclone

How do I change it again?

thesourceerror

1. Access the Pi-hole web interface: Open a web browser and enter the IP address of your Pi-hole device (e.g., http : // 192.168.1.100/admin ). Log in with your Pi-hole credentials. 2. Navigate to the DNS settings: Click on the Settings tab. Under DNS, click on Upstream DNS Servers.

iclone

Thank you :)

iclone

Changing the DNS strangely didn't fix the issue

thesourceerror

what dns did you use? did you save the config? did you try to reboot?

iclone

The google one. I saved it and did reboot

iclone

If I use "traceroute" it doesn't show anything when trying "google.com"

iclone


iclone

"resolvconf.conf" was the issue. It put in There "127.0.0.1" instead of "127.0.0.1#5335". I followed the tutorial here to change this behavior. https://docs.pi-hole.net/guides/dns/unbound/

iclone

<@755956874045685786> Thank you for hinting me in the way that the cause is the DNS

oops.se

This is a common issue with repositories, just retry.