In ec429e944715fe7a0471a68f225b35e267fe8d67 a pretrans scriptlet was added to firefox. +%pretrans +# Moves defaults/preferences to browser/defaults/preferences in Fedora 19+ +%if 0%{?fedora} >= 19 +if [ -L %{mozappdir}/browser/defaults/preferences ]; then + rm %{mozappdir}/browser/defaults/preferences + mkdir -p %{mozappdir}/browser/defaults/preferences + if [ -d %{mozappdir}/defaults/preferences ]; then + mv %{mozappdir}/defaults/preferences/* %{mozappdir}/browser/defaults/preferences + rm -f %{mozappdir}/defaults/preferences/* + echo "Content of this directory has been moved to %{mozappdir}/browser/defaults/preferences." > + fi +fi +%endif This causes any composes that use firefox to fail, because rpm can't be sure and have bash before the transaction since it's a new install. See: https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#The_.25pretrans_scriptlet So, at the very least you need to re-write this in lua so it can use the rpm copy of lua. Bash will never work here on new/fresh installs.
I would suggest moving it to firefox.sh, seems more reasonable
Hm, looks more complicated than we expected.
IMHO We can also run it from some other rpm script where the bash can be used, like %post or so.
https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Scriptlets seems to provide useful guide.
*** Bug 1003230 has been marked as a duplicate of this bug. ***
Can we get this fixed soon? It's causing a lot of problems with f20 alpha as you can't really do an installation without de-selecting firefox
This was already proposed as a F20 alpha blocker, but it does violate the following F20 alpha release criterion [1]: There must be no errors in any package on the release-blocking images which cause the package to fail to install. [1] http://fedoraproject.org/wiki/Fedora_20_Alpha_Release_Criteria#No_broken_packages It does break the installation process but this criterion is more accurate since it's a broken package issue
This is actually fix for bug 976420. It can't be fixed in firefox.sh nor %post section because symlink must be removed before installation. Otherwise it fails. I will have to rewrite it to lua then.
(In reply to Jan Horak from comment #8) > This is actually fix for bug 976420. It can't be fixed in firefox.sh nor > %post section because symlink must be removed before installation. Otherwise > it fails. I will have to rewrite it to lua then. Any idea when we can expect a rewritten script? I'd really like to get this taken care of for the next f20 alpha TC (in the next day or two).
Firefox-23.0.1-4 is fixing this issue. Builds should be finished in koji soon. You don't need update in bodhi for F20, do you?
(In reply to Jan Horak from comment #10) > Firefox-23.0.1-4 is fixing this issue. Builds should be finished in koji > soon. You don't need update in bodhi for F20, do you? As long as the build is done before alpha freeze later today, I don't think an update is needed.
http://koji.fedoraproject.org/koji/buildinfo?buildID=461257 has been built as a fix for this bug and it will be included in F20 alpha TC3. Moving to ON_QA
Thanks.
*** Bug 1003587 has been marked as a duplicate of this bug. ***
Discussed at 2013-09-04 blocker review meeting [1]. This is accepted as an Alpha blocker, because it violates the following F20 alpha release criterion for firefox, which is part of the default gnome install: "There must be no errors in any package on the release-blocking images which cause the package to fail to install." [2] [1] http://meetbot.fedoraproject.org/fedora-blocker-review/2013-09-04/ [2] https://fedoraproject.org/wiki/Fedora_20_Alpha_Release_Criteria#No_broken_packages
I'm also seeing this error ("script error with package firefox") in a Fedora 19 netinstall. Is the fix going to be backported to Fedora 19 as well?
Thank you, this was breaking my livecd-creator builds with: Error creating Live CD : Dependency check failed : (('firefox', '23.0.1', '3.fc19'), ('/bin/sh', ''), 0, 0, None) Works fine when I pull in koji's firefox-23.0.1-4. -c
Please submit an update for F19 as well. This breaks the installer when updates are enabled.
firefox-23.0.1-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/firefox-23.0.1-4.fc18
firefox-23.0.1-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/firefox-23.0.1-4.fc19
*** Bug 1004766 has been marked as a duplicate of this bug. ***
Package firefox-23.0.1-4.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing firefox-23.0.1-4.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-15912/firefox-23.0.1-4.fc18 then log in and leave karma (feedback).
firefox-23.0.1-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.