Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

musl needs to be upgraded #5

Closed
cjbottaro opened this issue Jul 5, 2017 · 2 comments
Closed

musl needs to be upgraded #5

cjbottaro opened this issue Jul 5, 2017 · 2 comments

Comments

@cjbottaro
Copy link

Hi. Using alpine-elixir:1.4.5 and when I try to run apk add build-base, I get the following error:

# apk add build-base
ERROR: unsatisfiable constraints:
  musl-1.1.16-r10:
    breaks: musl-dev-1.1.16-r13[musl=1.1.16-r13]
    satisfies: musl-utils-1.1.16-r10[musl=1.1.16-r10] musl-utils-1.1.16-r10[so:libc.musl-x86_64.so.1] pkgconf-1.3.7-r0[so:libc.musl-x86_64.so.1] gcc-6.3.0-r4[so:libc.musl-x86_64.so.1] binutils-libs-2.28-r2[so:libc.musl-x86_64.so.1]
               libcrypto1.0-1.0.2k-r0[so:libc.musl-x86_64.so.1] g++-6.3.0-r4[so:libc.musl-x86_64.so.1] libressl2.5-libcrypto-2.5.4-r0[so:libc.musl-x86_64.so.1] readline-6.3.008-r5[so:libc.musl-x86_64.so.1]
               libressl2.5-libssl-2.5.4-r0[so:libc.musl-x86_64.so.1] mpfr3-3.1.5-r0[so:libc.musl-x86_64.so.1] ncurses-libs-6.0-r7[so:libc.musl-x86_64.so.1] libstdc++-6.3.0-r4[so:libc.musl-x86_64.so.1]
               isl-0.17.1-r0[so:libc.musl-x86_64.so.1] libcurl-7.54.0-r0[so:libc.musl-x86_64.so.1] mpc1-1.0.3-r0[so:libc.musl-x86_64.so.1] git-2.13.0-r0[so:libc.musl-x86_64.so.1] pcre-8.40-r2[so:libc.musl-x86_64.so.1]
               unixodbc-2.3.4-r0[so:libc.musl-x86_64.so.1] zlib-1.2.11-r0[so:libc.musl-x86_64.so.1] libgomp-6.3.0-r4[so:libc.musl-x86_64.so.1] apk-tools-2.7.2-r0[so:libc.musl-x86_64.so.1] libssh2-1.8.0-r1[so:libc.musl-x86_64.so.1]
               libgcc-6.3.0-r4[so:libc.musl-x86_64.so.1] make-4.2.1-r0[so:libc.musl-x86_64.so.1] alpine-baselayout-3.0.4-r0[so:libc.musl-x86_64.so.1] libatomic-6.3.0-r4[so:libc.musl-x86_64.so.1]
               ca-certificates-20161130-r2[so:libc.musl-x86_64.so.1] gmp-6.1.2-r0[so:libc.musl-x86_64.so.1] busybox-1.26.2-r5[so:libc.musl-x86_64.so.1] scanelf-1.2.2-r0[so:libc.musl-x86_64.so.1] expat-2.2.0-r1[so:libc.musl-x86_64.so.1]
               binutils-2.28-r2[so:libc.musl-x86_64.so.1] libssl1.0-1.0.2k-r0[so:libc.musl-x86_64.so.1]

Upgrade musl first fixes the problem. Not sure why.

@bitwalker
Copy link
Owner

I'll update the image here in a minute, but when using tagged images, you may sometimes need to explicitly upgrade packages, as the installed packages are at the versions found when building the image. Generally it's as simple as adding apk --update upgrade before any commands which install packages.

@cjbottaro
Copy link
Author

Oh, gotcha, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants