Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yum, though great, is still basically a wrapper for RPM. Rebooting, halting, etc during a package install/removal can cause all kinds of problems. Up to and including the need to just re-build the box.

Run 'rpm -qa | grep httpd' to confirm RPM sees the package installed If you see the httpd package installed, then you probably have a corrupted installation and need to clean it off completely first and re-install.

Run 'rpm --verify httpd' to verify the contents of the package This should tell you what you are missing.

Run 'rpm -e httpd' to remove the package If that runs without any issues, you can attempt to re-install with 'yum install httpd'. If it fails. My suggestion is to re-install the base OS and start from scratch. What is 10-15 minutes to be make it is working correctly? And don't consider rpm complaining of missing files (during the removal) as a failure. It is reporting the issue.

Good Luck!

Yum, though great, is still basically a wrapper for RPM. Rebooting, halting, etc during a package install/removal can cause all kinds of problems. Up to and including the need to just re-build the box.

Run 'rpm -qa | grep httpd' to confirm RPM sees the package installed installed.
If you see the httpd package installed, then you probably have a corrupted installation and need to clean it off completely first and re-install.

Run 'rpm --verify httpd' to verify the contents of the package package.
This should tell you what you are missing.

Run 'rpm -e httpd' to remove the package package.
If that runs without any issues, you can attempt to re-install with 'yum install httpd'. If it fails. My suggestion is to re-install the base OS and start from scratch. What is 10-15 minutes to be make it is working correctly? And don't consider rpm complaining of missing files (during the removal) as a failure. It is reporting the issue.

Good Luck!