Alright, and you can ping 8.8.8.8 with no losses ? Have you tried getting closer to your hotspot ? (I found my Pinephone has a quite limited wifi range)
What does "nslookup kernel.org" output? (package dnsutils, in case it's not installed)
What does "nslookup kernel.org" output? (package dnsutils, in case it's not installed)