Getting errors on WSL trying to install from ppa:avsm/ppa


I’m trying to install OCaml on Windows Subsystem for Linux following the instructions on the homepage for Ubuntu. I’m getting the following error:

W: The repository ' xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

Has anyone gotten anything like this?

Installing Ocaml+Opam on WSL from this instruction, works:

Success is limited to Ocaml and Opam though.

Thanks, I made a note of what worked for me at

Anil Madhavapeddy, the author of “avsm/ppa” told me:

“The good news is that the PPA is no longer necessary, as Ubuntu 16.04 ships with the latest packages.
Have you tried simply apt install opam to get started on WSL?”

Which means, this PPA is outdated and shouldn’t be used anymore!

Ah I see, which means also needs to be updated :slight_smile:

1 Like