Linux update manager - dependencies (Python)

Support forums for the Habitat Automate plugin
Post Reply
lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Linux update manager - dependencies (Python)

Post by lblokland »

Hi,

I have installed an agent on a Linux machine, but when I do a 'rescan host' action on the machine in the LUM the script returns 'Python may not be responding or not installed on this system. Please verify that python is available and in the PATH for root.'

I have searched the documentation for instructions, but cannot find any.
Can you let us know what version of python and other dependencies are needed to run the scripts?

Would it be an idea to add an dependenies installer when the plugin doesn't find the right one(s)?

The error message refers to the path as well, would it be an option to have that check from above also corrects the path?

Running python from the command line as root fires up the python command line, so my guess is that the error is not a path issue.
See below:
image.png
image.png (61.97 KiB) Viewed 1348 times
Cheers,

Leon

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Linux update manager - dependencies (Python)

Post by Cubert »

I'll have a look. I would suspect that we would of used the default "python" call and allow the PATH to find it. This would make it version independent. It's possible that we are calling python3 and as such might give off an error if only 2.7 and older are installed.

I go have a peek to see what we are doing there.

lblokland
Posts: 32
Joined: Wed Nov 17, 2021 1:29 pm
2

Re: Linux update manager - dependencies (Python)

Post by lblokland »

Thanks, I think only 2.7 is installed:
image.png
image.png (19.68 KiB) Viewed 1327 times

Post Reply

Return to “Habitat”