Strangeness with recent FC5 update

Michal Jaegermann michal at harddata.com
Wed Jul 12 17:17:22 UTC 2006


On Wed, Jul 12, 2006 at 07:14:28AM -0400, Jim Cornette wrote:
> 
> Pasted is the last files missing episode and .pyc files seemed to be the 
> problem.

No that much of a trouble here.  Maybe by an accident?  These files
are "precompiled" Python so as long as you have a corresponding .py
file then you should not even notice during an execution that some
files are gone.

....
> missing     /usr/share/system-config-soundcard/probeCard.pyc
> missing     /usr/share/system-config-soundcard/soundcard.pyc
....

This seems to be an effect of a "cooperation" between yum and
a way how that rpm package was put together.

If you will try

   rpm -qf --scripts /usr/share/system-config-soundcard/probeCard.py

then you will see, among other things,

preuninstall scriptlet (using /bin/sh):
if [ -d /usr/share/system-config-soundcard ] ; then
  rm -rf /usr/share/system-config-soundcard/*.pyc
fi

Why this was inserted there if 'system-config-soundcard' package
owns these *.pyc files is a good guess.  Likely some "hysterical
raisins".  Now yum does 'Update' and 'Cleanup', in that order,
in a cleanup phase 'rm -rf ...' from the old package gets executed
and you end up with missing files.

Smells like a bugzilla time with reports about packaging.

> missing     /usr/lib/mozilla-1.7.13/chrome/overlayinfo/global/content

A similar mechanism like above seems to in work here (but with
mozilla/firefox packages there is even more fun :-).

   Michal




More information about the test mailing list