Anyone able to install libmagic?
#1
Wed, 2016-05-11 23:47
kazanz
-
- Offline
- 1 year 10 months ago
- 2016-05-11
I see it in the packages, but I am unable to build it.
Alpine 3.3.3
built from a docker container
I run update, etc.
Getting this error
apk add --update libmagic fetch <a href="http://dl-cdn.alpinelinux.org/alpine/v3.3/main/x86_64/APKINDEX.tar.gz fetch" rel="nofollow">http://dl-cdn.alpinelinux.org/alpine/v3.3/main/x86_64/APKINDEX.tar.gz fetch</a> <a href="http://dl-cdn.alpinelinux.org/alpine/v3.3/community/x86_64/APKINDEX.tar.gz ERROR:" rel="nofollow">http://dl-cdn.alpinelinux.org/alpine/v3.3/community/x86_64/APKINDEX.tar.gz ERROR:</a> unsatisfiable constraints: libmagic (missing): required by: world[libmagic]
i think libmagic is in the edge repository.
You'll need to update to edge, or wait until it makes it to a stable release.
Please post the content of /etc/apk/repositories
Can you install other packages and upgrade the system successfully?
EDIT: Oops, sorry @Scrumpyjack I crossposted with your answer :/
You are right. Didn't know there was an "edge".
Added http://
dl-3.alpinelinux.org/alpine/edge/main
to/etc/apk/respositories
then ranapk upgrade --update-cache --available
and I was able to install libmagic no problem.Thanks!