LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2003, 02:16 PM   #1
mpaiello
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
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
 
Old 09-28-2003, 02:21 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 09-28-2003, 03:24 PM   #3
darrenp
Member
 
Registered: Sep 2003
Location: Lancaster, UK
Distribution: Mandrake
Posts: 46

Rep: Reputation: 15
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
 
Old 09-28-2003, 03:47 PM   #4
mpaiello
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 09-28-2003, 03:54 PM   #5
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
u need to be root
 
Old 09-28-2003, 03:55 PM   #6
darrenp
Member
 
Registered: Sep 2003
Location: Lancaster, UK
Distribution: Mandrake
Posts: 46

Rep: Reputation: 15
Are you running the rpm command as root?

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

Darren.
 
Old 09-28-2003, 04:02 PM   #7
mpaiello
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 09-28-2003, 04:17 PM   #8
darrenp
Member
 
Registered: Sep 2003
Location: Lancaster, UK
Distribution: Mandrake
Posts: 46

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble installing packages using rpm on Mandrake 10.0 Harry Seldon Linux - Software 2 08-05-2005 02:21 PM
trouble installing game from a .rpm file kaohn Linux - Games 1 01-30-2005 02:49 AM
Trouble installing an rpm... hpnadig Mandriva 3 04-11-2004 12:21 AM
Trouble installing RPM dkochan Linux - General 5 02-14-2004 03:52 AM
Having Trouble Installing RPM for Nvidia MX 100 / 200 johnwolfe Linux - Hardware 2 09-20-2003 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration