Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
1
answers
45
views
disconnect packages managed by alpine apk but keep them on the system
I've installed nextcloud on proxmox in an alpine container using ttecks (rip!) helper script. After some tweaks, I am now able to update nextcloud from the application itself. Now I have the following issue: Nextcloud is still managed by alpines apk, so when I run `apk upgrade`, the nextcloud packag...
I've installed nextcloud on proxmox in an alpine container using ttecks (rip!) helper script. After some tweaks, I am now able to update nextcloud from the application itself.
Now I have the following issue: Nextcloud is still managed by alpines apk, so when I run
apk upgrade
, the nextcloud package will be updated too, what will break my nextcloud instance.
Is there a way to remove (the nextcloud) packages from the management by apk? Like removal of the apk database? I tried to remove it from the /etc/apk/world
file. The result is nextcloud beeing removed by apk :/
lutz108
(11 rep)
Nov 26, 2024, 12:31 AM
• Last activity: May 7, 2025, 03:53 PM
2
votes
1
answers
312
views
apk update -- WARNING: opening /repo: No such file or directory for existing repo
I'm trying to collect apk packages to local repo to install them later. But `apk update` says that this repo directory does not exists (what is not true). It does not depend on actual location and is very strange Run alpine: ``` docker run -it --rm alpine:latest sh ``` Create repo inside and try to...
I'm trying to collect apk packages to local repo to install them later. But
apk update
says that this repo directory does not exists (what is not true). It does not depend on actual location and is very strange
Run alpine:
docker run -it --rm alpine:latest sh
Create repo inside and try to use it:
/ # mkdir /repo
/ # apk fetch --recursive -o /repo screen
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.21/main : No such file or directory
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.21/community : No such file or directory
screen: unable to select package (or its dependencies)
/ # apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
v3.21.3-357-g39d49089a10 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
v3.21.3-358-g5686bc96b73 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
OK: 25396 distinct packages available
/ # apk fetch --recursive -o /repo screen
Downloading libncursesw-6.5_p20241006-r3
Downloading linux-pam-1.6.1-r1
Downloading musl-1.2.5-r9
Downloading ncurses-terminfo-base-6.5_p20241006-r3
Downloading screen-5.0.0-r0
Downloading skalibs-libs-2.14.3.0-r0
Downloading utmps-libs-0.1.2.3-r2
/ # cd repo
/repo # ls -lah
total 1M
drwxr-xr-x 2 root root 4.0K Apr 21 17:54 .
drwxr-xr-x 1 root root 63 Apr 21 17:53 ..
-rw-r--r-- 1 root root 154.9K Nov 11 17:11 libncursesw-6.5_p20241006-r3.apk
-rw-r--r-- 1 root root 191.0K Oct 30 12:34 linux-pam-1.6.1-r1.apk
-rw-r--r-- 1 root root 401.7K Feb 13 17:58 musl-1.2.5-r9.apk
-rw-r--r-- 1 root root 20.8K Nov 11 17:11 ncurses-terminfo-base-6.5_p20241006-r3.apk
-rw-r--r-- 1 root root 431.5K Oct 30 12:35 screen-5.0.0-r0.apk
-rw-r--r-- 1 root root 76.2K Oct 30 12:35 skalibs-libs-2.14.3.0-r0.apk
-rw-r--r-- 1 root root 4.9K Oct 30 12:35 utmps-libs-0.1.2.3-r2.apk
/repo # apk index -vU -o APKINDEX.tar.gz *.apk
Index has 0 packages (of which 7 are new)
/repo # apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
v3.21.3-357-g39d49089a10 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
v3.21.3-358-g5686bc96b73 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
OK: 25396 distinct packages available
/repo # echo "/repo" >> /etc/apk/repositories
/repo # apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
WARNING: opening /repo: No such file or directory
v3.21.3-357-g39d49089a10 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
v3.21.3-358-g5686bc96b73 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
OK: 25396 distinct packages available
Demetry Pascal
(121 rep)
Apr 21, 2025, 06:01 PM
• Last activity: May 7, 2025, 12:36 PM
0
votes
1
answers
58
views
Add only a part of an Alpine package
A coworker recently shelled into an Alpine-based container and ran `apk add` with some special additional syntax such that only a part of a package was installed. More specifically, he wanted only the command-line client of the `redis` package (which includes both client and server). I've scoured th...
A coworker recently shelled into an Alpine-based container and ran
apk add
with some special additional syntax such that only a part of a package was installed.
More specifically, he wanted only the command-line client of the redis
package (which includes both client and server).
I've scoured the web, and read through all of the relevant [man
pages](https://man.archlinux.org/listing/extra/apk-tools/) , but I can't seem to find the invocation that he used.
chb
(699 rep)
Mar 28, 2025, 08:24 PM
• Last activity: Apr 2, 2025, 03:59 PM
10
votes
1
answers
10098
views
Alpine: How to forcibly remove a package even if it would break dependencies?
I'm trying to build a super-minimal Linux with Alpine. I don't need `linux-firmware` as it installs firmware for everything, using up 300+MB of space. This is a stock installation. However I can't uninstall any of the linux-firmware packages: dev-alpine:~# apk del --force --force-broken-world linux-...
I'm trying to build a super-minimal Linux with Alpine. I don't need
linux-firmware
as it installs firmware for everything, using up 300+MB of space. This is a stock installation. However I can't uninstall any of the linux-firmware packages:
dev-alpine:~# apk del --force --force-broken-world linux-firmware
World updated, but the following packages are not removed due to:
linux-firmware: linux-vanilla
OK: 504 MiB in 122 packages
More than half the stock install is the firmware!
Short of just deleting the files themselves (which will come back on an update!), how can I force Alpine to remove all the firmware files I don't need?
(Given that the firmware files already seem to be separated out, it seems that at some point it was considered that you would want to selectively install only firmware you need... but even that won't work:)
dev-alpine:~# apk del --force --force-broken-world linux-firmware-amdgpu
World updated, but the following packages are not removed due to:
linux-firmware-amdgpu: linux-firmware linux-vanilla
OK: 504 MiB in 122 packages
mngeek206
(3068 rep)
Oct 13, 2018, 06:43 AM
• Last activity: Jan 27, 2025, 05:29 PM
0
votes
2
answers
2990
views
Unable to install or upgrade to specific version of alpine/expat 2.6.0-r0 in alpine docker image
Due to latest vulnerability detected CVE-2023-52425, CVE-2023-52426, I need to upgrade alpine/expat 2.5.0-r2 to expat 2.6.0-r0 in my alpine docker image. I tried various ways (see below) to upgrade the expat package version during docker build, but the resulting image still shows alpine/expat 2.5.0-...
Due to latest vulnerability detected CVE-2023-52425, CVE-2023-52426, I need to upgrade alpine/expat 2.5.0-r2 to expat 2.6.0-r0 in my alpine docker image.
I tried various ways (see below) to upgrade the expat package version during docker build, but the resulting image still shows alpine/expat 2.5.0-r2. I would appreciate any advice on how to do this.
referencing :
https://alpine.pkgs.org/3.19/alpine-main-x86_64/expat-2.6.0-r0.apk.html
In my Dockerfile, I tried the following 3 ways to install expat 2.6.0-r0 to no avail:
1) RUN apk update && apk add --upgrade --no-cache expat
2) RUN curl -O http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/expat-2.6.0-r0.apk
RUN apk add --allow-untrusted expat-2.6.0-r0.apk
3) RUN apk add --upgrade --no-cache expat --repository='https://pkgs.alpinelinux.org/package/v3.19/main/x86_64/expat '
4) RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/ >> /etc/apk/repositories
RUN apk --no-cache --update add expat

