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
Copy file name to clipboardExpand all lines: scripts/st2bootstrap-deb.sh
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,34 @@ setup_args() {
112
112
exit 1
113
113
fi
114
114
fi
115
+
116
+
# Python 3.6 package is not available in Ubuntu Xenial
117
+
# Installer can add it via 3rd party PPA based on user agreement
118
+
if [[ "$SUBTYPE"='xenial' ]];then
119
+
sudo apt-get update > /dev/null 2>/dev/null
120
+
# check if python3.6 is available
121
+
if (! apt-cache show python3.6 2> /dev/null | grep 'Package:'> /dev/null);then
122
+
echo""
123
+
echo"WARNING!"
124
+
echo"The python3.6 package is a required dependency for the StackStorm st2 package but that is not installable from any of the default Ubuntu 16.04 repositories."
125
+
echo"We recommend switching to Ubuntu 18.04 LTS (Bionic) as a base OS. Support for Ubuntu 16.04 will be removed with future StackStorm versions."
126
+
echo""
127
+
echo"Alternatively we'll try to add python3.6 from the 3rd party 'deadsnakes' repository: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa."
128
+
echo"By continuing you are aware of the support and security risks associated with using unofficial 3rd party PPA repository, and you understand that StackStorm does NOT provide ANY support for python3.6 packages on Ubuntu 16.04."
129
+
echo""
130
+
read -p "Press [y] to continue or [n] to cancel adding it: " choice
Copy file name to clipboardExpand all lines: scripts/st2bootstrap-deb.template.sh
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,34 @@ setup_args() {
104
104
exit 1
105
105
fi
106
106
fi
107
+
108
+
# Python 3.6 package is not available in Ubuntu Xenial
109
+
# Installer can add it via 3rd party PPA based on user agreement
110
+
if [[ "$SUBTYPE"='xenial' ]];then
111
+
sudo apt-get update > /dev/null 2>/dev/null
112
+
# check if python3.6 is available
113
+
if (! apt-cache show python3.6 2> /dev/null | grep 'Package:'> /dev/null);then
114
+
echo""
115
+
echo"WARNING!"
116
+
echo"The python3.6 package is a required dependency for the StackStorm st2 package but that is not installable from any of the default Ubuntu 16.04 repositories."
117
+
echo"We recommend switching to Ubuntu 18.04 LTS (Bionic) as a base OS. Support for Ubuntu 16.04 will be removed with future StackStorm versions."
118
+
echo""
119
+
echo"Alternatively we'll try to add python3.6 from the 3rd party 'deadsnakes' repository: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa."
120
+
echo"By continuing you are aware of the support and security risks associated with using unofficial 3rd party PPA repository, and you understand that StackStorm does NOT provide ANY support for python3.6 packages on Ubuntu 16.04."
121
+
echo""
122
+
read -p "Press [y] to continue or [n] to cancel adding it: " choice
0 commit comments