Giter Site home page Giter Site logo

Gdebi-Core about aws-codedeploy-agent HOT 9 CLOSED

vladgh avatar vladgh commented on June 1, 2024
Gdebi-Core

from aws-codedeploy-agent.

Comments (9)

suryanarayanan avatar suryanarayanan commented on June 1, 2024

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.

vladgh avatar vladgh commented on June 1, 2024

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.

Pryz avatar Pryz commented on June 1, 2024

Why do we need gdebi instead of apt-get ?

from aws-codedeploy-agent.

suryanarayanan avatar suryanarayanan commented on June 1, 2024

We need gdebi to install a local .deb. apt-get doesn't have anything equivalent to 'yum localinstall'.

from aws-codedeploy-agent.

vladgh avatar vladgh commented on June 1, 2024

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.

suryanarayanan avatar suryanarayanan commented on June 1, 2024

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.

vladgh avatar vladgh commented on June 1, 2024

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.

suryanarayanan avatar suryanarayanan commented on June 1, 2024

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.

suryanarayanan avatar suryanarayanan commented on June 1, 2024

Fixed in commit 4d72f02

from aws-codedeploy-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.