Skip to content

Instantly share code, notes, and snippets.

@Kami
Created March 23, 2023 14:06
Show Gist options
  • Save Kami/1ea46b9f3d11892c5a91185c5815d760 to your computer and use it in GitHub Desktop.
Save Kami/1ea46b9f3d11892c5a91185c5815d760 to your computer and use it in GitHub Desktop.
Unpacking scalyr-agent-2 (2.1.40.pre41.31) over (2.1.40.pre41.30) ...
dpkg: warning: unable to delete old directory '/var/opt/scalyr-agent-2': Directory not empty
dpkg: warning: unable to delete old directory '/var/opt': Directory not empty
dpkg: warning: unable to delete old directory '/opt/scalyr-agent-2/etc': Directory not empty
dpkg: warning: unable to delete old directory '/opt/scalyr-agent-2': Directory not empty
Setting up scalyr-agent-2 (2.1.40.pre41.31) ...
. Trying to switch the Python interpreter for the Scalyr Agent.
. Searching for python in PATH "/usr/sbin:/usr/bin:/sbin:/bin":
- command python not found.
. Searching for python2 in PATH "/usr/sbin:/usr/bin:/sbin:/bin":
- command python2 not found.
. Searching for python3 in PATH "/usr/sbin:/usr/bin:/sbin:/bin":
+ command python3 [3.8.10] is found and matches the minimum required version - Success!
+ The Scalyr Agent will use the default system python3 binary (/usr/bin/env python3).
Switched agent to python3
If you have an existing instance of scalyr-agent-2 process running, you need to restart it for this change to take an affect.
You can do that by running '/etc/init.d/scalyr-agent-2 restart' command.
Agent switched to python3.
Processing triggers for systemd (245.4-4ubuntu3.20) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment