Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id A243A780FAC for <~alpine/apk-tools@lists.alpinelinux.org>; Sun, 16 Feb 2020 23:20:05 +0000 (UTC) Received: by mail-pg1-f176.google.com with SMTP id b9so7916622pgk.12 for <~alpine/apk-tools@lists.alpinelinux.org>; Sun, 16 Feb 2020 15:20:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chave-us.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OWeoQFXSzPxLVzcJtOROUt30xYhZkLs9r5IjR3bzMx8=; b=KG9yABT+wxCtr1QqcyJ+5PRoKMLi/eHMQ09347iw/95GoiSdzSCbBuk6YqXa3jOkXh WMwZuQqWLf/SLDXRzG+UVpC7IS4A/95pQl4xZR73tHfG9ipE3Lp9t3tfaHVccQ9Yrw4/ dNCtNK8sI6bNewSgNEWxRosRwBLpaMLKB93sGEu6KnP1hxU4+r4JySMvCmTvWBrzXnw/ u62JaX+VcIU5K2Ip1wCAGJifNc6Kc1KsUiyDpRBekKtDMVH1AiZ4Ah9ZpzyIx0bTLPQa 72tvuH0usJ+LwQeN/AQ3UXfE5QOLwUWYwn7bBd2dw3EkH0oe4q/Y0bj/hO/5BKVNh7Ns OfjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OWeoQFXSzPxLVzcJtOROUt30xYhZkLs9r5IjR3bzMx8=; b=NOUE+TKyD0QNUal8jzzW8M9C4Fmj/F6GrYtscvpaXhhveNp4gyYWLCUbNi39xuN6Xp GnSbNMkojf5aZEUWfJVdO+XWapNoiuLoiFfiESXVT4IB9zIptMXDSQ+L3Eeq7xn0piSA 9I4XCcfaXf5LvvWsIwN/9fbCZ81dqHOV92eB9bjPVtrmUg3PzFigYVVUJrQ8cHT4EDYC HHYflaLyhWkb57TZpZJ4UIQR6fdLH5Cwjmtw6ljWuaxthiwLTCU3KXpiD35KY4shlzZz mwqG6sCy+u5L/omeccI4UdYMAriFZRKcwFkfoIzsgnEoxHL9s4jbKb4lboJuZnzuGv8f dZjg== X-Gm-Message-State: APjAAAUss6hoQ1DXNfzAOpPJHwn2TVUfBqFgqmAPdort0heYKOXETiSk 4VNs73Z6xSYqC9iEdzr6CepCy20rlbasYRckthWPlw== X-Google-Smtp-Source: APXvYqyM4wdZNM4Tdh8chJo4z0Mu4Jrls7An0BoZoaXkcXA2JRktlstp2K7qZWA4A9vb+1Z1DF0LuzJbJ8jNhOUo+fk= X-Received: by 2002:aa7:8299:: with SMTP id s25mr13516655pfm.261.1581895203780; Sun, 16 Feb 2020 15:20:03 -0800 (PST) MIME-Version: 1.0 References: <20200214105215.6873e402@vostro.wlan> <62f21c96-ff43-83e4-5b7f-2e65e6d72729@adelielinux.org> In-Reply-To: <62f21c96-ff43-83e4-5b7f-2e65e6d72729@adelielinux.org> From: Carl Chave Date: Sun, 16 Feb 2020 18:19:52 -0500 Message-ID: Subject: Re: APK Package Name Issue on armel port To: "A. Wilcox" Cc: ~alpine/apk-tools@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" > It sounds like you may be missing an /etc/apk/repositories file. > > If not, maybe you are using HTTPS and the date is not set properly. > This could cause a certificate validation failure, and then apk would > ignore the repository. The repositories file exists and it's been my experience that you don't even need any entries in it for apk to function for and return information for commands like "apk info" as long as you pass it a name of a package that's already installed, I believe it returns information found in /lib/apk/db/installed. For example in a working chroot with only alpine-base in /etc/apk/world I get: sodpro:~# apk add OK: 8 MiB in 20 packages sodpro:~# apk info musl musl-1.1.24-r0 description: the musl c library (libc) implementation musl-1.1.24-r0 webpage: http://www.musl-libc.org/ musl-1.1.24-r0 installed size: 643072 Note that "apk add" with no arguments returns the number of installed packages and "apk info musl" returns information about musl, on of the installed packages. The repositories file has only one local filesystem entry (there are no official armel repos) and that entry is commented out and the repo is not even mounted. On the system that's not working, which is actually booting from a tar'd image of the chroot above, this is what I get with the same commands. Note that I have to add a wildcard to "apk info musl*" to get output from the command: localhost:/# apk add ERROR: unsatisfiable constraints: alpine-base (missing): required by: world[alpine-base] localhost:/# apk info musl localhost:/# apk info musl* musl-1.1.24-r0 description: the musl c library (libc) implementation musl-1.1.24-r0 webpage: http://www.musl-libc.org/ musl-1.1.24-r0 installed size: 643072 musl-utils-1.1.24-r0 description: the musl c library (libc) implementation musl-utils-1.1.24-r0 webpage: http://www.musl-libc.org/ musl-utils-1.1.24-r0 installed size: 110592 Carl