[Solved]: yum/rpm upgrade problem with fortune rpm from dries

Andrey Andreev andreev at cs.helsinki.fi
Thu Sep 9 10:45:56 UTC 2004


Andrey Andreev wrote:
> Hi,
> 
> I tried to do yum update today, and I got:
> 
> [update: fortune 1.0-30.1.fc2.dries.i386]
> Is this ok [y/N]: y
> Downloading Packages
> Download start for fortune.i386
> Checking cached RPM fortune-1.0-30.1.fc2.dries.i386.rpm
> Creating Transaction Set
> Updating: fortune, i386
> Running test transaction:
> Test transaction complete, Success!
> Updating: fortune, i386
> fortune 100 % done 1/3
> error: unpacking of archive failed on file /usr/games/fortune: cpio: rename
> Updated:  fortune 1.0-30.1.fc2.dries.i386
> Transaction(s) Complete
> 
> Note the message:
> error: unpacking of archive failed on file /usr/games/fortune: cpio: rename
[snip]
> [current installed package info]
> 8<-------------------------------------------------------->8
> [andrei at brie backuprpms]$ rpm -qi fortune
[snip]
> GZDIO:       3 reads,    24576 total bytes in 0.000477 secs
> ########################################### [100%]
> error: unpacking of archive failed on file /usr/games/fortune: cpio: 
> rename failed - Is a directory
[snip]

Well, sorry! I should read my own posts more carefully in the future, 
before posting them. It was all in there, really.

So, as the last mesage clearly states, /usr/games/fortune is a directory 
(full of other stuff too), while in the new package it is a file, and 
the corresponding directory is /usr/share/games/fortune

So, its a packaging SNAFU. I guess I'll let dries know.

Sorry to have wasted your time.

//Andro

-- 
Andrey Andreev
University of Helsinki
Dept. of Computer Science





More information about the users mailing list