- Installation of
nscdpackage fails while running the following command with errors.
# yum install nscd
- The pertinent errors are
Error in PREIN scriptlet in rpm package nscd-2.12-1.107.el6_4.4.x86_64 groupadd: GID '28' already exists useradd: group 'nscd' does not exist error: %pre(nscd-2.12-1.107.el6_4.4.x86_64) scriptlet failed, exit status 6 error: install: %pre scriptlet failed (2), skipping nscd-2.12-1.107.el6_4.4
- It fails because the directory service already knows a group with
# adquery group|grep :28: somegroup:x:28:member1,member2
- The RHEL5
nscdpackage doesn't care about its numberic
GID, so the GID can be anything for that on Red Hat Enterprise Linux 5 as follows.
# groupadd -r nscd # getent group nscd nscd:x:489: # yum install nscd
- And the package installs successfully after above steps.
- Red Hat Enterprise Linux 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.