the netscape startup script checks for rpm to return "(none)" when queried for the install prefix. If $LANG is set to "de" for example rpm will return "(kein)" which breaks the script. I use the following patch: --- netscape.orig Thu Oct 8 14:43:02 1998 +++ netscape Thu Oct 8 14:43:55 1998 @@ -24,7 +24,7 @@ fi I="`rpm -q $which --qf '%{INSTALLPREFIX}\n'`" -if [ "$I" = "(none)" ]; then +if echo "$I" | grep -q "(.*)" 2> /dev/null; then I=/usr fi
It is easier to just invoke rpm with an unset LANG environment variable, which makes the change only to be: -I="`rpm -q $which --qf '%{INSTALLPREFIX}\n'`" +I="`LANG= rpm -q $which --qf '%{INSTALLPREFIX}\n'`" if [ "$I" = "(none)" ]; then
I've changed this to an rpm problem even though it's the way in which the script was written that is actually the problem. I believe this problem was fixed in (at least) rpm-2.5.5. Upgrade rpm and see if that fixes the problem. Otherwise, please reopen this bug and include the version of rpm that (still) has the problem.
fixed in netscape-4.08-4.