warning that its version of OPAM is broken, and not to use it. Here's how you can get (OCaml and) OPAM from a newer repository:
sudo apt-get install -y software-properties-common
- sudo apt-apt-repository -y ppa:avsm/ppa
+ sudo add-apt-repository -y ppa:avsm/ppa
sudo apt-get update
sudo apt-get install ocaml opam