Error | sudo apt-get update


#1

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 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:4 http://ftp.debian.org/debian stretch-updates InRelease
Hit:6 http://ftp.debian.org/debian stretch Release
Ign:7 http://apt.insynchq.com/debian 9.0 InRelease
Err:8 http://apt.insynchq.com/debian 9.0 Release
  403  Forbidden [IP: 13.33.235.66 80]
Hit:3 http://ftp.fau.de/osmc/osmc/apt stretch InRelease
Hit:5 http://ftp.fau.de/osmc/osmc/apt jessie-devel InRelease
Reading package lists... Done
E: The repository 'http://apt.insynchq.com/debian 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 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 http://apt.osmc.tv stretch main

So far, I cant overpass the error reported above.

Any idea?

Thanks!

Best Regards,


#2

Please provide full logs via grab-logs -a


#3

Hi,

thanks for your reply.

you can get it here: https://paste.osmc.tv/epedivipom

Thanks.


#4

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`


#5

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

Thanks


#6

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


#8

The problem seams solved!

Thank you so much for your support.

Have a great day!

Best Regards,