Hi Martyn,

Thanks very much for your and everyone's suggestions. I appreciate it.
I suspected that too. So I tried to download the copy from two separate
URLs 
and still got the same error, I'll use the following command to check
whether the 
file has been corrupted. 

Since my linux box is not connected to the internet, I can't do exactly
as you suggested 
in your README file to import the public key. I am not sure whether this
could be the problem.

here is what I did to get the public key.

1. obtain the public key via the web keyserver
(http://www.pgp.net/wwwkeys.html), save it as plummer.txt
2. under linux did the following
    gpg --import plummer.txt
    gpg --output plummer.gpg --armor --export 97d3544e
    rpm --import plummer.gpg

Thanks again,

Wenyan




>>> Martyn Plummer <[EMAIL PROTECTED]> 03/14/03 05:32AM >>>
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
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 

        [[alternate HTML version deleted]]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to