Trouble Upgrading to R 3.4 on Debian

October 9, 2017
By

[This article was first published on RLang.io | R Language Programming, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Recently had a very frustrating error on Proxmox (Debian) while trying to upgrade to R 3.4.2

The following packages have unmet dependencies:
 r-base-core : Depends: libjpeg8 (>= 8c) but it is not installable
               Depends: libpng12-0 (>= 1.2.13-4) but it is not installable
               Depends: libreadline6 (>= 6.0) but it is not installable
               Recommends: r-recommended but it is not going to be installed
               Recommends: r-base-dev but it is not going to be installed
               Recommends: r-doc-html but it is not going to be installed

The solution was to add a source

>nano /etc/apt/sources.list

Then I added a line

deb http://mirrors.kernel.org/ubuntu trusty main

Alright, now the

apt-get update

Damn

W: GPG error: http://mirrors.kernel.org/ubuntu trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: The repository 'http://mirrors.kernel.org/ubuntu trusty Release' is not signed.

Alright…need to add the keys.

>gpg --keyserver keyserver.ubuntu.com --recv-keys NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
>gpg --export --armor 40976EAF437D05B5 | sudo apt-key add -
>gpg --export --armor 3B4FE6ACC0B21F32 | sudo apt-key add -

Uggggh, finally. Now we can install r-base-core and r-base-dev through the standard apt-get install and use RStudio v1.1. Woooo!!!!

To leave a comment for the author, please follow the link and comment on their blog: RLang.io | R Language Programming.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)