Scriptlet failed when installing samba-common in RHEL

Solution Verified - Updated -

Issue

On RHEL4 if I have samba-common-3.0.33-0.18.el4_8.1 installed and I try to update to samba-common-3.0.33-0.19.el4_8.1. I get the following:

[root@intlxvm38-rhel4 ~]# rpm -qa | grep -i samba
samba-common-3.0.33-0.18.el4_8.1

I get the following:

Running Transaction
  Updating  : samba-common                 ######################### [1/2]
/var/tmp/rpm-tmp.87213: line 7: restorecon: command not found
error: %post(samba-common-3.0.33-0.19.el4_8.1.x86_64) scriptlet failed, exit status 127 
Updated: samba-common.x86_64 0:3.0.33-0.19.el4

After the update i have the following happen:

[root@intlxvm38-rhel4 ~]# rpm -qa | grep -i samba
samba-common-3.0.33-0.18.el4_8.1
samba-common-3.0.33-0.19.el4_8.1

Environment

  • Red Hat Enterprise Linux 4

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