Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem ram recovery router safe mode screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Can't Get rpm packages to install

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
gadfly's Avatar
Member with 48 posts.
 
Join Date: Dec 2002
Location: Alberta, Canada
15-Oct-2003, 05:20 PM #1
Can't Get rpm packages to install
I've downloaded two packages recommended for monitoring security.

One is LogSentry 1.1.1. 1.i686 -
the other PortSentry 1.1-7 i386

I found these through the rpmfind.net search.

I'm running RedHat 9.

They download fine. I store them in my home directory - as general 'user' - I go to the directory and right click and choose 'install'. I'm cued for my 'root password' then once this is entered it brings up a window that says "system update" "this may take a while". When the progress bar is about 1/2 way through this window just disappears - and I'm left with the uninstalled packages still sitting there.

I've even tried to install these from directly within 'root' - still with the same result.

Is there something I'm doing wrong? Is there another way of installing which I should be using?

Advice greatly appreciated

Thanks

Gadfly
Whiteskin's Avatar
Distinguished Member with 2,051 posts.
 
Join Date: Nov 2002
Location: Alberta, Canada
Experience: Windows: Decent. Unix/Linux: Advanced +1
15-Oct-2003, 09:40 PM #2
Have you tired using the terminal. That may give you a better idea of what is going on, that and if you specify the verbose option. see the man page for more information.
gizard's Avatar
Junior Member with 5 posts.
 
Join Date: Oct 2003
16-Oct-2003, 09:32 AM #3
Hi,
You can use the CLI (or terminal) to login to root.

use the command su like this:
go to K | Terminal | Gnome-Terminal (or any other)

you will be presented with

user@localhost user/#

type in:

user@localhost user/# su
password

Enter the password for the root acount.
Now go to the location of your RPM by using the cd command

user@localhost user/# cd /home/username/dir-that-was-the-rpm
user@localhost user/# rpm ipq *.rpm

This will produce a list showing if the package will install or if any other dependances need to be pre-installed.

If this dies then it is the rpm that is curpt.

Gizard
gadfly's Avatar
Member with 48 posts.
 
Join Date: Dec 2002
Location: Alberta, Canada
16-Oct-2003, 07:00 PM #4
Good info - I'll check it out.

I did notice that one of the downloads left files in a couple spots - yet the thing doesn't seem to be running. If the first install attempt failed due to corruption would this effect subsequent install (even other rpm's)?

Also - (and this I'm sure is a really dumb question - but I can't help it ). A lot of people leave advise about checking the 'man' files. I confess - I don't know how to do this. I found them browsing once - tried to open with a text file (in desperation) but some of the characters were in odd symbols - so I must have gotten the wrong files. So if I could have "an idiots guide to reading man files" I'd appreciate it.

Thanks

Gadfly
Whiteskin's Avatar
Distinguished Member with 2,051 posts.
 
Join Date: Nov 2002
Location: Alberta, Canada
Experience: Windows: Decent. Unix/Linux: Advanced +1
16-Oct-2003, 07:25 PM #5
type in man then space then the command. It will give you a plethora of information on that command. They will become your best friend!
gadfly's Avatar
Member with 48 posts.
 
Join Date: Dec 2002
Location: Alberta, Canada
16-Oct-2003, 07:54 PM #6
Thanks for the prompt reply Whiteskin

- it will help a lot now that I know how to access the man pages. I was missing out on a lot of vital info.

Gadfly
Whiteskin's Avatar
Distinguished Member with 2,051 posts.
 
Join Date: Nov 2002
Location: Alberta, Canada
Experience: Windows: Decent. Unix/Linux: Advanced +1
16-Oct-2003, 10:08 PM #7
cool! Some times the distro you use will also post a collection of man pages on the interent, so if you cant boot your computer, you may still be able to get man pages.
gadfly's Avatar
Member with 48 posts.
 
Join Date: Dec 2002
Location: Alberta, Canada
17-Oct-2003, 12:29 AM #8
Hope you guys don't mind that I'm chaining questions here - but you spoke of using the terminal - I've noticed that I have an option of screen session, linux console, root console and shell. What exactly are the differences - and in that - which one would I most appropriately use for doing commands - like the 'su' etc.

Thanks

Gadfly
Whiteskin's Avatar
Distinguished Member with 2,051 posts.
 
Join Date: Nov 2002
Location: Alberta, Canada
Experience: Windows: Decent. Unix/Linux: Advanced +1
17-Oct-2003, 05:11 PM #9
It depends. More often than not you can get away with doing nearly enything inside of a terminal emulater (xterm, kterm, Eterm, Aterm etc. ) I cant think of a situation now, but i am certain that there are instances in which one would have to run a program right from the console.

I'd run most programs that use x, but need root acess with a program like xsu, or gnome su.
__________________
emerge world_domination;
Smart Questions gentoo
Ubuntu
linux google:Shiny!
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 03:02 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.