According to https://cloud.r-project.org/bin/linux/ubuntu/fullREADME.html, the only supported releases are currently:
Jammy Jellyfish (22.04, amd64 only)
Impish Indri (21.10, amd64 only),
Focal Fossa (20.04; LTS and amd64 only),
Bionic Beaver (18.04; LTS), and
Xenial Xerus (16.04; LTS).
Your release (22.10) is not in this list.
Also in my case, using linux mint 21.10 (vera), the automatic ppa settings fail.
This is due to the use of lsb_release -cs
in the official ppa install command to determine your linux flavor:
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
On my system, lsb_release -cs
returns vera
, which is not on the list of supported packages.
How to fix
You can try to use the supported release which is closest to your actual release. So for me, this is jammy
instead of vera
.
Easiest for me via the graphical Package Source Manager of my system.
The R-Project repo is listed under "additional sources". Edit the ppa repo address to end with <your desired officially supported release>-cran40/
, e.g.
……/ubuntu jammy-cran40/
(before, it was:
vera-cran40/
or in your case kinetic-cran40/
which obviously can not work if you look at the list of supported releases)