Description of problem: Due to the following, it's impossible to update ibus-chewing. [root@localhost ~]# yum update ibus-chewing Loaded plugins: langpacks, presto, refresh-packagekit, security Adding en_US to language list Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package ibus-chewing.x86_64 0:1.3.7.20100910-1.fc15 will be updated ---> Package ibus-chewing.x86_64 0:1.3.8-1.fc15 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: ibus-chewing x86_64 1.3.8-1.fc15 rawhide 65 k Transaction Summary ================================================================================ Upgrade 1 Package(s) Total size: 65 k Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Error in PREIN scriptlet in rpm package ibus-chewing-1.3.8-1.fc15.x86_64 error: %pre(ibus-chewing-1.3.8-1.fc15.x86_64) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping ibus-chewing-1.3.8-1.fc15 ibus-chewing-1.3.7.20100910-1.fc15.x86_64 was supposed to be removed but is not! Failed: ibus-chewing.x86_64 0:1.3.8-1.fc15 Complete! [root@localhost ~]# Version-Release number of selected component (if applicable): 1.3.8-1.fc15 How reproducible: always
Erm, why remove all the protection from the scriptlets? http://pkgs.fedoraproject.org/gitweb/?p=ibus-chewing.git;a=commitdiff;h=cf591d0c12771f966715c40eee6fcf8662c23329
Any if you want to do that you should probably change "[ ... ] &&" to "if" statements. That is a common error with using && in rpm scripts. Anyway either way works I think.
And anyway now it is better to use %gconf_schema_prepare or so now provided by GConf2: https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#GConf
Nils fixed the immediate problem in ibus-chewing-1.3.8-2.fc15. But leaving open to get comment 3 addressed.
(In reply to comment #3) > And anyway now it is better to use %gconf_schema_prepare or so > now provided by GConf2: > > https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#GConf Thanks, but those scripts are not available in RHEL6, thus I won't be able to update myself with my RHEL boxes.
ibus-chewing-1.3.9.2-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/ibus-chewing-1.3.9.2-1.fc14
ibus-chewing-1.3.9.2-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/ibus-chewing-1.3.9.2-1.fc13
ibus-chewing-1.3.9.2-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ibus-chewing'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/ibus-chewing-1.3.9.2-1.fc13
ibus-chewing-1.3.9.2-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
ibus-chewing-1.3.9.2-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.