Re: [R] ubuntu repository for R

From: Graham Smith <myotisone_at_gmail.com>
Date: Sat, 21 Jun 2008 18:32:08 +0100

Dirk,

Thanks for this, in fact I did notice the error after posting. I didn't know there was an r-sig-debian list, I shall join and use it for any future questions of this type.

Graham

2008/6/21 Dirk Eddelbuettel <edd_at_debian.org>:

> On Sat, Jun 21, 2008 at 06:03:39PM +0100, Graham Smith wrote:
> > 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:
> >
> >
> > graham_at_Antec-Linux:~$ gpg --keyserver subkeys.pgp.net --recv E2A11821
> > gpg: requesting key E2A11821 from hkp server subkeys.pgp.net
> > gpg: key E2A11821: public key "Vincent Goulet <
> vincent.goulet_at_act.ulaval.ca>"
> > imported
> > gpg: no ultimately trusted keys found
> > gpg: Total number processed: 1
> > gpg: imported: 1
> > graham_at_Antec-Linux:~$ 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
>
> Notice that Marielle (correctly) wrote
>
> gpg --export --armor E2A11821 | sudo apt-key add -
>
> whereas you used
>
> gpg --export --armor E2A11821 | sudo apt-key add-
>
> and the space matters. You tell apt-get to use a command 'add-' which
> doesn't exist whereas you need to tell it to use 'add' with '-' as
> input (meaning the key will be read on stdin).
>
> In the future, consider the r-sig-debian list for Debian / Ubuntu
> questions. We are now fairly off-topic for R.
>
> Dirk
>
>
> > 2008/6/21 Marielle <mwinarto_at_gmail.com>:
> >
> > >
> > > > 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_at_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_at_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.
>
> --
> Three out of two people have difficulties with fractions.
>

        [[alternative HTML version deleted]]



R-help_at_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. Received on Sat 21 Jun 2008 - 17:34:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 21 Jun 2008 - 18:30:48 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive