Skip to content

error installing R on linux 8.0

6 messages · Wenyan Zhong, A.J. Rossini, Marc Schwartz +2 more

#
"Wenyan Zhong" <ZHONGW2 at wyeth.com> writes:
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...
#
Wenyan Zhong wrote:
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
#
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:

            

  
    
#
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:
#
Martyn 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