Portal Home > Knowledgebase > Articles Database > httpd-devel install problem.


httpd-devel install problem.




Posted by rvbraj, 06-25-2008, 05:57 AM
Hi All, I like to install the httpd-devel on RHEL4 server. So that I used the following command but shows unpacking archive error. Please help me to fix this issue. #up2date install httpd-devel* Fetching Obsoletes list for channel: rhel-i386-es-4... Fetching Obsoletes list for channel: rhel-i386-es-4-extras... Fetching rpm headers... ######################################## Name Version Rel ---------------------------------------------------------- httpd-devel 2.0.52 38.ent.2 i386 Testing package set / solving RPM inter-dependencies... ######################################## httpd-devel-2.0.52-38.ent.2 ########################## Done. Preparing ########################################### [100%] Installing... 1:httpd-devel ########################################### [100%] error: unpacking of archive failed on file /etc/httpd/build: cpio: rename There was a fatal RPM install error. The message was: There was a rpm unpack error installing the package: httpd-devel-2.0.52-38.ent.2

Posted by activelobby4u, 06-25-2008, 06:08 AM
i think some problems with the up2date repo. try yum instead

Posted by rvbraj, 06-25-2008, 06:29 AM
Thanks for your reply. Can please tell me how to install the YUM on RHEL4 Server.

Posted by activelobby4u, 06-25-2008, 07:59 AM
You can download the rpm's from http://rpm.pbone.net/ or compile it directly from the source http://linux.duke.edu/projects/yum/download.ptml Most probably you must already be having the yum installed in your server

Posted by rvbraj, 06-25-2008, 09:34 AM
I have download the httpd-devel-2.0.52-38.ent.2.WB1.i386.rpm and tried to install but it shows following error. # rpm -ivh httpd-devel-2.0.52-38.ent.2.WB1.i386.rpm warning: httpd-devel-2.0.52-38.ent.2.WB1.i386.rpm: V3 DSA signature: NOKEY, key ID 73307de6 Preparing... ########################################### [100%] 1:httpd-devel ########################################### [100%] error: unpacking of archive failed on file /etc/httpd/build: cpio: rename failed - Is a directory Can please tell me how to fix this issue.

Posted by Lsupport, 06-25-2008, 02:39 PM
run and paste the result here.

Posted by david510, 06-26-2008, 03:58 AM
Did you install yum on the server?

Posted by Lsupport, 06-26-2008, 05:09 AM
Even if you try to install it using yum will get same error because there exist a directory named "/etc/httpd/build.xxxx". While installing, it will automatically try to remove that directory using command rm -f not rm -rf . Since rm -f could not remove the directory it exists there and throws this error. You first should remove this directory manually and then try to install.

Posted by jtonsupport, 06-26-2008, 07:43 AM
yum install httpd-devel



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
php4 xml parser (Views: 703)


Language: