Questions tagged [alpine-linux]

Alpine Linux is a distribution for small, secure systems, based on busybox and musl

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

How to install Alpine Linux on disk on a VPS?

I successfully mounted an ISO image of Alpine Linux on my Hetzner VPS. I conveniently run setup-interface to get internet access, and setup-sshd to configure my ssh access. All running smoothly ! ...
1
vote
0answers
26 views

Alpine Linux apk continues to install despite pre-install failure

The documentation for the Alpine package says the following of the pre-install script: Note the exit 0 at the end. If the script exits with failure (if the user already exist), the package will not ...
1
vote
0answers
32 views

Installing Java 6 on Alpine

I need to install Java 6 (preferably OpenJDK vs Oracle) in Alpine docker (latest) and I can't find an Alpine repository containing it. Any ideas?
1
vote
1answer
22 views

Alpine Linux: See errors from apk add/del

apk add/del is reporting errors after any operation. It's always 2 errors. For example (coreutils is already installed): $ sudo apk add -vv coreutils After this operation, 0 KiB of additional disk ...
1
vote
1answer
50 views

Automatic yes to prompts when installing package on Alpine Linux

I'd like to know if apk add is capable of automatically assuming yes to any prompts when installing a new package on Alpine Linux? I'm familiar with running something like apt-get install -y curl on ...
0
votes
3answers
2k views

Alpine Linux VirtualBox VM With xfce4 Desktop Not Able to Use Full Screen Resolution

I have an installation of alpine linux running in a virtualbox vm with slim + xfce4 for the desktop engine. Kernel Version: I have tried with both the latest (3.6.2) Standard and Virtual Kernel from ...
0
votes
0answers
13 views

Alpine package for specific processor

I have an embedded project where I use an alpine based docker image to build binaries for micro controllers. These micro controllers have different architectures as well as processors. E.g. armhf ...
1
vote
1answer
23 views

Trouble creating Alpine package

I'm trying to create an .apk file. I read a number of tutorials about it, and tried to follow them as best as I could, I have APKBUILD file, I have the sample-version.tar.gz, have the checksum. But ...
3
votes
1answer
73 views

Why are files missing in the first Docker exec but available in the second?

This is a very weird situation. We run an alpine-based docker container on Travis CI. Then we run ls as follows: docker exec $CONTAINER_NAME ls -la specific/directory docker exec $CONTAINER_NAME ls -...
0
votes
1answer
25 views

Packages installation and files not saved on Alpine VM after reboot

I want to create some Alpine VMs in VirtualBox. To do so, I first downloaded both the Standard and the Virtual versions (see https://alpinelinux.org/downloads/), and then I created two vdi from their ...
4
votes
2answers
6k views

Alpine Linux sometimes DNS is not resolved

Sometimes when I run the commands: sudo apk update && sudo apk upgrade Over Alpine linux fails to update the packages even if connected to internet. But if I do sudo su "echo 'nameserver 8.8....
-1
votes
1answer
41 views

Using BLAS in Alpine Linux

I am running Alpine Linux inside Termux using proot. I installed gcc, libc-dev and openblas, and tried to compile a C program requiring cblas.h. But it gives the following error. /usr/lib/gcc/armv6-...
2
votes
1answer
38 views

How do I make my computer ask before shutting down instantly?

I've just installed Alpine Linux with XFCE and I really like it, though one thing makes it nearly unusable for me. That's the fact that when I press the power button it immediately shuts off with no ...
0
votes
1answer
23 views

WMIC query construction differences in Linux

This wmic query (NODE, USER, PASS all desensitised)... wmic /NODE:10.00.00.1 /LOCALE:MS_409 /PRIVILEGES:ENABLE /TRACE:OFF /INTERACTIVE:OFF /FAILFAST:OFF /USER:domain\my_user /PASSWORD:myPass! /OUTPUT:...
3
votes
2answers
600 views

How to show details of error in Alpine apk

I use Alpine Linux 3.9.3 x86_64 when I issue: # apk upgrade the output is: 3 errors; 1973 MiB in 519 packages How can I get details about those 3 errors? I tried --verbose flag but result is same....
0
votes
1answer
1k views

Alpine Linux - how do I define packages to load on boot?

It seems that Alpine Linux loads packages up when it boots. How do I add openssh to the packages that are loaded at boot time? When I am logged in I do "apk info" which lists 16 packages as follows: ...
1
vote
1answer
44 views

~ in $PATH variable ignores root folder

I'm using Alpine Linux in a container. I have ENV PATH="~/.local/bin:$PATH" \ in my Dockerfile When logging into the shell I can successfully ls ~/.local/bin which is the same as ls /root/.local/bin, ...
0
votes
0answers
13 views

Identifying native package architecture post installation

I'm working on a project trying to identify components installed on a linux distribution (for instance Alpine) using built in package managers. bash-5.0# apk list usl-1.1.22-r3 x86_64 {musl} (MIT) ...
0
votes
0answers
39 views

How to list all the dependencies inside an apk virtual package name?

deps added to a virtual package: apk add --no-cache --virtual .build-deps gcc make libc-dev How can I list them? apk list gives garbage. apk list .build-deps WARNING: Ignoring APKINDEX.00740ba1....
0
votes
1answer
76 views

InstantWP Alpine Linux - repository tag for world dependency 'apk-tools@edge' does not exist

I am using InstantWP which installs a virtual server running Alpine Linux. InstantWP is for running a local version of Wordpress. It has MariaDB 10.1 installed, which isn't the latest version of ...
0
votes
1answer
43 views

Make Error installing radare2 on alpine linux

I'm running an alpine linux box, and am trying to install radare2. I downloaded the git repo, then ran the install.sh script. It seems to run fine until running into an error: In file included from ...
2
votes
2answers
685 views

How to resize Alpine Linux terminal in VirtualBox?

Please help me with info, how to resize terminal window of Alpine Linux inside the VirtualBox so that it would fill all the host virtualbox window. Alpine version: virt-3.7.0 VirtualBox version: 5....
0
votes
0answers
29 views

prepare aarch64 alpine image on x86-64 linux

My goal is to run a simple script on my linux x86-64 to create an pre configured alpine image for aarch64 (rpi3b+). I managed to do it quite successfully for a raspbian, using system-nspawn and qemu-...
1
vote
1answer
7k views

ERROR: unsatisfiable constraints: tor (missing)

I'm trying to add alpine package tor and getting a following error: root@linode:~/# docker run -it alpine /bin/sh / # apk update fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX....
0
votes
1answer
212 views

Alpine Linux--Wifi Not Working

I am running Alpine Linux from a custom ISO that I created using the extended profile as a base (following instructions Install packages into a custom Alpine Linux ISO? and https://wiki.alpinelinux....
1
vote
1answer
425 views

How to get the source code used to build the packages of the base alpine linux docker image?

Why I want to know this: Currently I use apt-get source to get the source code for all packages within my Debian based docker images to comply with the GPL when I distribute the docker images. Now ...
0
votes
0answers
64 views

Compile clang-tidy under Alpine Linux

I'm trying to make a Docker image for a CI pipeline, that needs to contain clang-tidy among other tools. The problem is that I can't find any package containing clang-tidy on the Alpine repos, which ...
0
votes
1answer
71 views

How to find the value of a variable in ash?

I have a giant script that I'm attempting to debug, and in it it has the following construction: var "-p Some Parameter" || return 1 var "-p Other Parameter" || return 0 I want to know what it ...
1
vote
1answer
215 views

How to make a fully bootable ISO from Alpine Linux Edge?

I would like to make an alpine installation iso which has the following attributes: During installation it has an answerfile so that the setup process (the setup script) takes those default inputs ...
1
vote
1answer
38 views

How to create alpine package without git?

If I already have all the files how do I package them up into an .apk file that I can later installed? Sort of an equivalent of fakeroot dpkg-deb -b package-dir package.deb, or something to achieve ...
0
votes
1answer
274 views

How to install TeXLive on Alpine Linux?

Is it possible to install texlive with tlmgr utility (from tug.org)? same question for installing texmaker (or texstudio) latex editors from sources (rather than AppImage, flatpack or snap packages). ...
0
votes
1answer
49 views

Alpine: persistent disk mounted to /media/sda even though fstab has /media/usb

I'm having some issues with Alpine Linux, running in "diskless" mode on ESXi. I have configured it following the instructions in the wiki. Here's the content of the fstab file: /dev/cdrom /media/...
0
votes
1answer
872 views

Can’t run docker containers in linux CentOS, how to fix it?

Can’t run docker containers in linux CentOS, how to fix it? [root@mycentos ~]# docker run alpine container_linux.go:235: starting container process caused "process_linux.go:258: applying cgroup ...
21
votes
4answers
32k views

How to solve “tar: invalid magic” error on Linux Alpine

I'm installing sqlite on Alpine Linux. I download sqlite-autoconf-3130000.tar.gz but tar could not open it. I tried this answer but it's not working. tar gives this message: tar: invalid magic tar: ...
0
votes
2answers
804 views

Alpine VM not saving after rebooting

I did setup-alpine then installed busybox-extras. After I rebooted the VM, it reverted to the initial configurations. Is it just for Alpine VM, or should I save it? I can't find any commands to save ...
2
votes
1answer
794 views

init script for alpine not working

I am trying to write an init script for gitea in alpine. The first code I tried was #!/sbin/openrc-run command=/usr/bin/gitea command_args="web" pidfile=/var/run/git.pid name="Gitea Daemon" ...
0
votes
1answer
161 views

Install Alpine security updates only

Is there a way to install only security updates for Alpine Linux and its apk packages, skipping updates that don't fix security holes?
1
vote
1answer
47 views

Set DM on OpenRC

How do I set a display manager on an OpenRC system? I'm trying to use the Ly display manager. E.g. on a systemd distro I'd do $ sudo systemctl enable ly.service but how do I do it here?
2
votes
1answer
44 views

How to prevent apk from overriding config files

So I've stumbled upon issue after issue every time I upgrade using apk upgrade that apk keeps on adding default config files without my consent, is there any way to have apk either never override/...
2
votes
2answers
453 views

How to find out if there is a package with certain command in AlpineLinux?

Specifically I'm trying to find out what pakage I have to install in order to get disown command in docker based on Alpine Linux? Moreover it would be nice if someone could enlight me how in general I ...
2
votes
2answers
289 views

logrotate with only size option does not rotate. This is inside Alpine docker container

I have below configuration for access logs cat /etc/logrotate.d/logrotate_nginx.conf /nginx/access/logs/*.log { rotate 2 size 1k missingok compress notifempty copytruncate } There is no ...
0
votes
1answer
1k views

Install packages into a custom Alpine Linux ISO?

I have followed the steps successfully as described below https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage I can add a package which will be available for apk add when ...
0
votes
1answer
89 views

does “Ignoring APKINDEX” mean the image does not install apk search command tool?

I am trying to use this docker image big-data-europe/docker-spark, based on "Alpine Linux v3.8" when I try to search sbt apk search sbt I got WARNING: Ignoring APKINDEX.adfa7ceb.tar.gz: No such ...
1
vote
1answer
207 views

wget content-disposition ubuntu vs alpine

In Ubuntu, I can use the following wget flag to get a debian, i.e., wget --content-disposition https://packagecloud.io/xxxxx/download.deb dpkg -i ... In Alpine, wget complains that --content-...
9
votes
3answers
10k views

“date -d” command fails on Docker Alpine Linux container

I built Alpine Linux in a Docker container with the following Dockerfile: FROM alpine:3.2 RUN apk add --update jq curl && rm -rf /var/cache/apk/* the build run successfully: $ docker build -...
1
vote
0answers
193 views

Cannot mix incompatible Qt library (version 0x50c03) with this library (version 0x50c00)

I use alpine-php fpm docker container for developing and deploying a php application. I want to use wkhtmltopdf for generating pdfs. I installed by using apk add wkhtmltopdf But when I run it I ...
1
vote
1answer
597 views

/bin/sh: /usr/bin/wkhtmltopdf: not found

I installed /bin/sh: wkhtmltopdf /usr/bin/ directory. However when I try to run the program by entering /usr/bin/wkhtmltopdf to shell I receive an error /bin/sh: /usr/bin/wkhtmltopdf: not found. It ...
0
votes
1answer
204 views

Alpine 3.9.4 update busybox 1.30.0

I am using latest stable version of alpine 3.9.4 image. this image comes with busybox -1.29.3-r10. I need to upgrade to busybox 1.30.0. apk upgrade busybox command not upgrading the package. What is ...
2
votes
2answers
764 views

How to determine apk package name from search results

On Alpine Linux, given the results of an apk search, how do I determine the package name to give to apk add? For example, suppose I forgot the how to spell "lighttpd", or I forgot exactly what the ...
1
vote
1answer
910 views

Installation of Firefox on Alpine Linux

I'm trying to install Firefox on Alpine Linux. I ran $ sudo apk add firefox And a few hundred MBs later, it installed. However, when I ran firefox, it crashed with symbol not found errors and ...