^CError in POSTIN scriptlet in rpm package sysadmin-2.7.0-202.shmz65.1.18.noarch error: %post(sysadmin-2.7.0-202.shmz65.1.18.noarch) scriptlet failed, signal 2

Hi,
Anyone have the issue when running yum update ?

Updating : sysadmin-2.7.0-202.shmz65.1.18.noarch
^CError in POSTIN scriptlet in rpm package sysadmin-2.7.0-202.shmz65.1.18.noarch
error: %post(sysadmin-2.7.0-202.shmz65.1.18.noarch) scriptlet failed, signal 2

What caused that ?

Thanks!

try running

yum clean all

I always ran this command to update my distrib.
yum -y update && yum clean all

The update fail for another reason.

you would want to clean all first

I just created a bug report…
Itsd not the first time I have this error…
http://issues.freepbx.org/browse/FREEPBX-8595

I am confident this is not a bug.

Upgrade       1 Package(s)

Total download size: 87 k
Is this ok [y/N]: y
Downloading Packages:
sysadmin-2.7.0-202.shmz65.1.18.noarch.rpm                |  87 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : sysadmin-2.7.0-202.shmz65.1.18.noarch                                                                                                                  1/2 
/var/lib/asterisk/bin/freepbx_engine: line 241: fwconsole: command not found
mv: cannot stat `/var/lib/asterisk/agi-bin/license-*.zl': No such file or directory
/var/lib/asterisk/bin/freepbx_engine: line 241: fwconsole: command not found
Shutting down Filesystem event daemon (incrond): [  OK  ]
Starting Filesystem event daemon (incrond): [  OK  ]
  Cleanup    : sysadmin-2.7.0-200.shmz65.1.15.noarch                                                                                                                  2/2 
  Verifying  : sysadmin-2.7.0-202.shmz65.1.18.noarch                                                                                                                  1/2 
  Verifying  : sysadmin-2.7.0-200.shmz65.1.15.noarch                                                                                                                  2/2 

Updated:
  sysadmin.noarch 0:2.7.0-202.shmz65.1.18                                                                                                                                 

Complete!

Just updated fine, no issue. I also ran on 2 other machines with the same result. It is something in your system.

Note the errors in this output are because this was a FreePBX 13 system which the RPM does not account for being it is unreleased.

yum -y install sysadmin.noarch
Loaded plugins: fastestmirror, kmod
Determining fastest mirrors
base | 2.0 kB 00:00
base/primary | 2.5 MB 00:02
base 6402/6402
extras | 1.3 kB 00:00
extras/primary | 6.8 kB 00:00
extras 15/15
pbx | 1.3 kB 00:00
pbx/primary | 674 kB 00:01
pbx 2601/2601
schmooze-commercial | 1.3 kB 00:00
schmooze-commercial/primary | 21 kB 00:00
schmooze-commercial 142/142
updates | 1.3 kB 00:00
updates/primary | 624 kB 00:01
updates 1415/1415
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package sysadmin.noarch 0:2.7.0-201.shmz65.1.16 will be updated
—> Package sysadmin.noarch 0:2.7.0-202.shmz65.1.18 will be an update
–> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================
Package Arch Version Repository Size

Updating:
sysadmin noarch 2.7.0-202.shmz65.1.18 schmooze-commercial 87 k

Transaction Summary

Upgrade 1 Package(s)

Total download size: 87 k
Downloading Packages:
sysadmin-2.7.0-202.shmz65.1.18.noarch.rpm | 87 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : sysadmin-2.7.0-202.shmz65.1.18.noarch 1/2
^CError in POSTIN scriptlet in rpm package sysadmin-2.7.0-202.shmz65.1.18.noarch
mv: cannot stat `/var/lib/asterisk/agi-bin/license-*.zl’: No such file or directory
error: %post(sysadmin-2.7.0-202.shmz65.1.18.noarch) scriptlet failed, signal 2
Verifying : sysadmin-2.7.0-202.shmz65.1.18.noarch

I am confident too…
There is a bug somewhere… :wink:

Bugs are repeatedly reproducible on multiple systems by multiple people with “recipe”

The steps to reproduce:

yum update sysadmin

Cannot reproduce on 3 systems.

If someone else can test and reproduce you may be correct. I am going to poke one of our support guys and have him test this as well. At this point it is a “support issue” and something with your system.

I put out a broadcast in our internal chat and as of right now 5 others have run yum update sysadmin without any issue. These folks all have various versions and platforms.

Maybe you can tell us more about your install…

Is this the FreePBX Distro or something else?
Version(s)?

My install is a simple install of FreePBX distrib.
I am running FreePBX 12.0.32 with Asterisk 13.
I am using 6.12.65-21 distrib.

Do u need anything more ?
I am sure something is wrong.

cat /var/lib/yum/yumdb/s/*sysadmin*/checksum_data

Hi sir,
Could you explain that please ?
http://pastebin.com/Q1Mg74ei

Lets try this…

I am not sure if this is pre-installed or if I had installed it for something else so step 1 may not be needed.

Step 1.

yum install yum-utils

Step 2.

yumdownloader sysadmin

###Step 3.

md5sum sysadmin-2.7.0-202.shmz65.1.18.noarch.rpm

####My output:

789f236a619b255a53bb8d0449ae5cf7  sysadmin-2.7.0-202.shmz65.1.18.noarch.rpm

###Step 5.

If your md5sum matches try a manual install.

rpm -Uvh sysadmin-2.7.0-202.shmz65.1.18.noarch.rpm

If your md5 does not match then the file is getting corrupted between us and you.
Check proxy’s, firewalls etc…

Thanks for your help!