TJL
(1 rep)
Feb 13, 2024, 02:33 PM
• Last activity: Oct 1, 2024, 07:06 AM
3
votes
1
answers
3935
views
BAD signature when installing specific package with apk after forced poweroff
Earlier I was playing around with my PinePhone running postmarketOS Edge (based on Alpine Linux Edge) and while installing `gcc-go` using apk via the command `sudo apk add gcc-go` the phone froze. As such, I did a forced power off and booted it back up. Now, however, when I do `sudo apk add gcc-go`...
Earlier I was playing around with my PinePhone running postmarketOS Edge (based on Alpine Linux Edge) and while installing
gcc-go
using apk via the command sudo apk add gcc-go
the phone froze. As such, I did a forced power off and booted it back up. Now, however, when I do sudo apk add gcc-go
it gives me the following output:
(1/3) Installing libucontext (0.11-r0)
ERROR: libucontext-0.11-r0: BAD signature
(2/3) Installing libgo (10.2.0-r5)
ERROR: libgo-10.2.0-r5: BAD signature
(3/3) Installing gcc-go (10.2.0-r5)
ERROR: gcc-go-10.2.0-r5: BAD signature
3 errors; 2567 MiB in 711 packages
Go is subsequently then not installed, and when adding any package — including ones that aren't gcc-go
— I get the same errors. It does stop if I do sudo apk del gcc-go
, but if I subsequently attempt to install gcc-go
via the same command as earlier the same error arises. It also persists if I add --no-cache
to the install operation.
Why is this, and what might I do to resolve it so that gcc-go
can be installed?
Newbyte
(1380 rep)
Oct 6, 2020, 01:48 PM
• Last activity: May 22, 2024, 09:26 PM
8
votes
3
answers
39092
views
How to install specific version of python on Alpine linux
I am using docker's official [docker image][1] 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 figure out how to specify exact version of python I want to install. Please don't suggest using d...
I am using docker's official docker image and want to install python3.9.6
Running this installs python 3.10.x
add --update --no-cache python3 && ln -sf python3 /usr/bin/python
and I can't figure out how to specify exact version of python I want to install.
Please don't suggest using docker images with python preinstalled
hdw3
(181 rep)
Aug 5, 2022, 03:15 PM
• Last activity: Feb 7, 2024, 01:26 PM
0
votes
1
answers
593
views
sudo: a terminal is required to read the password; a password is required Error: Process completed with exit code 1
I was running a built successfully from my editor to github and suddenly I started getting this error at the end of the build on github sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper sudo: a password is required...
I was running a built successfully from my editor to github and suddenly I started getting this error at the end of the build on github
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Error: Process completed with exit code 1.
project! building an apk file from a python kivy source code via github workflow.
Has anyone encountered this issue before? and how did you resolved it?
Felix F
(1 rep)
Jan 16, 2024, 06:31 PM
• Last activity: Jan 24, 2024, 06:22 AM
0
votes
1
answers
40
views
Apktool version
When I type apktool -version in the terminal, it tells me that it has version 2.6.0 When I type ./apktool -version in /usr/local/bin, it prints 2.7.0. How can I bring apktool to 2.7.0 version?
When I type apktool -version in the terminal, it tells me that it has version 2.6.0 When I type ./apktool -version in /usr/local/bin, it prints 2.7.0. How can I bring apktool to 2.7.0 version?
Ali yıldırım
(3 rep)
Nov 30, 2023, 01:28 PM
• Last activity: Nov 30, 2023, 02:22 PM
1
votes
1
answers
6795
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][1] which was just released two days ago. I'm trying `docker run -it nginx:1.24.0-alpine sh -c "apk update && apk upgrade && apk add nginx-mod-http-lua=1.24.0-r2"` but I'm seein...
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-alpine sh -c "apk update && apk upgrade && apk add nginx-mod-http-lua=1.24.0-r2"
but I'm seeing error:
ERROR: unable to select packages:
nginx-mod-http-lua-1.22.1-r0:
breaks: world[nginx-mod-http-lua=1.24.0-r2]
I'm unsure how to actually use this package listed on https://pkgs.alpinelinux.org . How can I install?
Kenn
(121 rep)
May 1, 2023, 04:14 AM
• Last activity: Oct 25, 2023, 07:02 PM
1
votes
0
answers
134
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 a user installs both. The easy solution to this with apk-tools is to have package B include `replace...
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 a user installs both. The easy solution to this with apk-tools is to have package B include
replaces=A
in its APKBUILD
so that the resulting package contains this metadata.
Given this, if package A is installed and then B, B's conflicting files should take precedent. However, what happens if package A then gets upgraded and B doesn't? Do the conflicting files from A take precedent, or does apk keep the ones from B?
Newbyte
(1380 rep)
Oct 3, 2023, 11:11 AM
1
votes
0
answers
480
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 package" article], but I quickly ran into an issue where `$ abuild checksum` gave me a permission de...
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 package" article], but I quickly ran into an issue where $ abuild checksum
gave me a permission denied error despite that I had added myself to the abuild group, changed owner of the /var/cache/distfiles
directory, and logged out and back in. As such, I decided to check what groups I'm in and noticed that the list looked like this:
$USER nobody nobody nobody nobody nobody nobody nobody
(where $USER
is my actual username, not $USER
verbatim)
As such, it seems like I haven't actually been added to the abuild group. I then tried the alternative command listed in the article, # chmod a+w /var/cache/distfiles
. This made $ abuild checksum
execute fine, but when I went on to run $ abuild -r
to build the package I got the following error: abuild-apk: User neboula is not a member of group abuild
, which is where I'm at now.
How can I set up a Distrobox container where abuild
actually can abuild Alpine APK packages?
Newbyte
(1380 rep)
Aug 11, 2023, 05:50 PM
• Last activity: Aug 25, 2023, 03:47 PM
1
votes
1
answers
431
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 checksum to be in the format `APKINDEX.12345678.tar.gz` where `12345678` represent some c...
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 checksum to be in the format APKINDEX.12345678.tar.gz
where 12345678
represent some checksum.
I've been trying to understand how this checksum works because I'd like to update the package listing for an offline Alpine installation. To better understand it, I am reading the source code for the apk tool . From the source, I understand that the checksum is 4 bytes of a SHA1 hash, but I can't figure out what the SHA1 hash is taken on.
Where are the 4 bytes of the APKINDEX
checksum coming from? Specifically, what is the algorithm for recalculating it? I apologize if this has already been answered but I've spent multiple days searching the internet and not come up with anything.
dingo_kinznerhook
(111 rep)
Aug 3, 2023, 04:31 PM
• Last activity: Aug 4, 2023, 07:36 PM
4
votes
1
answers
17959
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 (no such package): required by: world[sudo] After checking the Alpine website, I see `sudo` is a valid pa...
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 (no such package):
required by: world[sudo]
After checking the Alpine website, I see sudo
is a valid package:
* [Alpine packages -sudo
](https://pkgs.alpinelinux.org/package/v3.17/community/x86_64/sudo)
Valid for release 3.17. I've seen similar questions on the web for r3.16 as well, so I don't think this is a new problem. And yes for a virtul machine, not a container, I do want sudo on key machines.
Yet apk
does not find it. Everywhere I have looked so far show an install command like:
# apk add sudo
For example:
* [Post Installation Recommendations](https://docs.alpinelinux.org/user-handbook/0.1a/Working/post-install.html) , [Alpine user handbook](https://docs.alpinelinux.org/user-handbook)
* [Add, Delete And Grant Sudo Privileges To Users In Alpine Linux](https://ostechnix.com/add-delete-and-grant-sudo-privileges-to-users-in-alpine-linux/)
* [QEMU](https://wiki.alpinelinux.org/wiki/QEMU) , [Alpine Linux wiki](https://wiki.alpinelinux.org/wiki)
* Shows sudo
usage, but not how it was installed.
I wondered if '*world*' is relevant, as in: "required by: world[sudo]
"? Do I need to explicitly reference another repository. According to the package docs sudo
is in "community". Additionally, the package: spice-vdagent
is not found for installation, but I was able to install spice-0.15.1
.
The problem is not unique to the sudo
utility. Any useful advice is welcome. Thank you in advance.
will
(548 rep)
Apr 21, 2023, 01:30 AM
• Last activity: May 26, 2023, 12:29 AM
0
votes
1
answers
91
views
android : from a modern Android system, how to install an old apk only compatible to an older Android system
android : from a modern Android system, how to install an old apk only compatible to an older Android system?
android :
from a modern Android system, how to install an old apk only compatible to an older Android system?
K. PANIK
(27 rep)
Apr 14, 2023, 06:24 PM
• Last activity: Apr 14, 2023, 06:59 PM
10
votes
1
answers
6442
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 there are e few docker images where I would like to use the alpine based docker image but I don't...
**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 there are e few docker images where I would like to use the alpine based docker image but I don't know how to get the source code used to build the packages within these docker images.
**What I found out so far:**
If there were an equivalent for
apt-get source for alpine linux this wouldn't be a problem (the documentation does not mention a source option for apk)
The Github page only contains the scripts and patches but not the exact source code, but then the build scripts just seem to get the source code from upstream.
They have to provide the source code somewhere since they are surely distributing some GPL licensed binaries within there docker images.
**How to get (exactly) the source code used to build the packages of an alpine docker image?**
MADforFUNandHappy
(891 rep)
Jan 25, 2019, 09:46 PM
• Last activity: Feb 21, 2023, 02:49 AM
0
votes
1
answers
1851
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 https://dl-cdn.alpinelinux.org/alpine/latest-stable/community >> /etc/apk/repositories && \ echo @14....
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 https://dl-cdn.alpinelinux.org/alpine/latest-stable/community >> /etc/apk/repositories && \
echo @14.20.1 https://dl-cdn.alpinelinux.org/alpine/v3.14/main >> /etc/apk/repositories
# Install dependencies
RUN apk --no-cache --update add \
libsrt@latest \
chromium@latest \
firefox@latest
I can clearly see that the Chromium version in the Alpine's repository is indeed v108 .
However, for some reason it's installing version 102!
(131/133) Installing chromium (102.0.5005.182-r0)
cat /etc/apk/repositories
:
https://dl-cdn.alpinelinux.org/alpine/v3.16/main
https://dl-cdn.alpinelinux.org/alpine/v3.16/community
@latest https://dl-cdn.alpinelinux.org/alpine/latest-stable/community
@14.20.1 https://dl-cdn.alpinelinux.org/alpine/v3.14/main
I'm not sure why this is happening, any pointers is much appreciated!
EDIT: I do not want to specify the version, instead, I'd like to install whatever is latest. (so no chromium=108.0.5359.125-r0
)
Fadi
(335 rep)
Jan 10, 2023, 08:21 PM
• Last activity: Jan 10, 2023, 09:39 PM
1
votes
1
answers
8143
views
unable to select packages so:libcrypto.so.3 on alpine
**Situation:** Almost the same question as https://unix.stackexchange.com/questions/441343/installing-php7-on-alpine-missing-libcrypto-and-libssl However, as the [latest comment](https://unix.stackexchange.com/a/717698/374303) said: > Now that several years have gone by, all of the answers above are...
**Situation:**
Almost the same question as https://unix.stackexchange.com/questions/441343/installing-php7-on-alpine-missing-libcrypto-and-libssl
However, as the [latest comment](https://unix.stackexchange.com/a/717698/374303) said:
> Now that several years have gone by, all of the answers above are invalid, and there does not seem a stable solution to the problem.
**Details:**
I tried to install in my alpine the ffmpeg over via community repositories with:
apk add ffmpeg
But I got the following errors:
ERROR: unable to select packages:
so:libcrypto.so.3 (no such package):
required by: libsrt-1.5.1-r0[so:libcrypto.so.3]
I've done
apk add libcrypto3
, and also apk add libressl3.5-libcrypto
as per that Q&A, but the problem persisted.
My alpine is alpine v3.16.
**Updates:**
Someone suggested apk add ffmpeg=5.0.1-r1
for alpine v3.16, but I'm getting:
% apk search ffmpeg
ffmpeg-5.1.2-r1
% apk add ffmpeg=5.0.1-r1
ERROR: unable to select packages:
so:libmbedcrypto.so.7 (no such package):
required by: librist-0.2.7-r0[so:libmbedcrypto.so.7]
so:libcrypto.so.3 (no such package):
required by: libsrt-1.5.1-r0[so:libcrypto.so.3]
so:libdav1d.so.6 (no such package):
required by: ffmpeg-libs-5.1.2-r1[so:libdav1d.so.6]
ffmpeg-5.1.2-r1:
breaks: world[ffmpeg=5.0.1-r1]
xpt
(1858 rep)
Oct 15, 2022, 08:28 PM
• Last activity: Nov 9, 2022, 11:13 AM
2
votes
1
answers
9628
views
ERROR: unsatisfiable constraints: tor (missing)
I'm trying to add alpine package [tor][1] 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.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz v3.4.4-14...
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.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
v3.4.4-14-g3b19e7e [http://dl-cdn.alpinelinux.org/alpine/v3.4/main]
v3.4.4-12-gebd7753 [http://dl-cdn.alpinelinux.org/alpine/v3.4/community]
OK: 5973 distinct packages available
/ # apk add tor
ERROR: unsatisfiable constraints:
tor (missing):
required by: world[tor]
/ # apk info tor
/ #
/ # cat /etc/alpine-release
3.4.3
/ # uname -a
Linux fb9225b194cb 4.7.0-x86_64-linode72 #1 SMP Thu Aug 4 15:15:18 EDT 2016 x86_64 Linux
/ #
Please advice.
alexus
(1026 rep)
Oct 12, 2016, 05:17 PM
• Last activity: Sep 30, 2022, 05:06 PM
17
votes
2
answers
16603
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 the details about those 3 errors? I tried the `--verbose` flag but result is same. These are the workarounds I thought would work: apk -sv fix `-s` (or `--simulate`) should sim...
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 the details about those 3 errors? I tried the
--verbose
flag but result is same.
These are the workarounds I thought would work:
apk -sv fix
-s
(or --simulate
) should simulate the fix without doing it and -v
(or --verbose
) should show more details but neither is working.
The result is:
# apk -sv fix
(1/3) Reinstalling fuse-common (3.2.6-r1)
(2/3) Reinstalling fuse-openrc (3.2.6-r1)
(3/3) Reinstalling xorgproto (2018.4-r0)
3 errors; 524 packages, 2845 dirs, 48016 files, 2002 MiB
But still no details, just a short summary. I wish to know what's wrong and I can't find any logs or something like that.
user1337
(423 rep)
May 4, 2019, 05:39 PM
• Last activity: Sep 30, 2022, 01:56 AM
Showing page 1 of 20 total questions