Questions tagged [alpine-linux]
Alpine Linux is a distribution for small, secure systems, based on busybox and musl
301
questions
1
vote
0
answers
13
views
How does apk's replaces work when the package being replaced gets upgraded?
Say I have a package A, and package B. Package B contains some files which deliberately conflict with package A, and it is desirable for package B's files to be favoured over the ones in package A if ...
0
votes
1
answer
21
views
fstab mount doesn't find device
I have a problem with mounting a simple ext4 USB device with sync option and defaults.
This is my fstab entry:
UUID=233b8055-d596-48a7-a666-1e10b8860d9c /USBSSD sync 0 0
when I use mount -a, it says:
...
0
votes
0
answers
18
views
Alpine Linux: Can I bridge the eth0 to WiFi?
The problem: I have Alpine Linux downloaded on my phone, but it cannot be pinged by other devices on the network. It seems to have its own IP address and gateway that is different from the network. My ...
-2
votes
0
answers
51
views
How do I connect Alpine Linux to WiFi?
The problem: I have Alpine Linux downloaded but it seems to have its own IP address and gateway that is different from the network. My network has the range of 192.168.1.X/24 and gateway of 192.168.1....
0
votes
0
answers
25
views
Keyboard layout not working on Alpine Linux 3.17
I am running several Alpine Linux installations, some VPS via SSH, some on real hardware.
One of the machines (via SSH) can only input ASCII characters - e.g., pressing Option + o on my Mac keyboard ...
0
votes
2
answers
48
views
Which software installer should I use with Alpine?
I am experimenting with the Python Docker container, which seems to use Alpine Linux. I'm not familiar with Alpine and I don't see it listed as an option for installing software.
On Alpine, should I ...
1
vote
0
answers
46
views
How do I use abuild inside of a Distrobox container?
I want to use Alpine inside of a Distrobox container using the alpine-toolbox-edge image and do various tasks involving the abuild program. I followed the instructions in the "Creating an Alpine ...
0
votes
0
answers
40
views
How to get Intel Atom Z36xxx/Z37xxx HD Audio working in Alpine?
I've installed Alpine 3.18 on a PC with a Gigabyte J1900N-D2H motherboard. I'm running XFCE, but getting no sound.
There is no volume control icon in the tray area, and no sound options in the menu or ...
1
vote
1
answer
26
views
Alpine Linux: apk cache APKINDEX checksum details
In Alpine Linux, when I run the command apk update it looks at my /etc/apk/repositories file and downloads the APKINDEX.tar.gz file from each repository. It then renames each APKINDEX tar file using a ...
0
votes
0
answers
20
views
/usr/share/fonts/IBM_Plex_Mono: caching, new cache contents: 0 fonts, 0 dirs
I have install latex 2013(small installation) into alpine and run it in docker, when I tried to using this command to show alpine font list:
/usr/share/fonts/IBM_Plex_Serif # fc-list
the output is ...
1
vote
1
answer
130
views
Bluetooth keyboard/mouse issue on Alpine Linux
I'm using Alpine Linux with the following bluetooth related packages installed:
bluez-5.68-r1 x86_64 {bluez} (GPL-2.0-or-later AND BSD-2-Clause AND MIT) [installed]
bluez-btmgmt-5.68-r1 x86_64 {bluez} ...
0
votes
1
answer
397
views
How to enable automatic login in alpine linux for root
I am trying to set up an alpine linux machine that needs to run an user program at the startup.
I did not add any user except for root.
After searching for solution of how to enable automatic login i ...
1
vote
1
answer
87
views
Alpine Linux in Raspberry Pi not activating swap partition on boot
Probably this is a really naïve question, but I can’t make this work by trying the methods I’ve found in the existing documentation or in other solutions.
I have Alpine Linux installed on a Raspberry ...
0
votes
1
answer
334
views
How to install package in alpine in a specific folder using apk package manager?
I am trying to install a package in an Alpine Docker image. I am able to install the package and also able to verify them but now I want to install all the packages in my current working directory, ...
0
votes
0
answers
97
views
Embed script into docker container to run after main process starts
For a particular docker image (based on alpine) I want to run some custom code after the container starts. I want that code inside the container, so it's easy to use and everything is self-contained. ...
1
vote
1
answer
136
views
Another way to add packages into an alpine linux iso
I'm struggling with installing packages into my custom alpine-linux iso.
Following the official wiki on how to create a basic custom iso is working so far.
I've read following posts and tried some ...
1
vote
1
answer
190
views
How to know the boot time (kernel + init) in Alpine using openRC?
I made a bit of research on the matter and also asked ChatGPT, but there doesn't seem to be a way to measure full boot time of an alpine distribution with OpenRC.
Using dmesg, I can see the last ...
0
votes
1
answer
78
views
Unable to get IPV4 with dhcpcd on Alpine in a dual stack setup
After installing dhcpcd, the machine is unable to get IPv4 from DHCP, but generate IPv6 as expected and get DHCPv6 options (like DNS, domain, etc.); the config in /etc/networking/interfaces is
auto lo
...
0
votes
0
answers
52
views
Alpine linux keep re-installing openssl
My /etc/apk/world contains
alpine-base
busybox-mdev-openrc
chrony
openresolv
openssl
tailscale
And when I do
# apk info -r openssl
openssl-3.1.1-r1 is required by:
#
And apk del openssl works. If ...
0
votes
0
answers
69
views
How do I build Alpine Linux on BeagleBone Black?
Currently, I am exploring Embedded Linux and found out that Alpine is a good place to start with that. Thus, I tried to build Alpine on BeagleBone. I tried out multiple methods:
The Generic ARM setup
...
0
votes
0
answers
32
views
ntfs-3g - getfattr shows only user namespace
I have mounted my NTFS-HDD to Alpine Linux with the following mount options in fstab
UUID=4038A92D38A92340 /1TB ntfs defaults,nofail,utf8 0 0
when I use getfattr -d --match="-" myfile
I don'...
0
votes
0
answers
52
views
Where is the root file system loaded from in alpine diskless mode
When installing alpine linux in diskless mode (described here) where is the actual root file system stored?
According to the documentation in diskless mode:
This means the entire operating system ...
0
votes
1
answer
1k
views
Using apk add to install a specific version of package from alpinelinux.org
I'm trying to use nginx-mod-http-lua on Alpine v3.17-stable. I want to use this specific 1.24.0-r2 version of the package which was just released two days ago.
I'm trying docker run -it nginx:1.24.0-...
0
votes
0
answers
15
views
"No such file or directory" when executable exists with relevant permissions [duplicate]
After installing n to manage node versions on my alpine vm, I am having the following issue where the node executable is not found, despite existing
vscode ➜ /workspaces/tom $ which node -a
/...
0
votes
1
answer
118
views
How to run a command in the background with 'doas'?
I want to run a command in the background as root. And I have a problem with doas command.
With sudo, I can use sudo --background <command>. It will ask for password, then runs in the background....
0
votes
1
answer
1k
views
How to install sudo on Alpine 3.17 VM?
I have installed Alpine r3.17 on a VM under KVM. I want to install sudo tool.
# su -
# apk update
...
OKL 4994 distinct packages available
# apk add sudo
ERROR: unable to select packages:
sudo ...
1
vote
0
answers
535
views
Permission denied while trying to SSH from gitlab runner to deploy server
I am trying to deploy gitlab repository to my server in gitlab ci pipeline using this pipeline
stages:
- deploy
deploy:
stage: deploy
only:
- main
before_script:
- apk add --update --...
0
votes
0
answers
132
views
How to install plperl, plpython extensions in derived alpine docker image?
I am trying to set up and use the official (alpine-based) postgres docker image with Dockerfile here. But I got an error about missing libperl.so as follows:
2023-03-09 17:37:49.146 UTC [49] ERROR: ...
1
vote
1
answer
710
views
How to copy and paste in alpine linux VM?
I recently installed an alpine-3.17 VM using virtualbox 7. I also installed the guest additions and are able to map shared folders. But it seems that I cannot copy-and-paste from the host OS.
I copied ...
-1
votes
1
answer
129
views
Enable bluetooth keyboard for Pinephone running PostmarketOS
I am using a Pinephone with PostmarketOS and can't get my bluetooth keyboard "TrackPoint Keyboard II" to function.
It's getting connected over bluetoothctl but is not working.
1
vote
1
answer
449
views
How to install packages which are present on startup in alpine diskless
I've installed alpine linux on an R-Pi using instructions on Alpine's wiki. The instructions note:
Alpine Linux will be installed in diskless mode, hence, Alpine Local Backup (lbu) is required to ...
0
votes
0
answers
128
views
Determine what is locking a USB device in Alpine (Home Assistant)
I'm running Home Assistant (standard RPi install) on a Raspberry Pi 4 GB with an AEOTEC Z-Stick Gen5. It's attached to a USB hub since the system won't use it otherwise. "Something" has ...
0
votes
1
answer
602
views
Alpine not installing "latest" package
I am trying to install latest version of chromium (v108.0.5359.125), and I have the following in my Dockerfile:
FROM node:14.20.1-alpine3.16
ENV CHROME_BIN=/usr/bin/chromium-browser
RUN echo @latest ...
0
votes
0
answers
619
views
Performance issue with alpine musl library
In order to build a complex C++ software based on Qt framework, I have prepared an alpine toolchain (for x86_64). This toolchain chroot contains :
the alpine base package 3.16
a list of installed ...
1
vote
1
answer
1k
views
What is included in the Alpine Linux Docker image?
Which standard Linux command line tools are included in the official Alpine Linux Docker image?
(Which, which you would expect, are missing?)
I tried to Google this but was not successful.
1
vote
0
answers
151
views
How not to load Tumbler service at XFCE login on Alpine Linux
When I log in to XFCE, it seems /usr/lib/tumbler-1/tumblerd is started and uses relatively a large amount of memory. I do not need thumbnails. I want to remove it, but it is required for XFCE, so I ...
1
vote
1
answer
361
views
When is an apkovl file applied?
When booting Alpine, one can specify an overlay file via the kernel command line argument apkovl=. This overlay file is fetched and expanded over the rootfs.
What is responsible for doing this? When ...
0
votes
1
answer
242
views
How do I create an Alpine local backup overlay (apkovl) with Docker?
Alpine's local backup feature allows an overlay file containing system modifications to be fetched from the network at boot time.
I'd like to make an overlay file on my development system by running ...
0
votes
0
answers
278
views
Alpine Linux apk add autocompletion?
Alpine is probably the only distribution I have tried that does not automatically complete package names in its package manager. I find it extremely annoying that when I press tab after typing apk add ...
0
votes
0
answers
61
views
Can I check for FHS compliance to a specific version?
I am using Alpine 3.6.12 in a container for development. Is there a way to check for compatibility against FHS 3.0?
1
vote
0
answers
343
views
How do I download files on a linux terminal without the traditional commands(like wget)?
My university has a collaboration with a website where they give us questions to solve in the labs. The website has an IDE and a terminal. I checked and it was using Alpine Linux.
I want to download ...
0
votes
1
answer
215
views
Alpine-linux sed command debug mode
I am trying to insert the following text into any file. I do it in the following way:
sed -i '1i JRE_HOME="${JAVA_HOME}/jre" \
CATALINA_PID="${CATALINA_HOME}/temp/tomcat.pid"...
1
vote
1
answer
4k
views
unable to select packages so:libcrypto.so.3 on alpine
Situation:
Almost the same question as Installing php7 on alpine: missing libcrypto and libssl
However, as the latest comment said:
Now that several years have gone by, all of the answers above are ...
0
votes
1
answer
976
views
Why does find -regex work different on different machines? [duplicate]
So I got the following find command:
find ./test-folder -type d -mindepth 1 -regex "^.*/\d\{4\}-\d\{2\}-\d\{2\}$"
Previously I've created the folder ./testfolder by mkdir testfolder and a ...
1
vote
1
answer
186
views
Identify apk packages based on .PKGINFO depend entry
I am interested in resolving apk package dependencies, ideally with a scripting language like python. Basically I want to be able to derive a dependency tree of a package, without the need to run on a ...
0
votes
1
answer
2k
views
Device "ip_tables" does not exist on Alpine Linux
I'm trying to run a docker-in-docker (dind) (more specifically, docker:22.06.0-beta.0-dind-rootless) image on a Alpine Linux host, that is running inside VirtualBox, whenever the container starts up, ...
0
votes
1
answer
343
views
Alpine Linux PHP7 to PHP8 upgrade
I run a web server on Alpine Linux. Previously I used PHP7, and I wanted to upgrade to PHP8. What is the proper way to do this? I tried with
apk del php7 and then apk add php8, but it looks like this ...
0
votes
1
answer
53
views
How do I compile gtypist-2.9.5 on Alpine Linux?
GNU Typist is a well-known typing practice program for the terminal. I wanted to use it so I downloaded the .tar.gz from https://ftp.gnu.org/gnu/gtypist/?C=M;O=D. But when I untarred it and ran ...
2
votes
2
answers
17k
views
How to install specific version of python on Alpine linux
I am using docker's official docker image and want to install python3.9.6
Running this installs python 3.10.x
apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
and I can't ...
0
votes
1
answer
111
views
RPi running Alpine hangs every few days, only just managed to catch the CLI output. How do I investigate further? Can't find anything in journalctl
This is currently all I have to go on via plugging my normally headless Pi into a monitor before it hung entirely. Looking in the journalctl logs after the fact provides no indication of anything ...