Report this

What is the reason for this report?

Trouble to install R in Ubuntu 20.04

Posted on October 19, 2020

Any idea why am i getting such error? and, how could I fix it?

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
Executing: /tmp/apt-key-gpghome.QThU5VY9Yd/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
gpg: key 51716619E084DAB9: "Michael Rutter <marutter@gmail.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
Ign:1 http://ppa.launchpad.net/marutter/rrutter/ubuntu focal InRelease         
Hit:2 https://desktop-download.mendeley.com/download/apt stable InRelease      
Hit:3 https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/ InRelease     
Err:4 http://ppa.launchpad.net/marutter/rrutter/ubuntu focal Release           
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/marutter/rrutter/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi, It looks like the repository list contains a PPA that is not considered as secure one. Try to disable it. So,

Find the list which contains this PPA:

sudo grep -e "http://ppa.launchpad.net/marutter/rrutter/ubuntu" $(find /etc/apt/ -name "*.list")

You will get a path/filename of the repository list containing that PPA. Open this list in your favorite text editor and comment that PPA with # sign. Save the file, exit the editor, and try again to add r-project apt repository.

Let me know how it works, pls.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.