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 [[alternate HTML version deleted]]
"Wenyan Zhong" <ZHONGW2 at wyeth.com> writes:> When installing R on linux 8.0, I got the following error message:There is no Linux 8.0. There is Linux 2.4.20, etc. Do you mean RedHat? Suse? Slackware? Mandrake (any other distributions with a version number 8 or higher?). I know this means you aren't running Debian... -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics U. of Washington Biostatistics rossini at u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini at scharp.org -------------- http://software.biostat.washington.edu/ -------------------- FHCRC:Tu: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email UW: Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX (CHANGE: monday/wednesday/friday locations are completely unpredictable.)
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. > > WenyanI 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
Hi: You are not given enough info to help you. It looks like your rmp file is somehow corrupted. I haven't try in RH 8.0, but anyway try rmp -ivh route/to/your/R-1.6.2-1.i386.rpm Or if you have an older version of R already running: rpm -uvh route/to/your/R-1.6.2-1.i386.rpm Note that you need administrator rights. On Thu, 13 Mar 2003, 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 > > [[alternate HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >-- Ulises M. Alvarez LAB. DE ONDAS DE CHOQUE FISICA APLICADA Y TECNOLOGIA AVANZADA UNAM umalvarez at fata.unam.mx
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 >
>-----Original Message----- >From: r-help-bounces at stat.math.ethz.ch >[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Martyn Plummer >Sent: Friday, March 14, 2003 4:33 AM >To: MSchwartz at medanalytics.com >Cc: r-help at stat.math.ethz.ch; Wenyan Zhong >Subject: Re: [R] error installing R on linux 8.0 > > >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. > >MartynMartyn is correct of course. I had not considered a corrupted RPM in my reply, but clearly should have. One other thought to add, which is that it may not be the downloaded RPM file that is corrupted, but the copy that was burned to the CD. I have seen a fair number of posts on RH usenet groups where folks have downloaded the RH ISO files without problems (including the MD5 checksums being correct). However, the media check during installation indicated a problem with the image on the CD, which could be the result of a poor burn or a problem with the media itself. Thus, you might want to also try a different CD as part of the process. Martyn, I am wondering if it would be reasonable to include a md5summ.txt file along with the RPMs to enable a check to be made of the downloaded (and possibly burned) RPM file against a known value that you generate? Best regards, Marc Schwartz
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 <plummer@iarc.fr> 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 thesignature> before installing them, for your own security. You can obtain mypublic> 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 forrpm.> > 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 consolewindow> and that should resolve the problem. > > Hope that helps. > > Regards, > > Marc Schwartz > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >[[alternate HTML version deleted]]