Open Andrew-Chen-Wang opened 1 year ago
#!/bin/bash sudo apt update sudo apt -y upgrade sudo apt-get -y install ruby-full ruby-webrick wget cd /tmp wget -4 https://aws-codedeploy-us-east-1.s3.us-east-1.amazonaws.com/releases/codedeploy-agent_1.3.2-1902_all.deb mkdir codedeploy-agent_1.3.2-1902_ubuntu22 dpkg-deb -R codedeploy-agent_1.3.2-1902_all.deb codedeploy-agent_1.3.2-1902_ubuntu22 sed 's/Depends:.*/Depends:ruby3.0/' -i ./codedeploy-agent_1.3.2-1902_ubuntu22/DEBIAN/control dpkg-deb -b codedeploy-agent_1.3.2-1902_ubuntu22/ sudo dpkg -i codedeploy-agent_1.3.2-1902_ubuntu22.deb sudo systemctl list-units --type=service | grep codedeploy sudo service codedeploy-agent start
from: https://stackoverflow.com/questions/73301858/aws-codedeploy-agent-not-installing-on-ubuntu-22-04
still not working
this wasn't necessary; released just 5 days ago: https://github.com/aws/aws-codedeploy-agent/issues/349
from: https://stackoverflow.com/questions/73301858/aws-codedeploy-agent-not-installing-on-ubuntu-22-04