~sircmpwn/alpine-devel (mirror)

Re: Can't recognize local repository

Details
Message ID
<D8GAJ32U7OXL.L02OS169KE0R@posteo.net>
Sender timestamp
1741986083
DKIM signature
pass
Download raw message
On Fri Mar 14, 2025 at 9:31 PM CET, Jim Pryor wrote:
> I have an issue where `apk` can't see a local repository. I have an
> unprivileged user who created some packages, created an APKINDEX file and
> signed the index. That user's public key is installed in `/etc/apk/keys`.
> The unprivileged user and root both belong to the `abuild` group. As best I
> can tell, the permissions on the repository, index, and package files look
> correct. But when I do `apk update` I get a message that the
> repository `/var/lib/packages` can't be found. Any ideas?
>
>
> main0:~# ls -l /var/lib/packages/
>
> total 532
>
> -rw-r--r--    1 bob      abuild        1786 Mar 14 16:21 APKINDEX.tar.gz
>
> -rw-r--r--    1 bob      abuild      314101 Mar 14 15:27
> micropython-1.24.1-r1.apk
>
> -rw-r--r--    1 bob      abuild      157669 Mar 14 15:27
> micropython-cross-1.24.1-r1.apk
>
> -rw-r--r--    1 bob      abuild       63295 Mar 14 15:27
> micropython-doc-1.24.1-r1.apk
>

The path of the repository contains the arch. So you need to place the
files in /var/lib/packages/armv7.
Reply to thread Export thread (mbox)