[Yum] Unable to update httpd service
sheltren at cs.ucsb.edu
Wed Apr 12 10:10:46 UTC 2006
On Apr 11, 2006, at 9:14 PM, Larry Kirsch wrote:
> I'm new to the Linux world, and I have just inherited 3 linux
> severs. I keep getting this email from one of the servers
> error: unpacking of archive failed on file /etc/httpd/logs: cpio:
> rename failed - Is a directory
> I can see it's trying to update the httpd.i386
> 0:2.0.52-22.ent.centos4, but it can't.
> I ssh to the server and run the following commands
> yum clean headers
> yum clean packages
> and then
> yum update
> I receive the same error message. Any help would be much appreaciated.
Hi Larry, I think the default is for the package to install /etc/
httpd/logs as a symlink to /var/log/httpd/. If you've changed /etc/
httpd/logs to be a real directory, that would be why the package is
complaining. If that's the case, try reverting it to a symlink, and
then doing a yum update.
More information about the Yum