Syncthing not installing on a debian NAS

Hi I have tried the instructions on https://apt.syncthing.net/ but no luck. Below is the output that I am getting Any suggestions would be much appreciated

root@NAS-IR:~# printf "Package: *\nPin: origin apt.syncthing.net\nPin-Priority: 990\n" | tee /etc/apt/preferences.d/syncthing
Package: *
Pin: origin apt.syncthing.net
Pin-Priority: 990
root@NAS-IR:~#  apt-get update
Hit:1 http://security.debian.org jessie/updates InRelease
Ign:2 http://mirrors.edge.kernel.org/debian jessie InRelease
Hit:4 https://apt.readynas.com/packages/readynasos 6.10.5 InRelease
Hit:3 http://mirrors.edge.kernel.org/debian jessie Release
Ign:5 https://apt.syncthing.net syncthing InRelease
Ign:7 https://apt.syncthing.net syncthing Release
Ign:8 https://apt.syncthing.net syncthing/candidate armel Packages
Ign:9 https://apt.syncthing.net syncthing/candidate armhf Packages
Ign:10 https://apt.syncthing.net syncthing/candidate all Packages
Ign:8 https://apt.syncthing.net syncthing/candidate armel Packages
Ign:9 https://apt.syncthing.net syncthing/candidate armhf Packages
Ign:10 https://apt.syncthing.net syncthing/candidate all Packages
Ign:8 https://apt.syncthing.net syncthing/candidate armel Packages
Ign:9 https://apt.syncthing.net syncthing/candidate armhf Packages
Ign:10 https://apt.syncthing.net syncthing/candidate all Packages
Ign:8 https://apt.syncthing.net syncthing/candidate armel Packages
Ign:9 https://apt.syncthing.net syncthing/candidate armhf Packages
Ign:10 https://apt.syncthing.net syncthing/candidate all Packages
Ign:8 https://apt.syncthing.net syncthing/candidate armel Packages
Ign:9 https://apt.syncthing.net syncthing/candidate armhf Packages
Ign:10 https://apt.syncthing.net syncthing/candidate all Packages
Err:8 https://apt.syncthing.net syncthing/candidate armel Packages
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Ign:9 https://apt.syncthing.net syncthing/candidate armhf Packages
Ign:10 https://apt.syncthing.net syncthing/candidate all Packages
Reading package lists... Done
W: The repository 'https://apt.syncthing.net syncthing Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.syncthing.net/dists/syncthing/candidate/binary-armel/Packages  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@NAS-IR:~#  apt-get install syncthing
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package syncthing

Which NAS you have in use?

It mentions the ca-certificates.crt file. This seems odd.

Have you checked the /etc/apt/soures.list.d/syncthing.list file? Does it have the line: deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable

And did you check that there is a file at /usr/share/keyrings/syncthing-archive-keyring.gpg and that it is readable?

I’d geuss that is needed… Although I have a different error…

See:

Closing to keep related discussion in one place, as it’s likely more people will show up with the same issue.