ocaml / opam

opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
https://opam.ocaml.org
Other
1.21k stars 348 forks source link

Invalid Ubuntu repository #5987

Open vzaliva opened 1 month ago

vzaliva commented 1 month ago

I am following Ubuntu installation instructions from https://opam.ocaml.org/doc/Install.html

sudo add-apt-repository ppa:avsm/ppa gives the following errors:

Ign:17 https://ppa.launchpadcontent.net/avsm/ppa/ubuntu mantic InRelease
Err:18 https://ppa.launchpadcontent.net/avsm/ppa/ubuntu mantic Release
  404  Not Found [IP: 2620:2d:4000:1::81 443]
...
E: The repository 'https://ppa.launchpadcontent.net/avsm/ppa/ubuntu mantic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
vzaliva commented 1 month ago

Please note that Ubuntu-supplied OPAM version triggers warnings on opam update:

default (at https://opam.ocaml.org):
    [WARNING] opam is out-of-date. Please consider updating it
    (https://opam.ocaml.org/doc/Install.html)

So, removing PPA from documentation will leave Ubuntu users unable to install the recent Opam version via the package manager.

kit-ty-kate commented 1 month ago

The binary distribution section offers a way to always install the most up-to-date version of opam: https://opam.ocaml.org/doc/Install.html#Binary-distribution

If your distribution is out-of-date it would also be advised to ping your maintainers so they can remedy this (cc @mehdid)

vzaliva commented 2 weeks ago

I've emailed the maintainer and awaiting his response.