rpm installation failed due to %post scriptlet error.

Solution Verified - Updated -

Issue

  • Kernel installation failed with following %post scriptlet error while trying to install using yum/rpm command:
Non-fatal POSTIN scriptlet failure in rpm package kernel-2.6.18-308.11.1.el5.i686
error: %post(kernel-version) scriptlet failed, signal 2

when i try to install the updates using below command, it just hang at this point

rpm -ivh gdm-2.16.0-59.el5_9.1.i386.rpm 
1:gdm                    ########################################### [100%]
error: %post(gdm-2.16.0-59.el5_9.1.i386) scriptlet failed, signal 2

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content