Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux install script is broken (again) #1056

Open
1 task done
eliorc opened this issue Jan 8, 2025 · 3 comments
Open
1 task done

Linux install script is broken (again) #1056

eliorc opened this issue Jan 8, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@eliorc
Copy link

eliorc commented Jan 8, 2025

Before submitting your bug report

  • I'm not able to find an open issue that reports the same bug

Environment

- OS: Ubuntu 24.04
- Sidecar commit: ???
- IDE commit: ???

Description

Installation on Ubuntu (copy-pasting the command from the homepage) leads to the follwing error

Fetching the latest Aide release information...
Latest version: 1.96.2.25008
Downloading Aide...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 141M 0 2328 0 0 2367 0 17:25:13 --:--:-- 17:25:13 2367
gzip: stdin: not in gzip format
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
0 141M 0 266k 0 0 184k 0 0:13:06 0:00:01 0:13:05 571k
curl: (23) Failure writing output to destination

Running as sudo does not help

Reproduction

Execute curl -sL https://raw.githubusercontent.com/codestoryai/binaries/main/linux/linux_install.sh | bash on Ubuntu 24.04

Log output

Fetching the latest Aide release information...
Latest version: 1.96.2.25008
Downloading Aide...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0  141M    0  2328    0     0   2367      0 17:25:13 --:--:-- 17:25:13  2367
gzip: stdin: not in gzip format
tar: Child died with signal 13
> tar: Error is not recoverable: exiting now
>   0  141M    0  266k    0     0   184k      0  0:13:06  0:00:01  0:13:05  571k
> curl: (23) Failure writing output to destination
@eliorc eliorc added the bug Something isn't working label Jan 8, 2025
@eandersons
Copy link

eandersons commented Jan 8, 2025

I encountered the same issue and created the pull request codestoryai/binaries#14 that should resolve this issue.

curl -sL https://raw.githubusercontent.com/eandersons/aide-binaries/refs/heads/Fix-Linux-download-URL-retrieval/linux/linux_install.sh | bash can be used as a workaround to install AIDE until this issue is resolved.

@eliorc
Copy link
Author

eliorc commented Jan 10, 2025

The script works - though sidecar fails to start at launch

@uzhao
Copy link

uzhao commented Jan 10, 2025

The script may not pickup right file to download.

papillon@Production7945:$ ./linux_install.sh
Fetching the latest Aide release information...
Latest version: 1.96.2.25009
Downloading Aide...
https://github.com/codestoryai/binaries/releases/download/1.96.2.25009/Aide-linux-armhf-1.96.2.25009.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
27 140M 27 37.8M 0 0 11.3M 0 0:00:12 0:00:03 0:00:09 12.6M^C
papillon@Production7945:
$ ./linux_install.sh
Fetching the latest Aide release information...
Latest version: 1.96.2.25009
Downloading Aide...
https://github.com/codestoryai/binaries/releases/download/1.96.2.25009/Aide.arm64.1.96.2.25009.dmg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 141M 0 9637 0 0 17883 0 2:18:24 --:--:-- 2:18:24 17883
gzip: stdin: not in gzip format
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
0 141M 0 285k 0 0 465k 0 0:05:11 --:--:-- 0:05:11 3728k
curl: (23) Failure writing output to destination
papillon@Production7945:~$ ./linux_install.sh
Fetching the latest Aide release information...
Latest version: 1.96.2.25009
Downloading Aide...
https://github.com/codestoryai/binaries/releases/download/1.96.2.25009/Aide-linux-x64-1.96.2.25009.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 153M 100 153M 0 0 13.1M 0 0:00:11 0:00:11 --:--:-- 14.1M
Aide installation complete.
Custom flags can be added to ~/.config/aide-flags.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants