Hi folks,
This may have already been fixed, but I figured I should note it
anyhow. It seems the RPM for
firefox-1.0.6-1.2.fc4.i386
gets rid of the file
/usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl
before it is invoked in the %postun script:
[r...@dimi ~]# rpm -e firefox-1.0.6-1.2.fc4
/var/tmp/rpm-tmp.83719: line 5:
/usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl: No such file or
directory
error: %postun(firefox-1.0.6-1.2.fc4.i386) scriptlet failed, exit status 127
Of course, if you recreate it for fun:
[r...@dimi ~]# mkdir /usr/lib/firefox-1.0.6
[r...@dimi ~]# vim /usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl
[r...@dimi ~]# touch /usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl
[r...@dimi ~]# chmod +x /usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl
The same thing will happen:
[r...@dimi ~]# rpm -e firefox-1.0.6-1.2.fc4
/var/tmp/rpm-tmp.18065: line 5:
/usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl: No such file or
directory
error: %postun(firefox-1.0.6-1.2.fc4.i386) scriptlet failed, exit status 127
Sure enogh the file (and dir) is gone again:
[r...@dimi ~]# ll /usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl
ls: /usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl: No such file or
directory
Only this gets rid of the package:
[r...@dimi ~]# rpm -e --noscripts firefox-1.0.6-1.2.fc4
--
Dimi Paun <[email protected]>
Lattica, Inc.