Closed alilland closed 1 year ago
Same issue here. Did you find a solution? Feeling like I may just need to downgrade ubuntu.
Installed ruby 2.7.7, But facing same issue:
# ll /usr/bin/ruby*
lrwxrwxrwx 1 root root 36 Feb 7 21:22 /usr/bin/ruby -> /root/.rbenv/versions/2.7.7/bin/ruby*
-rwxr-xr-x 1 root root 36022 Mar 31 2020 /usr/bin/ruby-build*
-rwxr-xr-x 1 root root 14488 Jan 18 17:28 /usr/bin/ruby3.0*
# sudo ./install auto
I, [2023-02-08T15:51:14.147621 #56647] INFO -- : Starting Ruby version check.
W, [2023-02-08T15:51:14.147734 #56647] WARN -- : The Ruby version in /root/.rbenv/versions/2.7.7/bin/ruby is 2.7.7, . Attempting to install anyway.
I, [2023-02-08T15:51:14.147773 #56647] INFO -- : Starting update check.
I, [2023-02-08T15:51:14.147799 #56647] INFO -- : Attempting to automatically detect supported package manager type for system...
I, [2023-02-08T15:51:14.157657 #56647] INFO -- : Checking AWS_REGION environment variable for region information...
I, [2023-02-08T15:51:14.157747 #56647] INFO -- : Checking EC2 metadata service for region information...
I, [2023-02-08T15:51:14.168787 #56647] INFO -- : Checking AWS_DOMAIN environment variable for domain information...
I, [2023-02-08T15:51:14.169043 #56647] INFO -- : Checking EC2 metadata service for domain information...
I, [2023-02-08T15:51:14.173318 #56647] INFO -- : Downloading version file from bucket aws-codedeploy-us-east-2 and key latest/LATEST_VERSION...
I, [2023-02-08T15:51:14.173456 #56647] INFO -- : Endpoint: https://aws-codedeploy-us-east-2.s3.us-east-2.amazonaws.com/latest/LATEST_VERSION
dpkg-query: package 'codedeploy-agent' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
I, [2023-02-08T15:51:14.210355 #56647] INFO -- : Running version No running version
I, [2023-02-08T15:51:14.210814 #56647] INFO -- : Downloading package from bucket aws-codedeploy-us-east-2 and key releases/codedeploy-agent_1.4.1-2244_all.deb...
I, [2023-02-08T15:51:14.210964 #56647] INFO -- : Endpoint: https://aws-codedeploy-us-east-2.s3.us-east-2.amazonaws.com/releases/codedeploy-agent_1.4.1-2244_all.deb
I, [2023-02-08T15:51:14.262954 #56647] INFO -- : Executing `/usr/bin/gdebi -n -o Dpkg::Options::=--force-confdef -o Dkpg::Options::=--force-confold /tmp/codedeploy-agent_1.4.1-2244_all.tmp-20230208-56647-7c374r.deb`...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: ruby2.0|ruby2.1|ruby2.2|ruby2.3|ruby2.4|ruby2.5|ruby2.6|ruby2.7
E, [2023-02-08T15:51:15.005293 #56647] ERROR -- : Error installing /tmp/codedeploy-agent_1.4.1-2244_all.tmp-20230208-56647-7c374r.deb.
root@ip-10-1-0-250:/home/ubuntu#
CodeDeploy Agent 1.5.0 added Uubuntu 22.04 support, and Ruby 3.0 support. release notes
CodeDeploy Agent 1.6.0 adds AL2023 and Ruby 3.2 support. It has been released to most commercial regions as of this comment.
Please track release progress on https://github.com/aws/aws-codedeploy-agent/issues/360
with ruby 2.7.7 installed via RVM on Ubuntu 22
Installing Code Deploy agent was throwing this error after downloading code deploy
it appears to still throw an error even after doing a symlink
not sure what to do from here