YUM Update of MOZILLA with FC2: Problem

Michal Jaegermann michal at harddata.com
Tue Sep 20 17:33:54 UTC 2005


On Tue, Sep 20, 2005 at 11:11:21AM -0500, Mike McCarty wrote:
> 
> $ rpm -V mozilla
> missing    /usr/lib/mozilla-1.7.10/chrome/overlayinfo/browser
> missing    /usr/lib/mozilla-1.7.10/chrome/overlayinfo/browser/content
> missing    /usr/lib/mozilla-1.7.10/chrome/overlayinfo/browser/skin
> missing    /usr/lib/mozilla-1.7.10/chrome/overlayinfo/cookie
> missing    /usr/lib/mozilla-1.7.10/chrome/overlayinfo/cookie/content
> missing    /usr/lib/mozilla-1.7.10/chrome/overlayinfo/editor
> missing    /usr/lib/mozilla-1.7.10/chrome/overlayinfo/editor/content
> missing    /usr/lib/mozilla-1.7.10/chrome/overlayinfo/global
> missing    /usr/lib/mozilla-1.7.10/chrome/overlayinfo/global/content
> missing    /usr/lib/mozilla-1.7.10/chrome/overlayinfo/global/skin

These directories (and they are all directories) are removed by %post.
Like this:

if [ -f /usr/lib/mozilla-1.7.10/mozilla-rebuild-databases.pl ]; then
    /usr/lib/mozilla-1.7.10/mozilla-rebuild-databases.pl
fi

and
....
if ( -f "/usr/lib/mozilla-1.7.10/regxpcom" )
{
    # remove all of the old files
    rmtree("/usr/lib/mozilla-1.7.10/chrome/overlayinfo");
    unlink </usr/lib/mozilla-1.7.10/chrome/*.rdf>;
    unlink("/usr/lib/mozilla-1.7.10/component.reg");
    unlink("/usr/lib/mozilla-1.7.10/components/compreg.dat");
    unlink("/usr/lib/mozilla-1.7.10/components/xpti.dat");
.....

Nasty, but what we can do?  Maybe they can be marked in specs as
'%ghost %config(missingok) ...' but I am not sure if this works on
directories.

> Should I try a
> 
> # yum remove mozilla
> # yum install mozilla
> # yum update

The above shows that this will not help, at least with those
"missing",  and it is not a source of your problems.  OTOH if
something went funny during an installation (multiple instances
locking itself out and so on) then maybe rerunning
/usr/lib/mozilla-1.7.10/mozilla-rebuild-databases.pl will resolve
the issues?

   Michal




More information about the fedora-legacy-list mailing list