Red Hat Bugzilla – Bug 443275
Upgrade from Fedora 8 to Fedora 9 beta fails
Last modified: 2010-09-29 14:34:14 EDT
Description of problem:
Upgrade from Fedora 8 to Fedora 9 beta fails for grace. rpm upgrade gives:
Updating : grace ################### [ 892/3316]
Error unpacking rpm package grace - 5.1.21-9.fc9.i386
error: unpacking of archive failed on file /usr/share/grace/fonts/type1: cpio:
and after that grace cannot find any fonts. If I remove grace and reinstall it,
it works OK. So only the upgrade seems to be broken.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I think this is because /usr/share/grace/fonts/type1 is not a directory
anymore but a link to the /usr/share/fonts/default/Type1 directory,
to avoid using the duplicated fonts in grace, but instead use the
system fonts. I remember this happening for other packages in the past,
but I thought it was fixed. Anyway this is not a grace bug, in my opinion,
but a rpm bug.
according to wwoods this is a packaging bug and not something rpm can handle.
It's a known limitation of RPM/cpio. See bug 433096 for a nice long discussion
of the same problem with the xulrunner package. Panu comments there:
"The trick to replace directory with a symlink is to do it in %pretrans, regular
%pre is too late in the process."
Until rpm can be made to handle this change automatically (and it's much too
late in the F9 process for that), it's a packaging bug.
If you read up to bottom, it looks like things are not so simple, and
I didn't understood the final words. Clearer explanation and patches
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Use LUA or have a look how xorg-x11-filesystem solves such issues. It is
possible to work without that "feature"...
I will certainly not add a unusefull package to workaround
a rpm bug.
How lua can be used for that issue?
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '9'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 9's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 9 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Now that F-9 is getting near EOL I will close this bug as WONTFIX.
The upgrade process works OK for F-10, F-11 and rawhide.
I have at the moment more important bugs to solve like grace not running on x86-32.
If there is a patch I will take it in any case. Thanks.