Questions tagged [alpine-package-keeper]

For question related to installing packages on the Alpine Linux distribution via the Alpine Package Keeper — or apk.

Resources

Related tags

49 questions
2
votes
1 answer

How to install qt4 in alpine 3.12

How do I install qt4 in alpine by using apk add? It seems, that it is not anymore in the list. Do I have any chance?
Gabriel
  • 8,990
  • 6
  • 57
  • 101
2
votes
1 answer

Docker : ERROR: unsatisfiable constraints

Im trying to build docker image example from https://docs.docker.com/compose/gettingstarted/. And I got this error Building web Step 1/9 : FROM python:3.7-alpine ---> e854017db514 Step 2/9 : WORKDIR /code ---> Using cache ---> e15b6e62d8af Step…
hugtech
  • 877
  • 3
  • 11
  • 16
2
votes
1 answer

apk --no-cache image layer change

Build a docker image using Dockerfile pushing same image to Artifactory. I noticed that when using apk --no-cache the sha256 changes although Dockerfile did not. I pushed 3 different images to Artifactory, and when checking i noticed 3 different…
2
votes
1 answer

ERROR: unsatisfiable constraints: so:libvpx.so.6 (missing)

FFMpeg was updated this week and is causing the build to break. Are my options to either: pin ffmpeg to a previous version? If so, how do I pin to the version before current? Update the python dockerfile version Output: Step 8/42 : RUN apk add …
1
vote
2 answers

Adding openssh package to alpine docker

I have the following Dockerfile: FROM alpine:latest RUN apk update RUN apk add --no-cache curl openssh sshpass rsync #etc And this docker-compose.yml: [...] services: my-container: build: context: ./my-folder dockerfile:…
Alex
  • 5,009
  • 3
  • 39
  • 73
1
vote
0 answers

RUN apk update && apk upgrade ERROR unable to select packages: 4.708 chromium (no such package): 4.708 required by: world[chromium~72.0.3626.121]

I am trying to run the front end of an application I am working on.When I run this command: docker-compose -f admin-fe-compose.yaml up --build I get this error in the terminal: => CANCELED [pi-admin-fe build-env 2/12] RUN gem install sass && gem…
1
vote
1 answer

Not getting `.pc` files when installing packages in Alpine Linux

When I am installing libraries in my Alpine 3.17 based docker container, I am not getting any of the .pc files that belongs to pkg-config. This makes compiling things that relies on those files to work difficult. The only .pc file I been able to get…
Tomas Berger
  • 173
  • 1
  • 3
  • 15
1
vote
0 answers

Install alpine package from alpinelinux.org

I would like to install mozjs91-dev package on my alpine machine. When I try to install it via apk, I get an error that it wasn't found: user@demo:~$ sudo apk add mozjs91-dev ERROR: unable to select packages: mozjs91-dev (no such package): …
michael
  • 530
  • 4
  • 16
1
vote
0 answers

How can i add packages to alpine netboot

I have download Alpine netboot distribution from this URL: https://dl-cdn.alpinelinux.org/alpine/v3.16/releases/x86/alpine-netboot-3.16.1-x86.tar.gz I have run a virtual machine with QEMU this way: qemu-system-i386 -m 256 -kernel boot/vmlinuz-lts…
Bob5421
  • 7,757
  • 14
  • 81
  • 175
1
vote
1 answer

Remove package that were installed as dependancies by apk

I'm looking for an equivalent to apt autoremove I've seen stated everywhere online that it's not required because apk does it automatically when doing apk del. But it's very easy to verify that it doesn't actually does that: docker run --entrypoint…
BlueMagma
  • 2,392
  • 1
  • 22
  • 46
1
vote
1 answer

From the command line (apk --update add), how to install node.js 'Current latest features' version, instead of 'LTS recommended for most users'?

I have a Docker file with a base image of 'python:alpine' I need both python and node.js installed in the container, so I start with a python image. How do I install the latest version of node.js ('Current latest features' of node.js) in the…
user10664542
  • 1,106
  • 1
  • 23
  • 43
1
vote
0 answers

Unable to install latest version of chromium and chromium-chromedriver on linux (alpine3.9 docker image)

Trying to install latest version chromium and chromium-chromedriver on a python:alpine3.9 docker image. However it is installing old version. Not sure how to fix this. Please help. Commands: RUN apk add --update chromium>90.0.4430.24 RUN apk add…
Rob Wilkinson
  • 1,131
  • 5
  • 18
  • 34
1
vote
1 answer

Alpine netboot APKs at boot time

I new to alpine linux, so I didn't really grasped the concept of it yet. What I want to accomplish is a netboot alpine with apks that aren't included in the alpine-base pkg. For example sudo python3 I managed to boot alpine with dnsmasq's tftp…
1
vote
0 answers

pip install Pillow on Alpine for Ipad freezes

I am trying to install the Pillow pip package on Alpine for ipad via ISH. This is for light debugging purposes of a django project. Since ISH already contains the apk package, some dependencies are installed doing the following: apk update apk…
1
vote
0 answers

How to install Tesseract-OCR 4.1.1 on Alpine

I'm running in a Docker image. When I do an apk add tesseract-ocr, I get version 4.0.0. I found version 4.1.1 here: https://alpine.pkgs.org/edge/alpine-community-aarch64/tesseract-ocr-4.1.1-r5.apk.html. Tried various combinations with apk add…
Peter Kronenberg
  • 878
  • 10
  • 32