Skip to content

Commit

Permalink
Fix python instalation into Ubuntu 18
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaffieri committed Jan 6, 2025
1 parent fb4aeb6 commit b0e3bb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ansible-playbooks/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
elif grep -q -i -E "ubuntu.*18" /etc/lsb-release; then
add-apt-repository -y ppa:jblgf0/python
apt-get update
apt-get install -y python3.7 python3-apt
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1
apt-get install -y python3.8 python3-apt
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
cd /usr/lib/python3/dist-packages
sudo ln -s apt_inst.cpython-35m-x86_64-linux-gnu.so apt_inst.so
sudo ln -s apt_pkg.cpython-35m-x86_64-linux-gnu.so apt_pkg.so
Expand Down

0 comments on commit b0e3bb5

Please sign in to comment.