Comments (9)
Hi,
Thanks for reporting this. We will look into this to check if gdebi-core is enough for agent deb installation.
Thanks,
Surya.
from aws-codedeploy-agent.
Currently I manually install gdebi-core
before I run the installer script for codedeploy. This way, the installer sees the gdebi
executable and does not install it again.
from aws-codedeploy-agent.
Why do we need gdebi instead of apt-get ?
from aws-codedeploy-agent.
We need gdebi to install a local .deb. apt-get doesn't have anything equivalent to 'yum localinstall'.
from aws-codedeploy-agent.
Well, you are sort of right. There is dpkg -i X.deb
on Debian based systems, but gdebi
has the advantage of installing the .deb
file and fetch all other dependencies from apt
repositories. However, in this case, the only dependency specified in the deb file is ruby2.0
which the bin/install
script installs anyway before the deb.
In my bootstrap scripts I use simply:
sudo apt-get -qy install ruby2.0
wget -qO /tmp/codedeploy-agent_all.deb https://aws-codedeploy-us-east-1.s3.amazonaws.com/latest/codedeploy-agent_all.deb
sudo dpkg -i /tmp/codedeploy-agent_all.deb
from aws-codedeploy-agent.
Sure. you can do that. But it is safer to leave the dependency resolution to a package management system/installation tool rather than doing it manually. For e.g, your bootstrap script would break if the set of installer dependencies change in future.
from aws-codedeploy-agent.
Absolutely, I agree. But this is just a temporary fix for myself, because I don't see the point installing the entire X Window System (X.Org) infrastructure, on which gdebi is dependent.
That's why I started this issue, the agent does not need gdebi
but only gdebi-core
which provides the required functionality, without the extras.
from aws-codedeploy-agent.
Replacing gdebi with gdebi-core is in our queue. The major part of that task is to make sure switching to gdebi-core does not break the agent installation in any of the supported versions of Ubuntu.
I'll post an update once I merge that change into master. Thanks.
from aws-codedeploy-agent.
Fixed in commit 4d72f02
from aws-codedeploy-agent.
Related Issues (20)
- Windows Deployment Group logs should be in the log folder
- Code deploy falling very frequently HOT 1
- CodeDeplot Access denied when calling "codedeploy-commands.eu-central-1.amazonaws.com:443" HOT 1
- [Feature Request] Debian (12 Bookworm) support HOT 1
- [problem] CodeDeploy Agent systemd service bash-completion error
- [Error] AL2023 - max_revisions - Error deleting directories HOT 3
- CodeDeploy 'Downloading failed bundle.zip from s3 bucket' at "DownloadBundle" step HOT 1
- Service is running but with errors HOT 1
- Codedeploy failing randomly at Install not finding appspec.yml
- Switch to use s3 multipart download when fetching artifacts
- DownloadBundle deployment lifecycle events for troubleshooting UnknownError: execution expired HOT 1
- Failed deployment DownloadBundle events with error "No such file or directory - getcwd" HOT 1
- Add the CodeDeploy agent to the PATH HOT 1
- CodeDeploy agent support for RHEL 9 HOT 1
- Announcement: Releasing Agent 1.7.0 to all regions
- [Feature request] Deployments to ASG Warm pool instances using CodeDeploy lifecycle hooks HOT 1
- [feature] allow codeploy agent service with manual start on windows
- [Issue] : cron job not running as expected after CodeDeploy changes the code in EC2 using CodePipeline
- Install fails using SSM AWS-ConfigureAWSPackage on ARM
- Some request missing SNI field HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-codedeploy-agent.