Ubuntu Software Update Broken

Having trouble after installing Syncthing on Ubuntu. I am unable to update or remove. What did I miss? Thank you in advance.

Maybe related to https://forum.syncthing.net/t/not-able-to-install-on-linux-mint-20-1? Just a guess, as both topics have been created in the last few days and are related to the same Ubuntu family.

Even if it’s a completely different problem, the same request for details on how you’re trying to install Syncthing and to try using the instructions from https://apt.syncthing.net applies.

1 Like
user@user-Latitude-E5450:~$ sudo apt-get install ca-certificates
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ca-certificates is already the newest version (20210119~20.04.2).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
user@user-Latitude-E5450:~$ sudo curl -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file 
Warning: /usr/share/keyrings/syncthing-archive-keyring.gpg: Read-only file 
Warning: system
100  1769  100  1769    0     0   8146      0 --:--:-- --:--:-- --:--:--  8152
curl: (23) Failure writing output to destination

I got the error below running apt update:

Err:10 https://apt.syncthing.net syncthing InRelease
Could not connect to apt.syncthing.net:443 (, connection timed out Could not connect to apt.syncthing.net:443 (2a03:b0c0:0:1010::99:8001), connection timed out

1 Like

To be fair, the URL wasn’t working for me either about ~1 hour ago. Now it is up again.

That sounds like Linux Mint might be enforcing a read-only /usr/ hierarchy? The path you specify here is arbitrary, you can just put the file somewhere else (in /root/ maybe?) and adjust the APT sources file accordingly.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.