YUM Update of MOZILLA with FC2: Problem

Mike McCarty mike.mccarty at sbcglobal.net
Tue Sep 20 17:31:54 UTC 2005


Michal Jaegermann wrote:
> On Tue, Sep 20, 2005 at 10:59:59AM -0500, Mike McCarty wrote:
> 
>>OOPS!
>>
>>$ 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
>>
>>So I apparently have an incomplete install.
> 
> 
> No, not really.  'mozilla' is a nasty case.

Ok.

> 
> $ rpm -q --scripts mozilla
> postinstall scriptlet (through /bin/sh):
> # run ldconfig before regxpcom
> /sbin/ldconfig >/dev/null 2>/dev/null
> 
> 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 the program in question has pretty close to the beginning:
> 
>     # 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");
> .....
> 
> That probably can be worked around in specs by adding in right places
> 
>   %ghost %config(missingok) %verify(not md5 size mtime)
> 
> or by just dumping the whole chrome/overlayinfo tree from packaging (but
> then you will leave leftovers on removals/updates, which happens anyway)
> although this 'rmtree' is behind a conditional so one should be careful.
> 
> I suggested that in the past and I think that some of these directives are
> in place.  But maybe not enough of these or this does not work on
> directories.  These are directories you see complaints about about.  Try
> 
>    rpm -qlv mozilla | grep overlayinfo

$ rpm -qlv mozilla | grep overlayinfo
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/browser
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/browser/content
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/browser/skin
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/communicator
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/communicator/content
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/cookie
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/cookie/content
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/editor
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/editor/content
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/global
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/global/content
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/global/skin
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/navigator
drwxr-xr-x    2 root    root                0 Aug 11 18:59 
/usr/lib/mozilla-1.7.10/chrome/overlayinfo/navigator/content


> mozilla spec is rather big and you try not to mess with it too much. :-)

Heh.

>>Did you suggest then
>>
>>$ rpm -Uvh --force mozilla
> 
> 
> Not in this particular case as this will not help without
> '--noscripts' as well and this script presumably has reasons.

Thanks for the reply, but I'm still in a quandary about getting
Mozilla to work for me.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-legacy-list mailing list