Very strange this is what I found in /etc/httpd
drwxr-xr-x 7 root root 4096 Jul 26 03:12 conf
drwxr-xr-x 2 root root 4096 Aug 14 19:31 conf.d
drwxr-xr-x 2 root root 4096 Oct 27 2004 conf.d.old
drwxr-xr-x 2 root root 4096 Mar 21 09:46 conf.d.rpm
lrwxrwxrwx 1 root root 19 Aug 14 19:31 logs -> ../../var/log/httpd
lrwxrwxrwx 1 root root 29 Aug 7 08:21 modules;42f626e9 ->
../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root 29 Aug 9 07:30 modules;42f8be03 ->
../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root 29 Aug 9 23:30 modules;42f99ef4 ->
../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root 29 Aug 10 08:24 modules;42fa1bbe ->
../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root 29 Aug 11 21:48 modules;42fc29e3 ->
../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root 29 Aug 12 19:35 modules;42fd5bfd ->
../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root 29 Aug 13 10:00 modules;42fe2739 ->
../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root 29 Aug 13 10:05 modules;42fe2858 ->
../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root 29 Aug 14 19:31 modules;42fffe72 ->
../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root 13 Jul 18 23:56 run -> ../../var/run
ever seen anything like that? Some kind of temp directory created by
RPM? I recreated the modules link and it installed fine.
Paul Howarth wrote:
On Sun, 2005-08-14 at 19:33 -0700, Robert Bell wrote:
# rpm -Uvh /var/cache/yum/*/packages/httpd-2.0.54-10.1.x86_64.rpm
Then repeat the "rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n'
httpd\*" and see what you get.
Paul.
httpd is not in the cache, only httpd-devel. I ran yum -e 5 -d 5 and
this is what I got. RPM *does* think this version is installed:
Running Transaction Test
Adding Package httpd - 2.0.54-10.1.x86_64 in mode u
Finished Transaction Test
Transaction Test Succeeded
Adding Package httpd - 2.0.54-10.1.x86_64 in mode u
Running Transaction
Updating : httpd ######################### [1/2]
error: unpacking of archive failed on file /etc/httpd/modules: cpio: rename
Updated: httpd.x86_64 0:2.0.54-10.1
Complete!
Do you have something other than a directory at /etc/httpd/modules?
# ls -ld /etc/httpd/modules
If so, try renaming it and then try again.
# mv /etc/httpd/modules /etc/httpd/modules.old
# yum update httpd
Paul.