Bug 222785 - Update fails if nscd not installed.
Update fails if nscd not installed.
Product: Fedora
Classification: Fedora
Component: screen (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Marcela Mašláňová
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2007-01-16 02:28 EST by Jan ONDREJ
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: screen-4.0.3-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-16 07:55:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan ONDREJ 2007-01-16 02:28:28 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):

How reproducible:

Steps to Reproduce:
1. rpm -e nscd screen
2. yum install screen

Actual results:
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

Expected results:
No error.

Additional info:
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.
Comment 1 Marcela Mašláňová 2007-01-16 07:55:48 EST
related to #222741

Hello Honzo,
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,

Note You need to log in before you can comment on or make changes to this bug.