alexozer / flitter

A LiveSplit-inspired speedrunning split timer for Linux/macOS terminal. Supports global hotkeys.
MIT License
133 stars 11 forks source link

opam switch create 4.07.0 not working #32

Closed AjayAB closed 3 years ago

AjayAB commented 3 years ago

`user@dell-2017:~$ opam init

<><> Required setup - please read <><><><><><><><><><><><><><><><><><><><><><><>

In normal operation, opam only alters files within ~/.opam.

However, to best integrate with your system, some environment variables should be set. If you allow it to, this initialisation step will update your bash configuration by adding the following line to ~/.profile:

test -r /home/user/.opam/opam-init/init.sh && . /home/user/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true

Otherwise, every time you want to access your opam installation, you will need to run:

eval $(opam env)

You can always re-run this setup with 'opam init' later.

Do you want opam to modify ~/.profile? [N/y/f] (default is 'no', use 'f' to choose a different file) y A hook can be added to opam's init scripts to ensure that the shell remains in sync with the opam environment when they are loaded. Set that up? [y/N] y

User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.

user@dell-2017:~$ opam switch create 4.07.0 [ERROR] No compiler matching '4.07.0' found, use 'opam switch list-available' to see what is available, or use '--packages' to select packages explicitly. user@dell-2017:~$ opam switch create --package 4.07.0 opam: option --package': invalid element in list (4.07.0'): Invalid character in package name "4.07.0" Usage: opam switch [OPTION]... [COMMAND] [ARG]... Try opam switch --help' oropam --help' for more information. user@dell-2017:~$ opam install dune core lwt re color sexp_pretty uutf lwt_ppx uuseg notty [ERROR] No package named dune found. [ERROR] No package named core found. [ERROR] No package named re found. [ERROR] No package named color found. [ERROR] No package named sexp_pretty found. [ERROR] No package named uutf found. [ERROR] No package named lwt_ppx found. [ERROR] No package named uuseg found. [ERROR] No package named notty found. user@dell-2017:~$ lsb_release -a LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic user@dell-2017:~$ opam --version 2.0.8 `