You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using opam in Windows 11. I tried to install OCaml, but failed apparently because the downloaded file for ocaml-base-compiler.5.1.1 is not found. Here's what happened in my command prompt.
PS C:\Users\galih> opam install ocaml
The following actions will be performed:
=== install 5 packages
∗ base-domains base
∗ base-nnp base
∗ ocaml 5.1.1
∗ ocaml-base-compiler 5.1.1 [required by ocaml]
∗ ocaml-config 3 [required by ocaml]
Proceed with ∗ 5 installations? [y/n] y
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><> 🐫
[ERROR] Failed to get sources of ocaml-base-compiler.5.1.1: Downloaded file not found
#=== ERROR while fetching sources for ocaml-base-compiler.5.1.1 ===============#
OpamSolution.Fetch_fail("https://github.com/ocaml/ocaml/archive/5.1.1.tar.gz (Download command succeeded, but resulting file not found)")
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><> 🐫
┌─ The following actions failed
│ ⬇ fetch ocaml-base-compiler 5.1.1
└─
╶─ No changes have been performed
# Run (& opam env) -split '\r?\n' | ForEach-Object { Invoke-Expression $_ } to update the current shell environment
However, I opened the link https://github.com/ocaml/ocaml/archive/5.1.1.tar.gz and the file named ocaml-5.1.1.tar got downloaded. I don't know what's wrong with the downloaded file and why Opam failed get the sources of the needed installation.
The text was updated successfully, but these errors were encountered:
Which version of Windows 11 is it? (either ver from a command prompt - e.g. Microsoft Windows [Version 10.0.22631.4169] on mine or from "About your PC" - e.g. Version 23H", OS build 22631.4169 on mine)
Is there any possibility your virus scanner has quarantined it?
I'm using opam in Windows 11. I tried to install OCaml, but failed apparently because the downloaded file for
ocaml-base-compiler.5.1.1
is not found. Here's what happened in my command prompt.However, I opened the link
https://github.com/ocaml/ocaml/archive/5.1.1.tar.gz
and the file namedocaml-5.1.1.tar
got downloaded. I don't know what's wrong with the downloaded file and why Opam failed get the sources of the needed installation.The text was updated successfully, but these errors were encountered: