aws / aws/aws-codedeploy-agent
CodeDeploy agent install fails with Could not get lock /var/lib/dpkg/lock
オープン
bug
feature-request
- 主要言語
- Rust
- スター
- 337
- フォーク
- 195
- 平均マージ
- 10時間 54分
- マージ済み PR(30日)
- 4
説明
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.
コントリビューションガイド
調査の方向性
./install エントリポイントから開始し、Ubuntu 16.04 で cloud-init の実行中にコマンドを再現します。/tmp/codedeploy-agent.update.log を読み、/var/lib/dpkg/lock の失敗に関連する gdebi のインストールを追跡します。cloud-init の実行中にエージェントのインストールが正常に完了すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, shell, ubuntu
- 領域
- cloud, devops
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100