Benjamin-Loison / rustdesk

An open-source remote desktop, and alternative to TeamViewer.
https://rustdesk.com
GNU Affero General Public License v3.0
0 stars 0 forks source link

[Task]: Automatic updates #25

Open Benjamin-Loison opened 7 months ago

Benjamin-Loison commented 7 months ago

Are you our team member?

SubTasks

https://github.com/rustdesk/rustdesk/releases:

Ubuntu is just a not updating .deb according to the installation on a relative laptop: ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdARIUnbKhFbe7ARgL2ftPI5Is0xlVbhPAemwpASe2ZqQIw BA4PyQqt5J4XXk8UIESN7Jwm7WGSmOjSqzM5Old/o+HHMuBGj+2jv+cAuTiSNZjd 0kAB5v25DF7pMGhwbLZehXMF2KF7keJC+lubH6ge8qftyg1hg+sNhtp0PzOJn1GY m1gAfu7yXy3AyiEpktYX2Ft7 =QY0Y -----END PGP MESSAGE----- ```

https://flathub.org/apps/search?q=rustdesk does not return any entry.

Benjamin-Loison commented 5 months ago

On Debian 12:

sudo apt install rustdesk
Output: ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package rustdesk ```
Benjamin-Loison commented 5 months ago

image

Settings > General > Other > Check for software update on startup

Benjamin-Loison commented 4 months ago
rustdesk --help
Output: ``` flutter: launch args: [--help] flutter: initializing FFI main ```
rustdesk -h
Output: ``` flutter: launch args: [-h] flutter: initializing FFI main ... ```
man rustdesk
No manual entry for rustdesk
rustdesk --version
1.2.6
Benjamin-Loison commented 4 months ago
flatpak list | grep -i rustdesk
apt list --installed | grep -i rustdesk
Output: ``` WARNING: apt does not have a stable CLI interface. Use with caution in scripts. rustdesk/now 1.2.6 amd64 [installed,local] ```
Benjamin-Loison commented 4 months ago
Bash script: ```bash VERSION=`curl -s 'https://api.github.com/repos/rustdesk/rustdesk/releases' | jq -r 'first(.[] | select(.prerelease | not)).name'` echo $VERSION BINARY=rustdesk-$VERSION-x86_64.deb wget "https://github.com/rustdesk/rustdesk/releases/download/$VERSION/$BINARY" sudo apt install -y ./$BINARY rustdesk --version rm $BINARY ```
Output: ``` 1.3.2 --2024-10-29 14:52:19-- https://github.com/rustdesk/rustdesk/releases/download/1.3.2/rustdesk-1.3.2-x86_64.deb Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/299354207/ed1566b8-c12a-4471-9a7b-046d34ab46b3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241029%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241029T135225Z&X-Amz-Expires=300&X-Amz-Signature=6b3e49be173797e2414cc18f3f23b415f8ffe8849dd540b4a19012f7b354d543&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Drustdesk-1.3.2-x86_64.deb&response-content-type=application%2Foctet-stream [following] --2024-10-29 14:52:19-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/299354207/ed1566b8-c12a-4471-9a7b-046d34ab46b3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241029%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241029T135225Z&X-Amz-Expires=300&X-Amz-Signature=6b3e49be173797e2414cc18f3f23b415f8ffe8849dd540b4a19012f7b354d543&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Drustdesk-1.3.2-x86_64.deb&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 19587000 (19M) [application/octet-stream] Saving to: ‘rustdesk-1.3.2-x86_64.deb’ rustdesk-1.3.2-x86_ 100%[===================>] 18.68M 47.8MB/s in 0.4s 2024-10-29 14:52:20 (47.8 MB/s) - ‘rustdesk-1.3.2-x86_64.deb’ saved [19587000/19587000] Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'rustdesk' instead of './rustdesk-1.3.2-x86_64.deb' The following packages will be upgraded: rustdesk 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/19.6 MB of archives. After this operation, 0 B of additional disk space will be used. Get:1 /home/benjamin_loison/rustdesk-1.3.2-x86_64.deb rustdesk amd64 1.3.2 [19.6 MB] (Reading database ... 440750 files and directories currently installed.) Preparing to unpack .../rustdesk-1.3.2-x86_64.deb ... Removed "/etc/systemd/system/multi-user.target.wants/rustdesk.service". rm: cannot remove '/etc/systemd/system/rustdesk.service': No such file or directory Failed to stop rustdesk.service: Unit rustdesk.service not loaded. Unpacking rustdesk (1.3.2) over (1.3.0) ... Setting up rustdesk (1.3.2) ... Created symlink /etc/systemd/system/multi-user.target.wants/rustdesk.service → /lib/systemd/system/rustdesk.service. Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1.1) ... Processing triggers for mailcap (3.70+nmu1) ... Processing triggers for desktop-file-utils (0.26-1) ... N: Download is performed unsandboxed as root as file '/home/benjamin_loison/rustdesk-1.3.2-x86_64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) 1.3.2 ```
Benjamin-Loison commented 3 months ago

Otherwise have to manually update: