Comments (6)
@ISquishWorms your issue is completely different as you have some DNS challenges. Check your DNS server used as you are not able to resolve github.com
@sfbuch did you already tried apt --fix-broken install
?
from dietpi.
Just to say I am also getting this error and was about to make a post on the same topic. I did try running the command 'apt --fix-broken install' and then tried to update again but I am still getting an error.
Details:
- Date | Thu Feb 22 23:54:16 GMT 2024
- Bug report | 59276acf-c7a9-409c-b97f-e72ce1f121ea
- DietPi version | v9.0.2 (MichaIng/master)
- Image creator |
- Pre-image |
- Hardware | RPi 4 Model B (aarch64) (ID=4)
- Kernel version |
Linux RaspberryPi-4 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
- Distro | bookworm (ID=7,RASPBIAN=0)
- Command |
curl -sSfLO https://github.com/MichaIng/DietPi/archive/master.tar.gz
- Exit code | 6
- Software title | DietPi-Update
Steps to reproduce:
- ... dietpi-update
- ...
Expected behaviour:
- ... The update should be downloaded and applied.
Actual behaviour:
- ... See above error.
Extra details:
- ...
Additional logs:
curl: (6) Could not resolve host: github.com
from dietpi.
@ISquishWorms your issue is completely different as you have some DNS challenges. Check your DNS server used as you are not able to resolve github.com
Will do, I have my DNS set to PiHole using Unbound at the moment I will change that just for the update and try again. Although I did have the same error sfbuch had initially before running the "apt --fix-broken install". Also not sure why I can access github on the PC to post about the error I am having as the PC is on the same network as the PI using the same DNS?
from dietpi.
Ok running the "apt --fix-broken install" fixed the issue but as Joulinar pointed out I then ran into a DNS problem which was resolved by using Cloudflare instead of my local DNS supplied by another PI using PiHole and Unbound. Never had an issue while updating using the local DNS before so not sure why this caused a problem last night. Oh well it is now solved thank you Joulinar for the assistance.
from dietpi.
UPDATE: Eventually got into dietpi-config and turned off IPv6. I think that fixed it.
Also getting this on first run:
Reference code: 51bd4ec2-d122-43e9-8502-a129b74dbbf0
from dietpi.
Are you having multiple GitHub accounts or are you a different person? 😄
If Pi-hole or Unbound have issues resolving a hostname, both have query logs to check what went wrong. Also check whether both services are running and whether they report errors:
systemctl status unbound pihole-FTL
journalctl -u unbound -u pihole-FTL
Resolving hostnames to IPv6 addresses and actually connecting via IPv6 are two different things. The first should always work, even if the system does not actually support/have an IPv6 address. But connecting to/downloading from that resolved IPv6 would then fail. When doing a dietpi-update
or dietpi-software
installation, we actually check whether connecting to an IPv6 IP works, in case it is even enabled, and do a prompt in case if fails, before doing any APT upgrade, download or whatever. If this check fails, the error dialog allows you to disable IPv6 quickly. But also quite possible that IPv6 in general works, but has issues from a particular location/network to a particular remote host. Still not 100% reliable in 2024 😞.
Since OP is quite a while ago and the other found solutions, I'll mark this as closed.
from dietpi.
Related Issues (20)
- Regression: GPIO | Latest kernel deprecates sysfs API #5385 HOT 19
- Update failed HOT 1
- Donation: Paypal "Donations to this recipient aren't supported in this country" HOT 4
- HomeBridge stop working ... installed but not HOT 2
- dietpi-update | Error with php apt signing key HOT 6
- Probelm updating from 8.22.3 to 9.2 HOT 2
- Bad news :PiVPN is ending. HOT 18
- available image for Pi-5 HOT 5
- Faile install Logitech Media server HOT 2
- logname: no login name HOT 5
- dietpi-update on first boot is not working HOT 1
- Dietpi-Software Portainer HTTPS? HOT 3
- Time Server Issue in China HOT 21
- Initial startup fails HOT 1
- Failed to install Docker via software HOT 4
- [USER ERROR] After Bullseye upgrade, `apt-get -y -eany update` fails with `option 'e' [from -eany] is not understood` HOT 4
- CPU Governor on NanoPi NEO3 seems faulty HOT 7
- Iteration v9.4 (2024-05-11)
- APT | TLS errors when connecting to dietpi.com HOT 13
- DietPi has encountered an error during update to v9.3.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.