[SOLVED] Why can't I find the last syncthing version through apt?

Hello everyone, I’m sorry if this isn’t the first time someone asked, I doubt that I am the only person experiencing this problem but I keep failing to find a topic about it.

I am running Ubuntu 24.04.1 LTS. I wanted to install syncthing through apt, because I wanted to have apt update automatically syncthing for me. I followed the procedure on apt(dot)syncthing(dot)net, which means I executed :

sudo mkdir -p /etc/apt/keyrings and sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg

But when I execute apt search syncthing, I find only an outdated version, namely the 1.27.2-ds4, which is from December 2023. And of course, after installing, I had the same when executing syncthing --version.

What can I do to have the last version 1.28.0 ?

Thank you.

PS : I tried running printf “Package: *\nPin: origin apt(dot)syncthing(dot)net\nPin-Priority: 990\n” | sudo tee /etc/apt/preferences.d/syncthing.pref and it showed Pin: origin apt(dot)syncthing(dot)net

That’s just one part of the instructions posted there. There are more steps.

Are you referring to the candidate channel adding step? Or possibly the apt update step?

I did not add the candidate channel because I am interested in the stable release builds, and not the release candidate builds, but maybe that was a mistake somehow?

I indeed executed apt update after that, it seemed obvious but I should’ve mentionned it.

Thank you.

I was referring to adding the source for the stable channel (or candidate, either).

You are absolutely right, thank you.

(for those wondering I simply had a false memory of executing that step)

1 Like