Red Hat Bugzilla – Bug 735879
ibus update fails if /bin/sh is not bash
Last modified: 2011-09-30 14:34:54 EDT
Description of problem:
ibus update fails if /bin/sh is not bash-compatible (but is still sh-compatible).
Version-Release number of selected component (if applicable):
(may still exist in ibus-126.96.36.19910419-18.fc15.x86_64)
Steps to Reproduce:
1. rpm -q dash || yum -y install dash
2. ln -sf /bin/dash /bin/sh
3. yum update ibus
ibus reports the following error:
"Error in PREIN scriptlet in rpm package ibus-188.8.131.5210419-18.fc15.x86_64
/var/tmp/rpm-tmp.KHyekE: 4: Syntax error: Bad fd number
error: %pre(ibus-184.108.40.20610419-18.fc15.x86_64) scriptlet failed, exit status 2
ibus-220.127.116.1110419-13.fc15.x86_64 was supposed to be removed but is not!"
Update proceeds normally.
Error goes away if /bin/sh is a symbolic link to /bin/bash.
OK, I will include the fix when I will release the new version.
Probably I don't think this fix is needed asap since you know the workaround.
ibus-18.104.22.16810817-4.fc16 has been submitted as an update for Fedora 16.
ibus-22.214.171.12410817-4.fc15 has been submitted as an update for Fedora 15.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-126.96.36.19910817-4.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
The build in updates-testing for Fedora 15 seems to work just fine.
ibus-188.8.131.5210817-4.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
ibus-184.108.40.20610817-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.