Hello all - I am looking for some guidance as to why apt update/upgrade isn’t grabbing 1.20.1? When running sudo apt update and then sudo apt upgrade, it says that the newest version (1.19.0) is already installed.
Couldn’t say, my apt shows 1.20.1. You’ll have to do more troubleshooting and show more info.
apt.s.n should have both 1.19.2 and 1.20.1. See
# apt show -a syncthing
Package: syncthing Version: 1.20.1 Priority: extra Section: default Maintainer: Syncthing Release Management <firstname.lastname@example.org> Installed-Size: 23,9 MB Depends: libc6, procps Homepage: https://syncthing.net/ License: MPL-2 Vendor: Syncthing Release Management <email@example.com> Download-Size: 10,0 MB APT-Manual-Installed: yes APT-Sources: https://apt.syncthing.net syncthing/stable amd64 Packages Description: Open Source Continuous File Synchronization Package: syncthing Version: 1.19.2 Priority: extra Section: default Maintainer: Syncthing Release Management <firstname.lastname@example.org> Installed-Size: 24,1 MB Depends: libc6, procps Homepage: https://syncthing.net/ License: MPL-2 Vendor: Syncthing Release Management <email@example.com> Download-Size: 9.776 kB APT-Sources: https://apt.syncthing.net syncthing/stable amd64 Packages Description: Open Source Continuous File Synchronization [snip]
I will dig a bit further later - I decided to do the full distribution upgrade to 22.04, so that is in progress… This is a Ubuntu Budgie install on a SFF PC that I use purely for syncthing.
So maybe the issue is that it is pulling from the ubuntu source (not apt.syncthing.net)?
apt show -a syncthing Package: syncthing Version: 1.19.0 Status: install ok installed Priority: extra Section: default Maintainer: Syncthing Release Management <firstname.lastname@example.org> Installed-Size: 24.1 MB Depends: libc6, procps Homepage: https://syncthing.net/ License: MPL-2 Vendor: Syncthing Release Management <email@example.com> Download-Size: unknown APT-Manual-Installed: yes APT-Sources: /var/lib/dpkg/status Description: Open Source Continuous File Synchronization Package: syncthing Version: 1.18.0~ds1-3 Built-Using: go-md2man-v2 (= 2.0.0+ds-5), golang-1.17 (= 1.17.3-1ubuntu1), golang-blackfriday-v2 (= 2.0.1-3), golang-github-alecthomas-kong (= 0.2.17-1), golang-github-audriusbutkevicius-pfilter (= 0.0.5-1), golang-github-audriusbutkevicius-recli (= 0.0.6-2), golang-github-azure-go-ntlmssp (= 0.0~git20200615.6637195-1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-bkaradzic-go-lz4 (= 1.0.0-5), golang-github-calmh-xdr (= 2.0.1-7), golang-github-ccding-go-stun (= 0.1.3-1), golang-github-cespare-xxhash (= 2.1.1-2), golang-github-chmduquesne-rollinghash (= 4.0.0-2), golang-github-go-ldap-ldap (= 3.4.1-1), golang-github-gobwas-glob (= 0.2.3+git20180208.19c076c-2), golang-github-golang-snappy (= 0.0.2-2), golang-github-google-shlex (= 0.0~git20191202.e7afc7f-1), golang-github-greatroar-blobloom (= 0.7.1-1), golang-github-hashicorp-golang-lru (= 0.5.4-2), golang-github-jackpal-gateway (= 1.0.7-1), golang-github-jackpal-go-nat-pmp (= 1.0.2-2), golang-github-julienschmidt-httprouter (= 1.3.0-1), golang-github-kballard-go-shellquote (= 0.0~git20180428.95032a8-1), golang-github-lib-pq (= 1.5.2-1), golang-github-minio-sha256-simd (= 0.1.1-1), golang-github-miscreant-miscreant.go (= 0.0~git20200214.26d3763-3), golang-github-petermattis-goid (= 0.0~git20180202.b0b1615-2), golang-github-pkg-errors (= 0.9.1-2), golang-github-prometheus-client-golang (= 1.9.0-2), golang-github-prometheus-client-model (= 0.2.0-3), golang-github-prometheus-common (= 0.15.0-2ubuntu1), golang-github-prometheus-procfs (= 0.7.3-1), golang-github-rcrowley-go-metrics (= 0.0~git20180125.8732c61-3), golang-github-sasha-s-go-deadlock (= 0.3.1-1), golang-github-shirou-gopsutil (= 3.21.10-3), golang-github-shurcool-sanitized-anchor-name (= 1.0.0-2), golang-github-syncthing-notify (= 0.0~git20210616.c6b7342-1), golang-github-thejerf-suture (= 4.0.1-1), golang-github-urfave-cli (= 1.22.4-2ubuntu1), golang-github-vitrun-qart (= 0.1-5), golang-go.crypto (= 1:0.0~git20211202.5770296-1), golang-gogoprotobuf (= 1.3.2-1), golang-golang-x-net (= 1:0.0+git20211209.491a49a+dfsg-1), golang-golang-x-sys (= 0.0~git20211216.1d35b9e-1), golang-golang-x-text (= 0.3.7-1), golang-golang-x-time (= 0.0+git20200630.3af7569-1), golang-goleveldb (= 0.0~git20200815.5c35d60-1), golang-gopkg-asn1-ber.v1 (= 1.5.1-1), golang-goprotobuf (= 1.3.4-2), golang-protobuf-extensions (= 1.0.1-1), golang-siphash-dev (= 1.0.0-2) Priority: extra Section: universe/devel Origin: Ubuntu Maintainer: Ubuntu Developers <firstname.lastname@example.org> Original-Maintainer: Debian Go Packaging Team <email@example.com> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 18.6 MB Depends: libc6 (>= 2.34), init-system-helpers (>= 1.52) Homepage: https://www.syncthing.net/ Download-Size: 6,906 kB APT-Sources: http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages Description: decentralized file synchronization Syncthing is an application that lets you synchronize your files across multiple devices. This means the creation, modification or deletion of files on one machine will automatically be replicated to your other devices. Syncthing does not upload your data to the cloud but exchanges your data across your machines as soon as they are online at the same time. . This package contains the main binary: syncthing.
So if I just run the commands shown here, would it cause me any issues (would it just upgrade in place over the currently installed version from the ubuntu apt source)?
That output looks like you’ve installed syncthing as a
.deb manually (via dpkg) and not via apt.
If you’ve done that, it’s expected that you can’t upgrade - apt has no idea where it should get a more recent
apt show -a shows all available sources, not just the ones you’ve installed the package from (use
apt show without -a for that). Your output shows a manually installed .deb and it also shows that syncthing is available from Ubuntu package mirrors, but it wasn’t installed from there (you also would have syncthing 1.18 as that’s whats packaged with Ubuntu).
Your output is addtionally missing apt.s.n, so that’s another sign that you haven’t installed the package from there.
Again, doesn’t look like you’ve installed anything from Ubuntu mirrors, but yes that should work. That’s what we were assuming you had done in the first place.
If this is an upgraded install all of this may be some weird side effect of upgrading, not sure.
I just added apt.syncthing.net via the instructions and ran apt update and apt upgrade. This installed the latest version over my existing install with no issues.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.