Skip to content

Instantly share code, notes, and snippets.

@mohierf
Last active January 24, 2017 17:39
Show Gist options
  • Save mohierf/ddfebc93ba47910909a85a65aa141b94 to your computer and use it in GitHub Desktop.
Save mohierf/ddfebc93ba47910909a85a65aa141b94 to your computer and use it in GitHub Desktop.
# If you wish to know if the currently Alignak installed packages are up-to-date, you can use this command:
pip list --outdated | grep alignak
# To get the list of outdated packages as a pip requirements list:
pip list --outdated --format columns | grep alignak | awk '{printf "%s==%s\n", $1, $3}' > alignak-update.txt
# And then update your installed packages
pip install -r alignak-update.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment