-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing plugin exits due to yum unavailability #2561
Comments
+1 is there a fix? AWS Fargate. when running copilot svc exec --name xxx --env xxx -c /bin/sh getting:
|
Hello @danelige. It seems like session manager plugin(prerequisite plugin for running ecs exec) only supports ubuntu for Debian-based distribution. What happen if you run |
I am using Pop OS which is an ubuntu based distro and I am getting the same error described in this issue. The command
|
It seems there is an explicit check for the string Is there a better way of doing this for Ubuntu based distributions that don't have the string |
@kangere good find! I wonder what your output is for |
This is my output for
The output for
the Let me know what you think |
Thank you @kangere for looking this up! This looks promising - seems like all systems using systemd would have this file. From the docker installation scripts: get_distribution() {
lsb_dist=""
# Every system that we officially support has /etc/os-release
if [ -r /etc/os-release ]; then
lsb_dist="$(. /etc/os-release && echo "$ID")"
fi
# Returning an empty string here should be alright since the
# case statements don't act unless you provide an actual value
echo "$lsb_dist"
} Reading the
Thank you very much! That'd be a huge help - we'd be very happy to see your PR ❤️ ! |
related #2561 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
Hello this is now fixed in https://github.com/aws/copilot-cli/releases/tag/v1.33.0! |
Attempting to install session manager plugin exits due to unavailability of yum on a Debian system.
It would be good if copilot could use the apt-get equivalent, or give a helpful message that the plugin cannot be installed if the Debian-based distributions are not supported.
The text was updated successfully, but these errors were encountered: