Red Hat Bugzilla – Bug 222785
Update fails if nscd not installed.
Last modified: 2007-11-30 17:11:53 EST
Description of problem:
If you don't have nscd installed, upgrade to screen-4.0.3-1.i386 fails.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -e nscd screen
2. yum install screen
nscd: unrecognized service
error: %pre(screen-4.0.3-1.i386) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping screen-4.0.3-1
There is this line in latest screen's preinstall scriptlet:
service nscd force-reload
Please change it to:
service nscd force-reload || true
[ -x /etc/init.d/nscd ] && service nscd force-reload || true
or something similiar.
I think, first is better. ;)
It is curious, that FC6 screen dost not have this bug, only it's FC5 version.
related to #222741
thanks for info. I change whole spec file. You'll can try after update (few
days) and let me know if you want.
Have a nice day,