Installing R from CRAN Ubuntu repository: No Public Key Error

前端 未结 9 1001
长情又很酷
长情又很酷 2020-12-13 01:29

I am on R version 2.13 and would like to update to a newer version in order to use some packages that depend on R>= 2.14.

I have the line to my sources.list file as

9条回答
  •  余生分开走
    2020-12-13 01:58

    I encountered the same issue and the only solution I found, perhaps due to a firewall, was to use the helpful Y PPA Manager. The two steps below outline has worked on Ubuntu 15.04.

    1) First install the Y PPA Manager:

    sudo add-apt-repository ppa:webupd8team/y-ppa-manager
    sudo apt-get update
    sudo apt-get install y-ppa-manager
    

    2) Then fetch missing keys by running the Y PPA Manager:

    y-ppa-manager
    

    Click "Advanced"

    Next, click "Try to import missing GPG keys"

    Finally, update again to check if it works:

    sudo apt-get update
    

提交回复
热议问题