2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CircleCIでUnable to locate package

Posted at

発生したエラー

あるとき突然CircleCIのビルドができなくなってしまいました。

.circleci/config.yml
run: sudo -E apt-get install -y libpng-dev libjpeg-dev

エラー文は

#!/bin/bash -eo pipefail
sudo -E apt-get install -y libpng-dev libjpeg-dev
Reading package lists... Done


Building dependency tree       


Reading state information... Done

E: Unable to locate package libpng-dev
E: Unable to locate package libjpeg-dev
Exited with code 100

解決策

aptのリポジトリ情報を更新するコマンドapt-get updateを追加

.circleci/config.yml
run: sudo -E apt-get update
run: sudo -E apt-get install -y libpng-dev libjpeg-dev
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?