Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id ECF1622601E for <~alpine/devel@lists.alpinelinux.org>; Fri, 14 Mar 2025 21:01:25 +0000 (UTC) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 60FB6240027 for <~alpine/devel@lists.alpinelinux.org>; Fri, 14 Mar 2025 22:01:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1741986084; bh=/kFrtRn3XLwhnlvMaOjphg46o0Tm134C3CKHhKc31k8=; h=Mime-Version:Content-Transfer-Encoding:Content-Type:Date: Message-Id:From:To:Subject:From; b=Ryy9xz31QWhAnM9cauhg9LCCCOPegqueQoin5b1sAS0eGWaltA2DI+zYnrWSDBSEH MYOHl9K/PnipjtF2s+jhHOYPbaHgDJDzcD7IhOgtCi9wCjd646oCHYnM2U4Z2Mnuxk 309vaNOUYZzRybdjp9agbqzb1YB/lAd1fc03EQJHd3hLlaHN60mT28rAm6MxK+PDUM VHu534BZc5wL+5hr3WBfuZw7LP6AAvFwdJm4XFYMYftfn64RfnnmieOPpTZZZH4rgJ XgbKxDTQNoIAlStpd3LcWExoTalIacedRclAwcZqakPJbv/3989bCiGUmZPR7ayXB1 RBpWIH/wEY8aQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZDxcM5Cc6z9rxM; Fri, 14 Mar 2025 22:01:23 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 14 Mar 2025 21:01:23 +0000 Message-Id: From: "Sertonix" To: "Jim Pryor" , <~alpine/devel@lists.alpinelinux.org> Subject: Re: Can't recognize local repository References: In-Reply-To: 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 loo= k > 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.