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

Error while fetching #6

Open
tythuipro opened this issue Aug 14, 2024 · 5 comments
Open

Error while fetching #6

tythuipro opened this issue Aug 14, 2024 · 5 comments

Comments

@tythuipro
Copy link

tythuipro commented Aug 14, 2024

Currently trying a fresh install of opam and got this error:
image
Anyone knows how to fix this issue?

@dra27
Copy link
Contributor

dra27 commented Aug 18, 2024

Please try to paste the text of the console (in ``` sections) if possible, as it's more accessible. Is this happening every time - are you pressing CTRL+C at any point?

@dra27
Copy link
Contributor

dra27 commented Aug 18, 2024

Also - where did you get wget from and why is it in system32???

@Sudha247
Copy link

I'm seeing a similar error while updating opam or trying to install a new package:

 C:\Users\sudha> opam update

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><>  🐫
[ERROR] Could not update repository "default": OpamDownload.Download_fail(_, "Curl failed:
        \"C:\\\\WINDOWS\\\\system32\\\\curl.exe --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent
        opam/2.2.0 -L -o C:\\\\Users\\\\sudha\\\\AppData\\\\Local\\\\Temp\\\\opam-20812-597096\\\\index.tar.gz.part --
        https://opam.ocaml.org/index.tar.gz\" exited with code 43")

@Sudha247
Copy link

Just saw ocaml/opam#6168

@Sudha247
Copy link

Update: for the error I've mentioned above, installing the latest version of opam (2.2.1) fixes it. Can be done via winget install OCaml.opam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants