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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.