Can't update OSMC


I have three raspberry Pi3, Stretch, OMSC 18.2 July version.
All three have exact same behavior, since more than a week:

They destect an update, try to download, and fail.

With SSH I do sudo apt-get update && sudo apt-get dist-upgrade

Then I have this error :

Get:1 stretch/updates InRelease [94.3 kB]
Hit:2 stretch InRelease
Err:3 stretch InRelease
Could not connect to (, connection timed out Could not connect to (, connection timed out Unable to connect to [IP: 80]
Err:4 stretch-updates InRelease
Unable to connect to [IP: 80]

sources.list seems ok :

deb stretch main contrib non-free
deb Index of /debian stretch-updates main contrib non-free
deb stretch/updates main contrib non-free
deb stretch main

They all are connected with RJ45, have internet, and all local libraries on network (NAS) works like usual.
No addons, just movies and music in a local db.

Is there something I can check ?

Well seems to be a connection problem to

  1. What happens if you put that in your PC’s Webbrowser?
  2. What happens if you do wget on one of the Pi’s?
  3. What’s the output of ping

1 :
timeout in both firefox / chrome

2 :

Resolving (…, 2001:67c:2564:a119::148:12
Connecting to (||:80…

and hangs there


PING ( 56 data bytes

and hangs there

All three pi have static adress for years. DNS are just tried with in /etc/resolv.conf but doing the same

Thanks for your time :wink:

Well it’s not a DNS problem if you can not ping that IP.
So either your ISP has a problem with that IP range or something misconfigured on your router.
As a temporary fix you could find another debian mirror and configure it in your hosts file.

Wow, strange, I reloaded a backup of my router configuration two weeks ago, and suddenly all works !!
Didn’t see anything different in the configuration, will check that to understand what happens.

Thanks again :wink: