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

[Bug]: Intall fails on Arch Linux #1810

Closed
1 task done
mael-bomane opened this issue Jun 19, 2024 · 2 comments
Closed
1 task done

[Bug]: Intall fails on Arch Linux #1810

mael-bomane opened this issue Jun 19, 2024 · 2 comments
Labels
S-Triage Awaiting decision for what to do T-Bug Something isn't working

Comments

@mael-bomane
Copy link

What happened?

I tried to run the one-liner to install from the docs curl -sSfL https://www.shuttle.rs/install | bash but the install script doesn't goes through :<

Version

v0.46.0-1

Which operating system(s) are you seeing the problem on?

Linux

Which CPU architectures are you seeing the problem on?

x86_64

Relevant log output

[dev@terminal ~]$ curl -sSfL https://www.shuttle.rs/install | bash
     _           _   _   _
 ___| |__  _   _| |_| |_| | ___
/ __| '_ \| | | | __| __| |/ _ \
\__ \ | | | |_| | |_| |_| |  __/
|___/_| |_|\__,_|\__|\__|_|\___|

https://www.shuttle.rs
https://github.com/shuttle-hq/shuttle

Please file an issue if you encounter any problems!
===================================================
Detected Linux!
Checking distro...
lsb_release could not be found. Falling back to /etc/os-release
Arch Linux detected!
[sudo] password for dev:
Installing with pacman
resolving dependencies...
:: There are 2 providers available for cargo:
:: Repository extra
   1) rust  2) rustup

Enter a number (default=1): looking for conflicting packages...

Packages (2) rust-1:1.79.0-1  cargo-shuttle-0.46.0-1

Total Download Size:    68.66 MiB
Total Installed Size:  281.11 MiB

:: Proceed with installation? [Y/n] cat <<EOF

Duplicate declaration

  • I have searched the issues and there are none like this.
@mael-bomane mael-bomane added S-Triage Awaiting decision for what to do T-Bug Something isn't working labels Jun 19, 2024
@oddgrd
Copy link
Contributor

oddgrd commented Jun 21, 2024

@ez-krk thanks for the report! What do you mean it doesn't go through? Does it complete, but then cargo-shuttle wasn't installed? Did you get an error message?

lielfr added a commit to lielfr/shuttle that referenced this issue Aug 23, 2024
@lielfr
Copy link
Contributor

lielfr commented Aug 23, 2024

The reason for this is that pacman, by default, asks for confirmation. You can reproduce it using this Dockerfile (note that the archlinux base image doesn't support arm64, at least as far as I can tell):

FROM archlinux:latest
RUN pacman -Syu --noconfirm curl sudo
RUN curl -sSfL https://www.shuttle.rs/install | bash
ENTRYPOINT ["/bin", "bash"]

I uploaded a PR that should fix this (#1861 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Triage Awaiting decision for what to do T-Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants