# Syncthing not installing on a debian NAS

**URL:** https://forum.syncthing.net/t/syncthing-not-installing-on-a-debian-nas/17418
**Category:** Support
**Created:** [October 1, 2021, 12:38am UTC](https://forum.syncthing.net/t/syncthing-not-installing-on-a-debian-nas/17418 "2021-10-01T00:38:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![noname](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/n/58f4c7/32.png) [@noname](https://forum.syncthing.net/u/noname)
#### Post date: [October 1, 2021, 12:38am UTC](https://forum.syncthing.net/t/syncthing-not-installing-on-a-debian-nas/17418/1 "2021-10-01T00:38:08Z")

</div>

Hi I have tried the instructions on [https://apt.syncthing.net/](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

```

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [October 1, 2021, 6:29am UTC](https://forum.syncthing.net/t/syncthing-not-installing-on-a-debian-nas/17418/2 "2021-10-01T06:29:24Z")

</div>

Which NAS you have in use?

---

<div class="post-metadata">

### Author: ![heinrich-k](https://forum.syncthing.net/user_avatar/forum.syncthing.net/heinrich-k/32/3925_2.png) [@heinrich-k](https://forum.syncthing.net/u/heinrich-k)
#### Post date: [October 1, 2021, 9:16am UTC](https://forum.syncthing.net/t/syncthing-not-installing-on-a-debian-nas/17418/3 "2021-10-01T09:16:22Z")

</div>

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/](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…

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [October 1, 2021, 10:40am UTC](https://forum.syncthing.net/t/syncthing-not-installing-on-a-debian-nas/17418/4 "2021-10-01T10:40:23Z")

</div>

See:

> [@Can't update syncthing via apt anymore](https://forum.syncthing.net/t/cant-update-syncthing-via-apt-anymore/17421):
>
> Hi, since today I have an error during “apt update” on an ubuntu 20.04 system. I saw some new instructions on [apt.syncthing.net](http://apt.syncthing.net) and followed them. However, this error remains: Fehl:15 [https://apt.syncthing.net](https://apt.syncthing.net) syncthing Release Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: I got the newest gpg file, just moments ago, so I guess the file is out-of-date…

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [October 1, 2021, 10:40am UTC](https://forum.syncthing.net/t/syncthing-not-installing-on-a-debian-nas/17418/5 "2021-10-01T10:40:40Z")

</div>

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