Error | sudo apt-get update

Hello all,

I’m having some issue running the command sudo apt-get update

After running that, the output is the following:

osmc@kodi-sala:~$ sudo apt-get update
Hit:1 stretch/updates InRelease
Ign:2 stretch InRelease
Hit:4 stretch-updates InRelease
Hit:6 stretch Release
Ign:7 9.0 InRelease
Err:8 9.0 Release
  403  Forbidden [IP: 80]
Hit:3 stretch InRelease
Hit:5 jessie-devel InRelease
Reading package lists... Done
E: The repository ' 9.0 Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Currently I’m on version: VERSION_ID=“2018.04-2”

the sources.list are the following

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

So far, I cant overpass the error reported above.

Any idea?


Best Regards,

Please provide full logs via grab-logs -a


thanks for your reply.

you can get it here:


Your problem is in here, remove the file and you should be ok

====================== APT sources.list.d =================== KjLq37hD
total 16
drwxr-xr-x 2 root root 4096 Jan 10 21:27 .
drwxr-xr-x 6 root root 4096 May 16 12:10 …
-rw-r–r-- 1 root root 41 Jan 10 21:27 a2dp.list
-rw-r–r-- 1 root root 56 Jan 6 18:33 insync.list

---------------------- APT sources.list.d END --------------- KjLq37hD`

Should I remove:
a2dp.list and nsync.list files?


Well the insync.list is causing your problem so yes remove that one.
And I would also remove the a2dp.list as that one is outdated

The problem seams solved!

Thank you so much for your support.

Have a great day!

Best Regards,