Skip to content

Missing dependency on Windows 10 WSL2 #145

@junkjunker

Description

@junkjunker

Hi there,
I am using WSL 2 on Windows 10, Ubuntu 24.04.1 LTS. When installing the dependencies, I eventually hit this error:

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-system" {= "4.10.2"}]
[ERROR] Could not determine which packages to install for this switch:
  * Missing dependency:
    - ocaml-system = 4.10.2
    unmet availability conditions: 'sys-ocaml-version = "4.10.2"'

Re running the script to install dependencies, I got this:

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from https://opam.ocaml.org
default (at https://opam.ocaml.org):
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

[ERROR] Package conflict!
  * Missing dependency:
    - ocaml-system = 4.10.2
    unmet availability conditions: 'sys-ocaml-version = "4.10.2"'

No solution found, exiting

Is there a step I missed?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions