Received: from hekla.abc.se (hekla.abc.se [158.174.61.227]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 9B54C223708 for <~alpine/users@lists.alpinelinux.org>; Fri, 20 Feb 2026 20:36:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=default; bh=3PSDAt4jLa R1sdjMlUIe74EdJq8yC1P3UfJP7V16HlU=; h=in-reply-to:references:subject: cc:to:from:date; d=abc.se; b=LqwikwMUzimXCePVH7N6TZSjTkEQAVdd7UtQ97foU df4PUiNLLvlMXV8kAWYsFemNY6WQdOMtF5vh+QzfSG+1Vgumoxicbsjsvr7fxx1fkZie7g vdXm+hTrSY2KxwYbV8QZZC6eHZCTtQ7jPPGY7g8nGbgds/Jy6KOffvNW6+NPuqBr78yG+y jFo2q3BigcxezcGFbVu36a0DrSdzC30PCLIXavdq3rBr7/ZOK4u63Dc8jL8jpos2mJGsMd 3F12cfL3D76sJ1vLrmGvKuqGa3D8u9in8Q6YGANwnDVm4G0wzT2GpJopJvJ6nBb9HS8DD3 vhu5sda45qD2mypgrmtuQ== Received: from dolores.invalid (medsci-238-155.medsci.uu.se [130.238.238.155]) by hekla.abc.se (OpenSMTPD) with ESMTPSA id 6f6d7b4f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 20 Feb 2026 21:36:39 +0100 (CET) Date: Fri, 20 Feb 2026 21:36:37 +0100 From: Andreas =?utf-8?B?S8OkaMOkcmk=?= To: Achill Gilgenast Cc: ~alpine/users@lists.alpinelinux.org Subject: Re: Using repository tags ("@tag") with virtual packages Message-ID: Mail-Followup-To: Achill Gilgenast , ~alpine/users@lists.alpinelinux.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Feb 20, 2026 at 01:16:48PM +0100, Achill Gilgenast wrote: > Hey Andreas, > > On Fri Feb 20, 2026 at 11:22 AM CET, Andreas Kähäri wrote: > > Hi, > > > > A few months ago I asked this question on the "Unix & Linux" > > StackExchange site, but without getting a proper answer, other than > > a comment saying it's not possible. > > > > I'm posting it here to see whether anyone has had a similar issue, or > > knows of plans to support this in the future, or just in general has > > thoughts on the matter. It's not a critical issue for me. > > > > Assuming I have the following repository configuration: > > > > http://dl-cdn.alpinelinux.org/alpine/latest-stable/main > > http://dl-cdn.alpinelinux.org/alpine/latest-stable/community > > > > @edge http://dl-cdn.alpinelinux.org/alpine/edge/community > > @edge http://dl-cdn.alpinelinux.org/alpine/edge/testing > > > > Please not that this is _very_ unsupported and you _will_ get into > issues with this way. Mixing repositories with different Alpine versions > is unsupported: https://docs.alpinelinux.org/user-handbook/0.1a/Working/apk..html#_repositories_releases_and_mirrors I'm aware, but that's irrelevant here: % cat /etc/apk/repositories @thetag http://dl-cdn.alpinelinux.org/alpine/latest-stable/main % doas apk update v3.23.3-157-g9590e1cfbc1 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/main] OK: 5999 distinct packages available % doas apk add -t docker-all docker@thetag docker-doc@thetag ERROR: 'docker@thetag' is not a valid package dependency, format is name([<>~=]version) zsh: exit 99 doas apk add -t docker-all docker@thetag docker-doc@thetag > > > I usually want to install packages associated with each other under a > > common virtual package, e.g., > > > > apk add -t docker-all docker docker-doc docker-cli-compose > > > > This works fairly well, but it doesn't work if I want to use the @edge > > tag, as in, e.g., > > > > apk add -t docker-all docker@edge docker-doc@edge docker-cli-compose@edge > > > > This fails with: > > > > ERROR: 'docker@edge' is not a valid child dependency, format is name([<>~=]version) > > > > It would be nice if it were possible to use the tag in this context, as > > it would allow me to easily install a set of related packages from a > > tagged repository as a common virtual package. > > This is a known issue, because "virtual packages go to the package database as > locally generated packages. And package dependencies cannot have tags, because > tags are local configuration." Hmm. > See . Oh, well. -- Matti Andreas Kähäri Uppsala, Sweden .