VMware server 2.0, /usr/src/linux?

Christopher A. Williams chriswfedora at cawllc.com
Tue Jan 20 14:32:58 UTC 2009


On Tue, 2009-01-20 at 07:15 -0700, Jamie Bohr wrote:
> I found a problem, don't know if it is related but
> kernel-2.6.27.9-159.fc10.x86_64.rpm fails to install with the
> following error below.
> 
> # yum update 
> .....
> Downloading Packages:
> kernel-2.6.27.9-159.fc10.x86_64.rpm
> |  20 MB     00:28
> ============================================================ Entering
> rpm code ============================================================
> Running rpm_check_debug
> Member: kernel.x86_64 0-2.6.27.9-159.fc10 - i
> Adding Package kernel-2.6.27.9-159.fc10.x86_64 in mode i
> rpm_check_debug time: 0.065
> Running Transaction Test
> Member: kernel.x86_64 0-2.6.27.9-159.fc10 - i
> Adding Package kernel-2.6.27.9-159.fc10.x86_64 in mode i
> Finished Transaction Test
> Transaction Test Succeeded
> Transaction Test time: 0.160
> Member: kernel.x86_64 0-2.6.27.9-159.fc10 - i
> Adding Package kernel-2.6.27.9-159.fc10.x86_64 in mode i
> Running Transaction
>   Installing     : kernel
> 1/1
> Error unpacking rpm package kernel-2.6.27.9-159.fc10.x86_64
> error: unpacking of archive failed on
> file /boot/System.map-2.6.27.9-159.fc10.x86_64: cpio: rename
> Warning: scriptlet or other non-fatal errors occurred during
> transaction.
> Running "posttrans" handler for "refresh-packagekit" plugin
> Transaction time: 0.373
> ============================================================ Leaving
> rpm code =============================================================
> 
> Installed:
>   kernel.x86_64 0:2.6.27.9-159.fc10
> #
> # rpm -q -a kernel
> kernel-2.6.27.5-117.fc10.x86_64
> 
> You can see that kernel-2.6.27.9 is NOT installed only kernel-2.6.27.5
> is.
> 
> Any one know what the error above means?

Looks like something didn't install cleanly a few updates ago.

I would suggest using package-cleanup to fix it:

# package-cleanup --cleandupes

Once that's done, re-run yum update and see if that clears the problem.
If not, we may have to resort to more aggressive tactics. The good news
is this definitely can be fixed (voice of personal experience).

Cheers,

Chris



--
==================================
By all means marry;
If you get a good wife, you'll be happy.
If you get a bad one, you'll become a philosopher.

--Socrates




More information about the fedora-list mailing list