question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation fails on docker alpine since couple of days

See original GitHub issue

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: -
  • Platform / OS version: Alpine Linux
  • URLs (if applicable):
  • Node.js version: 8 & 10

What steps will reproduce the problem?

RUN apk update && apk upgrade && \
    echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && \
    echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories && \
    apk add --no-cache \
      chromium@edge=~73.0.3683.103 \
      nss@edge \
      freetype@edge \
      freetype-dev@edge \
      harfbuzz@edge \
      ttf-freefont@edge

What is the expected result?

No error when installing with official command

What happens instead?

Error:

Step 3/12 : RUN apk update && apk upgrade &&     echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories &&     echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories &&     apk add --no-cache     chromium@edge=~73.0.3683.103     nss@edge     freetype@edge     freetype-dev@edge     harfbuzz@edge     ttf-freefont@edge
 ---> Running in 51bacf0c8993
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
v3.8.4-146-ga7c5a8cafa [http://dl-cdn.alpinelinux.org/alpine/v3.8/main]
v3.8.4-140-g6c6ec81281 [http://dl-cdn.alpinelinux.org/alpine/v3.8/community]
OK: 9570 distinct packages available
(1/7) Upgrading musl (1.1.19-r10 -> 1.1.19-r11)
(2/7) Upgrading busybox (1.28.4-r1 -> 1.28.4-r3)
Executing busybox-1.28.4-r3.post-upgrade
(3/7) Upgrading libressl2.7-libcrypto (2.7.4-r0 -> 2.7.5-r0)
(4/7) Upgrading libressl2.7-libssl (2.7.4-r0 -> 2.7.5-r0)
(5/7) Upgrading libressl2.7-libtls (2.7.4-r0 -> 2.7.5-r0)
(6/7) Upgrading ssl_client (1.28.4-r1 -> 1.28.4-r3)
(7/7) Upgrading musl-utils (1.1.19-r10 -> 1.1.19-r11)
Executing busybox-1.28.4-r3.trigger
OK: 6 MiB in 15 packages
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
fetch http://nl.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://nl.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  chromium-68.0.3440.75-r0:
    breaks: world[chromium~73.0.3683.103]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:13

github_iconTop GitHub Comments

15reactions
BorntraegerMarccommented, Aug 9, 2019

Fixed by using install command

apk update && apk upgrade && \
    echo @3.10 http://nl.alpinelinux.org/alpine/v3.10/community >> /etc/apk/repositories && \
    echo @3.10 http://nl.alpinelinux.org/alpine/v3.10/main >> /etc/apk/repositories && \
    apk add --no-cache \
    chromium@3.10=~73.0.3683.103 \
    nss@3.10 \
    freetype@3.10 \
    freetype-dev@3.10 \
    harfbuzz@3.10 \
    ttf-freefont@3.10

if one wants to stay on chromium 73

6reactions
nuragiccommented, Oct 21, 2019

FYI Just opened https://gitlab.alpinelinux.org/alpine/apk-tools/issues/10661

If anyone knows about any official alpine mirror that doesn’t delete the old packages it would be really welcome! 🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker: random Alpine packages fail to install - Stack Overflow
I hit this error when trying to build a cross-platform ARM64 docker image from a AMD64 host. However, running docker run --rm --privileged ......
Read more >
How to Use the Alpine Docker Official Image
The Alpine Docker Official Image differs from other Linux-based images in a few ways. First, Alpine is based on the musl libc implementation ......
Read more >
Installation of Docker on Alpine Linux - Genesys Documentation
To install Docker on Alpine Linux, run apk add --update docker openrc. Important. The Docker package is available in the Community repository.
Read more >
Docker Alpine + ExpressJS + Angular | Codementor
Docker has been around for a considerable time already, released on 2013, it aims to solve the problem of "But it works on...
Read more >
Why Does My Docker Container Stop? - Tutorial Works
Understanding the lifecycle of Docker containers, and why they will, ... After a container finishes executing its default command, it will stop.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found