1
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 3 years have passed since last update.

【dcoker, gitlab-ci】 ERROR: unsatisfiable constraints の対応

Last updated at Posted at 2020-06-04

問題

gitlab-ci上でこれまで正常に動いていた処理にて、ERROR: unsatisfiable constraints が発生
alpineイメージ絡みの問題らしい。

エラー内容

$ apk add --no-cache curl jq python3 py3-pip
 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
 ERROR: unsatisfiable constraints:
   python (missing):
     required by: world[python]

対応方法

  • pythonをバージョン2から3ににする
$ apk add --no-cache curl jq python py-pip

参考

github
https://github.com/docker-library/docker/commit/eb305f7
alpineリリースノート
https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.12.0#python2_no_longer_provides_python_and_python-devel

1
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
1
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?