Update to 17.6 Fails

So just to be clear, you did a full reinstall 2 months ago and had exactly the same problems during the first update?

It’s possible that @sam_nazarko was suggesting you wait a while on the assumption that the problem was probably just a temporary network glitch.

Perhaps your Vero2 is having a few hardware issues - or perhaps your ISP is messing with the data feed. Unfortunately, as things stand, the Debian and OSMC repos are on unencrypted http, so are potentially vulnerable to corruption by transparent proxies. If you can try updating with a VPN, that might narrow things down a bit.

Is there a way to check for hardware issues?

My ISP is Comcast, so it’s possible they are doing things like that, but I do not have a VPN to try.

Also, I just reinstalled everything, restored from backup, and now I get a “File Exists” error whenever I connect to some (not all) of my network shares.

https://osmc.tv/wiki/general/how-to-submit-a-useful-support-request/

New problem requires new logs.

The NAND spits out a warning to dmesg if you have bad blocks. This doesn’t seem to be the case here.

You could change the OSMC repo to use Index of /osmc/osmc/apt which is an HTTPS mirror.

I believe you can do the same for Debian, but beforehand you need to install apt-transport-https. This will stop Comcast meddling if they are doing so.

It’s not quite so simple. The great majority of Debian mirrors do not support TLS and there’s no official list that I’m aware of where the TLS mirrors are listed. There’s a python3 script here that pulls the full mirror list from Debian worldwide mirror sites and tries each one in turn. When I ran it only 76 out of a possible 379 mirrors supported TLS.

I believe there are no mirrors of security.debian.org - and AFAICT it is http-only.

@LexPendragon In additional to monkeying around with http traffic, I came across a thread here where people were discussing the alleged hijacking of DNS traffic. A piece of python code, namebench came up that is supposed to detect such nonsense. I tried it on my own network and, well, it complained that someone was hijacking my DNS. Yep, that would be me.

There are lots of clever ways to detect things like transparent proxies. Usually by breaking them

Just now, I got that same update error from my first comment, yet in apt-get there were no updates.

osmc@Oswin:/$ sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

If you installed the latest version from osmc.tv/download; there are no published updates to yet be installed.

Sam

That’s what I figured, but it still popped up with an error on my screen.

Can you try a neighbour / friend’s WiFi or tether from your phone?

I do not have access to either of those, no. Even if so, why would it give me that error screen if there weren’t any automatic updates to get?

You’ve been asked for logs, you probably should post them.

Because the update check would be failing.

That makes sense.

Here’s the logs again:
Logs available at https://paste.osmc.tv/pojowayide

This jumps out at me:

deb https://ftp.fau.de/osmc/osmc/apt/ stretch main

Why are you not using the default:

deb http://apt.osmc.tv stretch main

As I mentioned in post #17, most Debian repositories don’t support TLS - and that includes ftp.debian.org and security.debian.org. Your /etc/apt/sources.list contains:

deb https://ftp.debian.org/debian stretch main contrib non-free
deb https://ftp.debian.org/debian/ stretch-updates main contrib non-free
deb https://security.debian.org/ stretch/updates main contrib non-free

For the first two, try one of these:

https://ftp.tu-graz.ac.at/mirror/debian/
https://mirror.as35701.net/debian/
https://debian.ludost.net/debian/
https://ftp.uni-sofia.bg/debian/
https://mirror.csclub.uwaterloo.ca/debian/
https://mirrors.ucr.ac.cr/debian/
https://ftp.debian.cz/debian/
https://ftp.sh.cvut.cz/debian/
https://ftp.zcu.cz/debian/
https://mirror.dkm.cz/debian/
https://mirror.one.com/debian/
https://mirrors.dotsrc.org/debian/
https://debian.ues.edu.sv/debian/
https://debian.mirror.ate.info/
https://ftp.u-strasbg.fr/debian/
https://mirror.plusserver.com/debian/debian/
https://mirrors.ircam.fr/pub/debian/
https://debian.charite.de/debian/
https://debian.inf.tu-dresden.de/debian/
https://ftp.fau.de/debian/
https://ftp.halifax.rwth-aachen.de/debian/
https://ftp.heikorichter.name/debian/
https://ftp.mpi-sb.mpg.de/pub/linux/debian/
https://ftp-stud.hs-esslingen.de/debian/
https://ftp.uni-mainz.de/debian/
https://mirror.netcologne.de/debian/
https://packages.hs-regensburg.de/debian/
https://mirror.xtom.com.hk/debian/
https://debian.simnet.is/debian/
https://mirror.isoc.org.il/pub/debian/
https://freedom.dicea.unifi.it/debian/
https://mi.mirror.garr.it/mirrors/debian/
https://debian.koyanet.lv/debian/
https://mirror.litnet.lt/debian/
https://mirror.t-home.mk/debian/
https://ftp.nluug.nl/debian/
https://mirror.i3d.net/pub/debian/
https://mirror.nforce.com/debian/
https://mirror.novg.net/debian/
https://ftp.eq.uc.pt/software/Linux/debian/
https://ftp.rnl.tecnico.ulisboa.pt/pub/debian/
https://mirrors.up.pt/debian/
https://mirrors.nxthost.com/debian/
https://mirrors.pidginhost.com/debian/
https://mirrors.xservers.ro/debian/
https://ftp.psn.ru/debian/
https://mirror.corbina.net/debian/
https://mirror.0x.sg/debian/
https://ftp.arnes.si/debian/
https://debian.redimadrid.es/debian/
https://debian.redparra.com/debian/
https://ftp.cica.es/debian/
https://ftp.acc.umu.se/debian/
https://debian.ethz.ch/debian/
https://mirror.sinavps.ch/debian/
https://pkg.adfinis-sygroup.ch/debian/
https://ftp.debianclub.org/debian/
https://mirror.kku.ac.th/debian/
https://debian.mirror.uk.sargasso.net/debian/
https://mirror.bytemark.co.uk/debian/
https://mirror.mythic-beasts.com/debian/
https://mirrorservice.org/sites/ftp.debian.org/debian/
https://mirror.sucs.swan.ac.uk/pub/linux/debian/
https://mirror.vorboss.net/debian/
https://the.earth.li/debian/
https://debian.osuosl.org/debian/
https://mirror.math.princeton.edu/pub/debian/
https://mirrors.bloomu.edu/debian/
https://mirrors.cat.pdx.edu/debian/
https://mirrors.kernel.org/debian/
https://mirrors.lug.mtu.edu/debian/
https://mirrors.ocf.berkeley.edu/debian/
https://mirrors.syringanetworks.net/debian/
https://mirror.steadfast.net/debian/
https://mirrors.wikimedia.org/debian/
https://mirrors.xmission.com/debian/

AFAIK, you cannot use https for security.debian.org, so you’re stuck.

Post #15 from @sam_nazarko told me to.

Alright, I am a bit confused. What should my /etc/apt/sources.list look like?

Using the first example on the list of https sites:

#deb http://ftp.debian.org/debian stretch main contrib non-free
#deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free
#deb http://security.debian.org/ stretch/updates main contrib non-free
deb https://ftp.tu-graz.ac.at/mirror/debian/ stretch main contrib non-free
deb https://ftp.tu-graz.ac.at/mirror/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb https://ftp.fau.de/osmc/osmc/apt/ stretch main
#deb http://apt.osmc.tv stretch main

Thank you (for this and all your help).

I made that change, and now I do not get any errors during the apt-get update nor dist-upgrade. (No updates to get, obviously, but no errors.)