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 |
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.
|
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 |
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 |
u need to be root
|
Are you running the rpm command as root?
rpm's must be installed as the root (super-user, administrator, Da boss... ) user. Darren. |
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
|
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. |