SnapOverflow

SnapOverflow Logo SnapOverflow Logo

SnapOverflow Navigation

  • Home
  • Server
  • Ubuntu

Mobile menu

Close
  • Home
  • System Administrators
    • Hot Questions
    • New Questions
    • Tags
  • Ubuntu
    • Hot Questions
    • New Questions
    • Tags
  • Help
Home / server / Questions / 730316
Accepted
ali haider
ali haider
Asked: 2015-10-21 08:56:23 +0800 CST2015-10-21 08:56:23 +0800 CST 2015-10-21 08:56:23 +0800 CST

error when running apt-get update on ubuntu 14

  • 772

I am running ubuntu 14 on one of my servers.

When I run sudo apt-get update, I get the error below.

W: GPG error: http://cran.rstudio.com trusty/ Release: The following signatures were invalid: KEYEXPIRED 1445181253 KEYEXPIRED 1445181253 KEYEXPIRED 1445181253

Should I modify my ppa repository list or take some other action to fix this issue.

Update: I tried removing R from the server using

sudo apt-get --purge remove r-base
sudo apt-get --purge remove r-base-core
sudo apt-get --purge remove r-base-recommended

However, I am still seeing the same issue with apt-get update.

ubuntu-14.04
  • 5 5 Answers
  • 9530 Views

5 Answers

  • Voted
  1. Thomas
    2015-10-21T22:57:16+08:002015-10-21T22:57:16+08:00

    Look at the "Secure APT" part of https://cran.r-project.org/bin/linux/ubuntu/README.html:

    Adding the key with key ID E084DAB9 fixed the problem for me.

    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
    
    • 29
  2. Eddie Dunn
    2015-10-21T09:06:02+08:002015-10-21T09:06:02+08:00

    If you don't need R you can just remove the cran line from /etc/apt/sources.list and you should be good to go.

    sudo apt-key del 1445181253 will remove the offending key.

    • 4
  3. ostendali
    2015-10-21T09:09:48+08:002015-10-21T09:09:48+08:00

    Sorry for the abrupt questions but what has java to do with the 3rd party repository that you have set in your repository?

    Also I see you are capable to change your repository but not able to read the output of an error.

    You can add the missing key for the 3rd party repo:

      http://ubuntuforums.org/showthread.php?t=2202787
    
    • 1
  4. Gertjan
    2016-01-16T01:33:38+08:002016-01-16T01:33:38+08:00

    In case your firewall blocks port 11371, a more general solution is to force using port 80 when retrieving the new key:

    gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E084DAB9
    gpg -a --export E084DAB9 | sudo apt-key add -
    
    • 1
  5. Best Answer
    ali haider
    2015-10-21T09:06:36+08:002015-10-21T09:06:36+08:00

    fixed after removing reference from /etc/apt/sources.list file

    • 0

Sidebar

Stats

  • Questions 681965
  • Answers 980273
  • Best Answers 280204
  • Users 287326
  • Popular
  • Answers
  • Marko Smith

    Can you pass user/pass for HTTP Basic Authentication in URL parameters?

    • 5 Answers
  • Marko Smith

    Ping a Specific Port

    • 18 Answers
  • Marko Smith

    Check if port is open or closed on a Linux server?

    • 7 Answers
  • Marko Smith

    How to automate SSH login with password?

    • 10 Answers
  • Marko Smith

    How do I tell Git for Windows where to find my private RSA key?

    • 30 Answers
  • Marko Smith

    What's the default superuser username/password for postgres after a new install?

    • 5 Answers
  • Marko Smith

    What port does SFTP use?

    • 6 Answers
  • Marko Smith

    Command line to list users in a Windows Active Directory group?

    • 9 Answers
  • Marko Smith

    What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats?

    • 3 Answers
  • Marko Smith

    How to determine if a bash variable is empty?

    • 15 Answers
  • Martin Hope
    Davie Ping a Specific Port 2009-10-09 01:57:50 +0800 CST
  • Martin Hope
    Smudge Our security auditor is an idiot. How do I give him the information he wants? 2011-07-23 14:44:34 +0800 CST
  • Martin Hope
    kernel Can scp copy directories recursively? 2011-04-29 20:24:45 +0800 CST
  • Martin Hope
    Robert ssh returns "Bad owner or permissions on ~/.ssh/config" 2011-03-30 10:15:48 +0800 CST
  • Martin Hope
    Eonil How to automate SSH login with password? 2011-03-02 03:07:12 +0800 CST
  • Martin Hope
    gunwin How do I deal with a compromised server? 2011-01-03 13:31:27 +0800 CST
  • Martin Hope
    Tom Feiner How can I sort du -h output by size 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent How to determine if a bash variable is empty? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus How do you find what process is holding a file open in Windows? 2009-05-01 16:47:16 +0800 CST

Related Questions

Trending Tags

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • Home
  • Questions
    • Hot Questions
    • New Questions
  • Tags
  • Help

Footer

SnapOverflow

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Help

© 2022 SOF-TR. All Rights Reserve