firefox packaging bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

[root@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:

[root@dimi ~]# mkdir /usr/lib/firefox-1.0.6
[root@dimi ~]# vim /usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl
[root@dimi ~]# touch /usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl
[root@dimi ~]# chmod +x /usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl

The same thing will happen:

[root@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:

[root@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:

[root@dimi ~]# rpm -e --noscripts firefox-1.0.6-1.2.fc4

-- 
Dimi Paun <dimi@xxxxxxxxxxx>
Lattica, Inc.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux