Opam installer script trying to install a very old opam and OCaml compiler

That’s a very good remark!

I definitely cannot reproduce it, so I’m assuming this is what happened:

  • I google for something like opam install binary;
  • I mis-clicked the second link on the results (https://opam.ocaml.org/doc/1.2/Install.html, with the extra 1.2 in the middle), but because both have the same title and overall layout, I didn’t notice the 1.2 in the page;
  • I copied the wget command for opam_installer.sh and got the weird results.
  • Because my VM didn’t have Guest Additions, I couldn’t copy the command back to my host, so I re-googled to get it and ask the question, and didn’t notice it was the “right” page this time.

That’s the most reasonable explanation I can provide.

So, other than maybe suggesting that the old documentation pages include a “warning: obsolete” message somewhere, there’s nothing to be done. Sorry for the noise and thanks for the remark!