LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trouble installing rpm file (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-installing-rpm-file-97912/)

mpaiello 09-28-2003 02:16 PM

trouble installing rpm file
 
I'm trying to install a stats package on my redhat server. The stats package is At http-analyze.org/download.html

My cpu is a celeron 1200. I know celeron ain't IBM, so I'm trying to install the "alpha" version of the software. I'm running redhat linux, though not 100% sure which version.

I SSH into the shell and locate the file in the appropriate directory. The file is called: "http-analyze-2.4-1rh60.alpha.rpm".

So at the cursor in ssh I type: "rpm -ivh http-analyze-2.4-1rh60.alpha.rpm" - with the result that I get an error saying there's no such file or directory.

Any help with this would be greatly appreciated. I have chat software if you want to talk realtime!

Mike

trickykid 09-28-2003 02:21 PM

Why are you trying to install an alpha version, if your hardware isn't alpha itself? If the package was designed for alpha, most likely its not going to work for x86 platform.

darrenp 09-28-2003 03:24 PM

Alpha is another type of computer chip, like Sparc or i386.

The package you'd want would be the i386 package. i386 is just a (rather old) way of saying intel compatible.

You might see i586 type rpms, these should also work on any intel compatible hardware, but have been compiled with optimisations for the newer chips.

HTH

Darren

mpaiello 09-28-2003 03:47 PM

rpm install with 386 version
 
Thanks for the replies. Okay, I have now tried to install the 386 version. Here's the error I get after trying the install:

error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted
error: cannot open Packages database in /var/lib/rpm

What's it all mean??

Mike

ehdwuld 09-28-2003 03:54 PM

u need to be root

darrenp 09-28-2003 03:55 PM

Are you running the rpm command as root?

rpm's must be installed as the root (super-user, administrator, Da boss... ) user.

Darren.

mpaiello 09-28-2003 04:02 PM

Darren - When you say "as root" I think you mean that I should be installing the software as the admin. I have a dedicated server at hostway.com, and they give me ssh shell access directly through the admin interface, so I think that means I am the admin by default. Anyhow, there are no other users but me. Does that answer the question? You can chat with me live on msn messenger: mpa@3works.com

darrenp 09-28-2003 04:17 PM

Hmm,

I would have thought that the admin user would be root.

There are ways to try tho'.

Try the command:

id

You should get an output looking like:

uid=0(root) gid=0(root) groups=0(root)

The important part is that uid=0

If this is right, then you are root. Also, try:

ls -al /var/lib/rpm

and see who owns those files.

If you do not seem to be root, then the command:

su -

will make you root. It may should ask you for a password which should be one that you set up with hostway.

I would come onto msn messenger, but that would involve signing up to a microsoft (uck) thing. I have enough of those at work! *8-)

ICQ: 21087788


Darren.


All times are GMT -5. The time now is 04:38 PM.