Can't update OSMC

Hi,

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 http://security.debian.org stretch/updates InRelease [94.3 kB]
Hit:2 Index of /osmc/osmc/apt stretch InRelease
Err:3 Index of /debian stretch InRelease
Could not connect to klecker-ftp.debian.org:80 (130.89.148.12), connection timed out Could not connect to ftp.acc.umu.se:80 (194.71.11.165), connection timed out Unable to connect to ftp.debian.org:http: [IP: 194.71.11.165 80]
Err:4 Index of /debian stretch-updates InRelease
Unable to connect to ftp.debian.org:http: [IP: 194.71.11.165 80]

sources.list seems ok :

deb Index of /debian stretch main contrib non-free
deb Index of /debian stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb http://apt.osmc.tv 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 http://ftp.debian.org/debian

  1. What happens if you put that in your PC’s Webbrowser?
  2. What happens if you do wget http://ftp.debian.org/debian on one of the Pi’s?
  3. What’s the output of ping 194.71.11.165?

1 :
timeout in both firefox / chrome

2 :

Resolving ftp.debian.org (ftp.debian.org)… 130.89.148.12, 2001:67c:2564:a119::148:12
Connecting to ftp.debian.org (ftp.debian.org)|130.89.148.12|:80…

and hangs there

3:

PING 194.71.11.165 (194.71.11.165): 56 data bytes

and hangs there

All three pi have static adress for years. DNS are 8.8.8.8/8.8.4.4 just tried with 1.1.1.1 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: