Error installing (update)

I get an error whenever I try to update OSMC.

http://paste.osmc.tv/xigamegene

Feb 05 16:42:53 JOHANNES-VERO mediacenter[433]: 2020-02-05 16:42:53.642602 apt_cache_action.py exception value : Failed to fetch http://ftp.fau.de/osmc/osmc/apt/pool/main/v/vero3-mediacenter-osmc/vero3-mediacenter-osmc_18.5.0-6_armhf.deb Hash Sum mismatch

The download of package vero3-mediacenter-osmc seems to be corrupt.

If you know how to SSH to the device, please run the following:

sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade

From SSH:

Reading package listsā€¦ Done
Building dependency tree
Reading state informationā€¦ Done
Calculating upgradeā€¦ Done
The following packages will be upgraded:
base-files-osmc libsasl2-2 libsasl2-modules-db libssl1.0.2
mediacenter-addon-osmc perftune-osmc python-apt python-apt-common
python3-apt sudo vero3-mediacenter-osmc vero3-wifi-osmc
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 99.6 MB of archives.
After this operation, 11.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://security.debian.org stretch/updates/main armhf python-apt-common all 1.4.1 [93.6 kB]
Get:2 http://security.debian.org stretch/updates/main armhf python3-apt armhf 1.4.1 [162 kB]
Get:3 http://security.debian.org stretch/updates/main armhf python-apt armhf 1.4.1 [164 kB]
Get:4 http://security.debian.org stretch/updates/main armhf libssl1.0.2 armhf 1.0.2u-1~deb9u1 [927 kB]
Get:10 http://security.debian.org stretch/updates/main armhf libsasl2-modules-db armhf 2.1.27~101-g0780600+dfsg-3+deb9u1 [66.8 kB]
Get:11 http://security.debian.org stretch/updates/main armhf libsasl2-2 armhf 2.1.27~101-g0780600+dfsg-3+deb9u1 [98.4 kB]
Get:12 http://security.debian.org stretch/updates/main armhf sudo armhf 1.8.19p1-2.1+deb9u2 [1035 kB]
Get:5 http://ftp.fau.de/osmc/osmc/apt stretch/main armhf base-files-osmc all 2.8.5 [20.1 kB]
Get:6 http://ftp.fau.de/osmc/osmc/apt stretch/main armhf perftune-osmc all 1.2.4 [2162 B]
Get:7 http://ftp.fau.de/osmc/osmc/apt stretch/main armhf mediacenter-addon-osmc all 3.0.682 [4373 kB]
Err:7 http://apt.osmc.tv stretch/main arm64 mediacenter-addon-osmc all 3.0.682
Hash Sum mismatch
Hashes of expected file:

  • SHA256:cf16fdfca15b221e4f6998f710e29692b6e444ec508d9f2d9684263cdcdde1f5
  • SHA1:1bfc887d0cb3f2eed83fe65fd89319274bfd1e48 [weak]
  • MD5Sum:572399ebb17f6aaca8e99f65b328fefa [weak]
  • Filesize:4373492 [weak]
    Hashes of received file:
  • SHA256:7d7e9dae483f7128fa0938d4fa2d64ea8916aace349ffc0e82422ae78cc0358d
  • SHA1:9cf0f93ce9c1497c4e0db4d44a68721c6624a65c [weak]
  • MD5Sum:1d50b12547c2dd3eba4af5095a8ce09a [weak]
  • Filesize:4373492 [weak]
    Last modification reported: Fri, 06 Dec 2019 18:07:59 +0000
    Err:7 http://ftp.fau.de/osmc/osmc/apt stretch/main armhf mediacenter-addon-osmc all 3.0.682
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:cf16fdfca15b221e4f6998f710e29692b6e444ec508d9f2d9684263cdcdde1f5
  • SHA1:1bfc887d0cb3f2eed83fe65fd89319274bfd1e48 [weak]
  • MD5Sum:572399ebb17f6aaca8e99f65b328fefa [weak]
  • Filesize:4373492 [weak]
    Hashes of received file:
  • SHA256:7d7e9dae483f7128fa0938d4fa2d64ea8916aace349ffc0e82422ae78cc0358d
  • SHA1:9cf0f93ce9c1497c4e0db4d44a68721c6624a65c [weak]
  • MD5Sum:1d50b12547c2dd3eba4af5095a8ce09a [weak]
  • Filesize:4373492 [weak]
    Last modification reported: Fri, 06 Dec 2019 18:07:59 +0000
    Get:8 http://ftp.fau.de/osmc/osmc/apt stretch/main armhf vero3-mediacenter-osmc armhf 18.5.0-6 [92.4 MB]
    Err:8 http://ftp.fau.de/osmc/osmc/apt stretch/main armhf vero3-mediacenter-osmc armhf 18.5.0-6
    Hash Sum mismatch
    Hashes of expected file:
  • SHA256:5db27b7e15b1f7d1aecf184d75dec032248cee97d1bfb97c1208fb806b510c7e
  • SHA1:e38745e8df6c6b3bc127e0eeb31ea99e0ff14c1b [weak]
  • MD5Sum:5a3f1d4a648843d5874ea805d40f73e8 [weak]
  • Filesize:92397110 [weak]
    Hashes of received file:
  • SHA256:53e675562d97c180821bbf2211b685fb94eddef6abf4547cb0440697c840f35b
  • SHA1:4cbae914aeaa0ac64e40d99ae6d8401b848f2942 [weak]
  • MD5Sum:e5a12d083c5068a4fc88d7fd191b494e [weak]
  • Filesize:92397110 [weak]
    Last modification reported: Thu, 30 Jan 2020 19:30:20 +0000
    Get:9 http://ftp.fau.de/osmc/osmc/apt stretch/main armhf vero3-wifi-osmc armhf 1.2.0-4 [301 kB]
    Fetched 99.6 MB in 10s (9874 kB/s)
    E: Failed to fetch http://apt.osmc.tv/pool/main/m/mediacenter-addon-osmc/mediacenter-addon-osmc_3.0.682_all.deb Hash Sum mismatch
    Hashes of expected file:
    - SHA256:cf16fdfca15b221e4f6998f710e29692b6e444ec508d9f2d9684263cdcdde1f5
    - SHA1:1bfc887d0cb3f2eed83fe65fd89319274bfd1e48 [weak]
    - MD5Sum:572399ebb17f6aaca8e99f65b328fefa [weak]
    - Filesize:4373492 [weak]
    Hashes of received file:
    - SHA256:7d7e9dae483f7128fa0938d4fa2d64ea8916aace349ffc0e82422ae78cc0358d
    - SHA1:9cf0f93ce9c1497c4e0db4d44a68721c6624a65c [weak]
    - MD5Sum:1d50b12547c2dd3eba4af5095a8ce09a [weak]
    - Filesize:4373492 [weak]
    Last modification reported: Fri, 06 Dec 2019 18:07:59 +0000
    E: Failed to fetch http://ftp.fau.de/osmc/osmc/apt/pool/main/v/vero3-mediacenter-osmc/vero3-mediacenter-osmc_18.5.0-6_armhf.deb Hash Sum mismatch
    Hashes of expected file:
    - SHA256:5db27b7e15b1f7d1aecf184d75dec032248cee97d1bfb97c1208fb806b510c7e
    - SHA1:e38745e8df6c6b3bc127e0eeb31ea99e0ff14c1b [weak]
    - MD5Sum:5a3f1d4a648843d5874ea805d40f73e8 [weak]
    - Filesize:92397110 [weak]
    Hashes of received file:
    - SHA256:53e675562d97c180821bbf2211b685fb94eddef6abf4547cb0440697c840f35b
    - SHA1:4cbae914aeaa0ac64e40d99ae6d8401b848f2942 [weak]
    - MD5Sum:e5a12d083c5068a4fc88d7fd191b494e [weak]
    - Filesize:92397110 [weak]
    Last modification reported: Thu, 30 Jan 2020 19:30:20 +0000
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Seems to be the same error, no?

It might be a hardware-related problem on the ethernet port or even something happening out on the Internet.

Is there any chance you can try to connect to your router using WiFi, instead of cable? That might help to pin things down.

Strange. It actually did the trick.

I switched back to the ethernet port after the update and verified that I actually got a connection to internet (not just LAN), and I do. I didnā€™t check before I tried updating though, but Iā€™m 99% sure I was connected as well (as metadata for movies etc. downloaded fine).

In any way, thank you for your help :slight_smile:

1 Like