Marielle, Thanks for this. I think I have done as you suggest but still get the public key error. Do I need to reboot to get it to work: here is the script:
[EMAIL PROTECTED]:~$ gpg --keyserver subkeys.pgp.net --recv E2A11821 gpg: requesting key E2A11821 from hkp server subkeys.pgp.net gpg: key E2A11821: public key "Vincent Goulet <[EMAIL PROTECTED]>" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 [EMAIL PROTECTED]:~$ gpg --export --armor E2A11821 | sudo apt-key add- sudo: unable to resolve host Antec-Linux [sudo] password for graham: Usage: apt-key [command] [arguments] Manage apt's list of trusted keys apt-key add <file> - add the key contained in <file> ('-' for stdin) apt-key del <keyid> - remove the key <keyid> apt-key export <keyid> - output the key <keyid> apt-key exportall - output all trusted keys apt-key update - update keys using the keyring package apt-key net-update - update keys using the network apt-key list - list keys 2008/6/21 Marielle <[EMAIL PROTECTED]>: > > > I am trying to get synaptic to work with R > > > > I have added http://cran.uk.r-project.org/bin/linux/ubuntu as the URL > and > > hardy/ as the distribution. > > Try a different mirror, I used http://cran-mirror.cs.uu.nl/. When you try > apt-get update, you'll get a warning (that's better than an error ;) > W: GPG error: http://cran-mirror.cs.uu.nl hardy/ Release: The following > signatures couldn't be verified because the public key is not available: > NO_PUBKEY D67FC6EAE2A11821 > > To solve this, run: > > gpg --keyserver subkeys.pgp.net --recv E2A11821 > > gpg --export --armor E2A11821 | sudo apt-key add - > > apt-get update, and you should be able to install r-base (and any other > packages you need). > > Marielle > -- > View this message in context: > http://www.nabble.com/ubuntu-repository-for-R-tp18043145p18046293.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.