2017-10-22 3 views
-1

readelfパッケージをApline3.5にインストールしようとすると、このエラーメッセージが表示されます。アルパインlinux:readelf(行方不明)。 readelfをAlpine Linuxにインストールするには?

$ apk add --no-cache readelf 
client readelf 
fetch http://dl- cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz 
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz 
ERROR: unsatisfiable constraints: 
    readelf (missing): 
    required by: world[readelf] 

私はいくつかのコマンドでこの問題を解決したいと思います。
Dockerfileでやりたいと思っているからです。 私は何をすべきですか?

+0

スタックオーバーフローは、プログラミングや開発の質問のためのサイトです。この質問は、プログラミングや開発に関するものではないので、話題にはならないようです。ヘルプセンターの[ここではどのトピックを参照できますか](http://stackoverflow.com/help/on-topic)を参照してください。おそらく、[スーパーユーザ](http://superuser.com/)や[Unix&Linux Stack Exchange](http://unix.stackexchange.com/)の方が良いかもしれません。 – jww

答えて

1
あなたは同じ

ため binutilsパッケージを使用する必要が

$ apk add --update binutils 
(1/2) Installing binutils-libs (2.28-r2) 
(2/2) Installing binutils (2.28-r2) 
Executing busybox-1.26.2-r5.trigger 
OK: 13 MiB in 14 packages 

$ readelf 
Usage: readelf <option(s)> elf-file(s) 
Display information about the contents of ELF format files 
Options are: 
    -a --all    Equivalent to: -h -l -S -s -r -d -V -A -I 
    -h --file-header  Display the ELF file header 
    -l --program-headers Display the program headers 
関連する問題