aws / aws/aws-codedeploy-agent

CodeDeploy agent install fails with Could not get lock /var/lib/dpkg/lock

Open
#94 11 comments 0 reactions 0 assignees View on GitHub
bug feature-request
Dominant language
Rust
Stars
337
Forks
195
Avg merge
10h 54m
Merged PRs (30d)
4

Description

I am trying to install the agent on Ubuntu 16.04 LTS

Like this:

wget https://aws-codedeploy-us-west-2.s3.amazonaws.com/latest/install
chmod +x ./install
sudo ./install auto

It fails to install. Looking at /tmp/codedeploy-agent.update.log I see that it is failing to install gdebi with this message:

Could not get lock /var/lib/dpkg/lock

This is running during cloud-init.

If I run it manually once cloud-init is done it installs fine.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.