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

it is not possible install for arm linux #1562

Open
2 tasks done
AndriySidliarskiy opened this issue Feb 14, 2024 · 3 comments
Open
2 tasks done

it is not possible install for arm linux #1562

AndriySidliarskiy opened this issue Feb 14, 2024 · 3 comments
Labels
bug Something isn't working new Needs triage. Comments are welcome!

Comments

@AndriySidliarskiy
Copy link

AndriySidliarskiy commented Feb 14, 2024

Checklist

  • I've searched for similar issues.
  • I'm using the latest version of HTTPie.

Minimal reproduction code and steps

  1. curl -SsL https://packages.httpie.io/deb/KEY.gpg | gpg --dearmor -o /usr/share/keyrings/httpie.gpg &&
    echo "deb [arch="arm64" signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" > /etc/apt/sources.list.d/httpie.list &&
    apt update && apt install httpie

Current result

exit code 1

Expected result

installed tools


@AndriySidliarskiy AndriySidliarskiy added bug Something isn't working new Needs triage. Comments are welcome! labels Feb 14, 2024
@siddharth07-ui
Copy link

siddharth07-ui commented Mar 2, 2024

Hi, I am trying to create a conda environment with Python version3.8 and trying to run this code inside it. I am getting the below error:

====================================================================================

curl -SsL https://packages.httpie.io/deb/KEY.gpg | gpg --dearmor -o /usr/share/keyrings/httpie.gpg &&

echo "deb [arch="arm64" signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" > /etc/apt/sources.list.d/ httpie.list && apt update && apt install httpie

File '/usr/share/keyrings/httpie.gpg' exists. Overwrite? (y/N) y

gpg: can't create '/usr/share/keyrings/httpie.gpg': Permission denied

gpg: no valid OpenPGP data found.

gpg: dearmoring failed: Permission denied

curl: (23) Failed writing body

====================================================================================

I tried the below command and seems I am able to install httipe version 3.2.1. Can you please try it and let me know.

====================================================================================

curl -SsL https://packages.httpie.io/deb/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/httpie.gpg && echo "deb ###[arch=amd64 signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" | sudo tee -a /etc/apt/sources.list.d/httpie.list && sudo apt update && sudo apt upgrade httpie

Output --

http --version

3.2.1

====================================================================================

@AndriySidliarskiy
Copy link
Author

@siddharth07-ui but you use arch=amd64 in my case arch=arm64 it`s two different architecures.

@siddharth07-ui
Copy link

Yes, I have tried both the arch's as you can see, and just thought of sharing my results with you.

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

No branches or pull requests

2 participants