[R] error installing R on linux 8.0
Martyn Plummer
plummer at iarc.fr
Fri Mar 14 11:32:58 CET 2003
The problem in this case is that the RPM file is corrupted. Try
downloading a fresh copy from CRAN.
To check if the package has been corrupted type:
rpm -K --nosignature /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm
It is possible to install a gpg-signed RPM package without importing the
corresponding public key into the RPM database.
Martyn
On Thu, 2003-03-13 at 19:34, Marc Schwartz wrote:
> Wenyan Zhong wrote:
> > Hi there,
> >
> > When installing R on linux 8.0, I got the following error message:
> >
> > rpm -i /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm
> > error: /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm: V3 DSA signature: BAD,
> > key ID 97d3544e
> > error: /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm cannot be installed
> >
> > Any suggestions as what I did wrong?
> >
> > Thanks in advance.
> >
> > Wenyan
>
>
> I am going to presume that you mean Red Hat 8.0.
>
> In the readme file that Martyn has on CRAN in the same directory from
> which you would have downloaded the RPM, he indicates that in order to
> check the RPM signature you have to import his public key into the RPM
> database.
>
> The readme URL on CRAN is:
>
> http://cran.r-project.org/bin/linux/redhat/8.x/i386/ReadMe
>
> To quote from the file:
>
> gpg
> ---
> The RPMS are signed with GPG, and you are advised to check the signature
> before installing them, for your own security. You can obtain my public
> key which has ID 97D3544E from any key server on pgp.net. Ask me for
> my public key fingerprint if you want to be sure.
>
> Note that, in Red Hat 8.0, you must import my public key into the RPM
> database (as root) in order to check the GPG signature. This is a
> change from previous releases of Red Hat Linux. See the man page for rpm.
>
> Here is one way to do it:
>
> gpg --keyserver wwwkeys.eu.pgp.net --recv-key 97d3544e
> gpg --output plummer.gpg --armor --export 97d3544e
> su
> rpm --import plummer.gpg
>
>
>
> Copy and paste each one of the above four commands into a console window
> and that should resolve the problem.
>
> Hope that helps.
>
> Regards,
>
> Marc Schwartz
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
More information about the R-help
mailing list