Complete newbie and YUM error unpacking

MIDRSteve

Registered
Nov 24, 2009
3
0
51
Santo Domingo, Dominican Republic
As regards running a server, I'm a complete novice but have done ok so far, until now I need to rebuild apache to enable another mod I'm stuck.

Due to the problem here below....libstdc++-...

We're running on a VPS, and the solution of the Provider is at the moment...

"Ok Sir, we'll wipe the VPS and start again...please remove/backup your entire content and put it all back after...."

which we just don't want to do, especially given there is a few GB of data to move about too on a live site. From looking at this I'm sure there is a simple solution which someone is missing, but I just don't have the knowledge to overcome this.

Any help anyone can give would be greatly appreciated.

So far we've tried clearing the caches, yum updates, doing the installation manually and gotten nowhere..


Thanks in advance


Steve

--> Running transaction check
---> Package libstdc++-devel.x86_64 0:4.1.2-48.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libstdc++-devel x86_64 4.1.2-48.el5 base 2.8 M
Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 2.8 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libstdc++-devel 1/1Error unpacking rpm package libstdc++-devel-4.1.2-48.el5.x86_64

error: unpacking of archive failed on file /usr/include/c++/4.1.1/org: cpio: mkdir
Failed:
libstdc++-devel.x86_64 0:4.1.2-48.el5
Complete!
And one thing I did notice is that the file is 4.1.2, but the error reports directory /4.1.1 for the error.
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
Either you are trying to run yum as a non-root user or the file that you is attempting to unpack from the archive is set immutable (chattr +i) ...

Either way --- should be quick and easy to fix :D
 

MIDRSteve

Registered
Nov 24, 2009
3
0
51
Santo Domingo, Dominican Republic
Either you are trying to run yum as a non-root user or the file that you is attempting to unpack from the archive is set immutable (chattr +i) ...

Either way --- should be quick and easy to fix :D
Is definitely the root password that I am logged in with.

Now, the immutable option you mention I will try, but how do I know where the file being unpacked is on the directory structure?


While looking at this through Parallels, the file /usr/include/c++/4.1.1/org is owner and user "unknown", along with x86_64-redhat-linux in the same directory...

Thanks for taking the time to help btw, its really appreciated.