upm icon indicating copy to clipboard operation
upm copied to clipboard

AlmaLinux

Open Veeau opened this issue 4 years ago • 4 comments

Hello,

Is it possible to get settings for AlmaLinux? I tried copying the Centos commands but they seem to error on "Error while executing inventory_server"

Veeau avatar Aug 13 '21 07:08 Veeau

Hello, sorry I don't have AlmaLinux and can't test it. Please look into apache error_log. You can also try to execute the commands by hand. Is every command executed successfully?

schirrmie avatar Aug 13 '21 07:08 schirrmie

Thanks for the quick reply. Im not seeing anything in the Apache error logs and the only command that returns nothing is

set -o pipefail; yum list updates | tr '\n' ' ' | sed -n -e 's/^.*Updated Packages //p' | xargs -n3 | awk '{print $1}'

everything else executes ok.

Veeau avatar Aug 13 '21 07:08 Veeau

First check whether this command is really the problem. Backup the line and put for testing the following in echo "Hello World" Now try to inventory. If it is successful you should have an package for update with "Hello World". If the line is the problem we look closer.

schirrmie avatar Aug 13 '21 08:08 schirrmie

Yum list updates output is not equal to centos|redhat <=7.x.

the correct "command" is: set -o pipefail; yum list updates | tr '\n' ' ' | sed -n -e 's/^.*Available Upgrades //p' | xargs -n3 | awk '{print $1}'

buzzzo avatar Sep 13 '21 12:09 buzzzo