Issue installing Aastra XML scripts using yum

I am working on setting up a new PBX using the FreePBX distro with Asterisk 1.8 to replace aging hardware. While migrating over settings, I went to install the Aastra XML scripts for my 67i phones and am getting the following when using yum

Error in PREIN scriptlet in rpm package aastra-xml-scripts-2.3.1-90fpbx.noarch
Check to make sure this is a FreePBX Distro system before executing

This RPM and content has been built and relaesed for use on the FreePBX Distro only.
Please visit freepbx.org on how to download and install the Offical FreePBX Distro
error: %pre(aastra-xml-scripts-2.3.1-90fpbx.noarch) scriptlet failed, exit status 255
error: install: %pre scriptlet failed (2), skipping aastra-xml-scripts-2.3.1-90fpbx

Failed:
aastra-xml-scripts.noarch 0:2.3.1-90fpbx

Has anyone else run into this issue and possibly know how to correct it?

This should be fixed with the latest RPM. Do a yum clean all then yum update aastra-xml-scripts

See logs below signature. I have 2 freepbx box, on the holder one I had no issue to install the same package+version (0:2.3.1-90fpbx). If you need anything special, let me know.

Thank you,
Pierre

[root@pbx /]# yum clean all
Loaded plugins: fastestmirror, kmod
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@pbx /]# yum install aastra-xml-scripts
Loaded plugins: fastestmirror, kmod
Determining fastest mirrors
addons | 1.9 kB 00:00
addons/primary_db | 1.1 kB 00:00
base | 1.1 kB 00:00
base/primary | 967 kB 00:00
base 2725/2725
extras | 2.1 kB 00:00
extras/primary_db | 171 kB 00:00
pbx | 1.2 kB 00:00
pbx/primary | 62 kB 00:00
pbx 199/199
updates | 1.2 kB 00:00
updates/primary | 327 kB 00:00
updates 814/814
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package aastra-xml-scripts.noarch 0:2.3.1-90fpbx set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

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

Installing:
aastra-xml-scripts noarch 2.3.1-90fpbx pbx 1.1 M

Transaction Summary

Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
aastra-xml-scripts-2.3.1-90fpbx.noarch.rpm | 1.1 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Check to make sure this is a FreePBX Distro system before executing

This RPM and content has been built and relaesed for use on the FreePBX Distro only.
Please visit freepbx.org on how to download and install the Offical FreePBX Distro
Error in PREIN scriptlet in rpm package aastra-xml-scripts-2.3.1-90fpbx.noarch
error: %pre(aastra-xml-scripts-2.3.1-90fpbx.noarch) scriptlet failed, exit status 255
error: install: %pre scriptlet failed (2), skipping aastra-xml-scripts-2.3.1-90fpbx

Failed:
aastra-xml-scripts.noarch 0:2.3.1-90fpbx

Complete!
[root@pbx /]#