After each of the last two updates, I had to reformat from scratch, and the error would still persist. Both times “hardware corruption” was suggested, but there was no evidence of it in the logs.
====================== APT sources.list =================== ZZz2wrJ1
#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
Your sources.list isn’t standard. This is likely causing the problem.
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 Index of /mirror/debian stretch InRelease
Hit:3 Index of /osmc/osmc/apt stretch InRelease
Get:4 Index of /mirror/debian stretch-updates InRelease [91.0 kB]
Hit:5 Index of /mirror/debian stretch Release
Fetched 91.0 kB in 6s (14.1 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following NEW packages will be installed:
vero2-image-3.10.105-9-osmc
The following packages will be upgraded:
armv7-eventlircd-osmc armv7-splash-osmc base-files-osmc curl libcurl3 libcurl3-gnutls libtiff5 mediacenter-addon-osmc vero2-kernel-osmc vero2-mediacenter-osmc
10 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 39.9 MB/57.6 MB of archives.
After this operation, 26.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /osmc/osmc/apt stretch/main armhf vero2-mediacenter-osmc armhf 17.6.0-22 [39.9 MB]
Err:1 Index of /osmc/osmc/apt stretch/main armhf vero2-mediacenter-osmc armhf 17.6.0-22
GnuTLS recv error (-24): Decryption has failed.
E: Failed to fetch https://ftp.fau.de/osmc/osmc/apt/pool/main/v/vero2-mediacenter-osmc/vero2-mediacenter-osmc_17.6.0-22_armhf.deb GnuTLS recv error (-24): Decryption has failed.
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
So it looks like you were getting hash sum errors when the connection is unencrypted and now you’re getting decryption errors when encrypted.
Let’s throw a few commands around and see what comes out of the woodwork, if anything. If nothing throws up an error you can Ctrl-C them after a few seconds.
root@Oswin:/home/osmc# curl https://ftp.fau.de/osmc/osmc/apt/pool/main/v/vero2-mediacenter-osmc/vero2-mediacenter-osmc_17.6.0-22_armhf.deb > /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
1 38.0M 1 592k 0 0 340k 0 0:01:54 0:00:01 0:01:53 341k
48 38.0M 48 18.4M 0 0 2698k 0 0:00:14 0:00:06 0:00:08 3657k
curl: (56) SSL read: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac, errno 0
The network is entirely mine: OSMC device to a Unifi In-Wall WAP, to a dumb TP-LINK Gigabit Switch to the Unifi EdgeMax Router, to the Surfboard SB6190 cable modem. Also, there are four other Linux systems on the network that have no trouble getting updates. (Though they are all OpenSUSE.)
And then tried a different port for the OSMC:
root@Oswin:/home/osmc# curl https://ftp.fau.de/osmc/osmc/apt/pool/main/v/vero2-mediacenter-osmc/vero2-mediacenter-osmc_17.6.0-22_armhf.deb > /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
8 38.0M 8 3360k 0 0 1392k 0 0:00:27 0:00:02 0:00:25 1391k
curl: (56) SSL read: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac, errno 0
That doesn’t seem to make a difference:
root@Oswin:/home/osmc# curl --tlsv1.2 https://ftp.fau.de/osmc/osmc/apt/pool/main/v/vero2-mediacenter-osmc/vero2-mediacenter-osmc_17.6.0-22_armhf.deb > /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
9 38.0M 9 3744k 0 0 1285k 0 0:00:30 0:00:02 0:00:28 1284k
curl: (56) SSL read: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac, errno 0
And the dropped packets (after I ran that command) is now at 2.
Half of the OpenSUSE boxes are actually on WiFi (through the WAP that the OSMC box uses.)
I can take the WAP out of the middle and use the uplink to go straight to the OSMC device. Or I can plug my laptop into the other side of the WAP and test it that way. (Whichever I can get to first.) I can report back.