Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

list of installed rpm's

Status
Not open for further replies.

netmind

MIS
Oct 31, 2002
17
0
0
US
Using RH8 httpd was working fine, but after a reboot now I'm unable to start it. "service failed to start". Not sure what happend. Decided to downloaded an httpd rpm. When trying to install the httpd rpm it told me it was already installed. Need to know how to list installed rpm's and how to remove them. I have KDE running so if there's a graphical program that would be great.
Thanks for your help.

netmind
 
Small (but critical) typo there.
Should be
rpm -e package_name


 
Also, rather than install the rpm, you could upgrade it:

rpm -Uvh <package.rpm>
 
i would first try to find out why httpd did not start.

Makesure networking is running.
make sure you have a hostname and entry in /etc/hosts

what error do you get when trying to start httpd?

rpm:
rpm -qa (gets all rpms installed)
rpm -qa | grep my_rpm (search for rpm ro see if installed)

rpm -e rpm-name (only name, not name and version number)

rpm -Uvh (upgrade or install)

 
Thanks!
I was able to upgrade httpd. The problem was with the hosts file. It is now set correct and all is working good.
Thanks again.
netmind
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top