You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to install my compiled haproxy 2.2.1 rpm packet on a CentOS 7 system, the packet is installing, but I am getting a warning in the post installation hook.
These are the warnings:
Unknown operation 'try-reload-or-restart'.
warning: %post(haproxy-2.2.1-1.el7.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package haproxy-2.2.1-1.el7.x86_64
Am I doing something wrong?
# yum install haproxy-2.2.1-1.el7.x86_64.rpm
Loaded plugins: auto-update-debuginfo, fastestmirror, rhnplugin, tmprepo
This system is receiving updates from RHN Classic or Red Hat Satellite.
Examining haproxy-2.2.1-1.el7.x86_64.rpm: haproxy-2.2.1-1.el7.x86_64
Marking haproxy-2.2.1-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package haproxy.x86_64 0:2.2.1-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================================================================
Installing:
haproxy x86_64 2.2.1-1.el7 /haproxy-2.2.1-1.el7.x86_64 4.9 M
Transaction Summary
=========================================================================================================================================================================================================
Install 1 Package
Total size: 4.9 M
Installed size: 4.9 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : haproxy-2.2.1-1.el7.x86_64 1/1
Unknown operation 'try-reload-or-restart'.
warning: %post(haproxy-2.2.1-1.el7.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package haproxy-2.2.1-1.el7.x86_64
Verifying : haproxy-2.2.1-1.el7.x86_64 1/1
Installed:
haproxy.x86_64 0:2.2.1-1.el7
Complete!
CentOS 7 is latest, and fully patched:
# cat /etc/centos-release
CentOS Linux release 7.8.2003 (Core)
The text was updated successfully, but these errors were encountered:
Looking into this one, it's a bit annoying because the function name changed and different CentOS versions have different iterations of the command. (reload-or-try-restart versus try-reload-or-restart).
Hi
When I try to install my compiled haproxy 2.2.1 rpm packet on a CentOS 7 system, the packet is installing, but I am getting a warning in the post installation hook.
These are the warnings:
Am I doing something wrong?
CentOS 7 is latest, and fully patched:
The text was updated successfully, but these errors were encountered: