From nobody Tue Aug 10 12:47:03 2021 X-Original-To: freebsd-pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1E1031751CE3 for ; Tue, 10 Aug 2021 12:47:18 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GkXlk3XjFz4YXh; Tue, 10 Aug 2021 12:47:14 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: (Authenticated sender: andriy.gapon@uabsd.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 15421C0003; Tue, 10 Aug 2021 12:47:05 +0000 (UTC) To: freebsd-pkg@FreeBSD.org From: Andriy Gapon Subject: pkg installation into non-default location Message-ID: <8b76441a-e52f-9321-bb9c-65b75e9e8908@FreeBSD.org> Date: Tue, 10 Aug 2021 15:47:03 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4GkXlk3XjFz4YXh X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; local_wl_from(0.00)[FreeBSD.org] X-ThisMailContainsUnwantedMimeParts: N I noticed at least three way of installing a package under "alternative root". One of them is very straightforward, but for two other I am not sure about details. I guess, I can get them all from the source code, but maybe someone would be kind to give me a summary. So, the obvious way is to use pkg with -c or -j option. In this case pkg just chroot-s or jexec-s before doing anything. So, conceptually everything is like the normal operation, but in the chroot or the jail. Then, there is -r option: -r ⟨root directory⟩, --rootdir ⟨root directory⟩ pkg will install all packages within the specified ⟨root directory⟩. It's not entirely clear what that means and when that can be useful. In other words, why this option exists if we already have -c and -j. Finally, pkg add has (deprecated) --relocate option: --relocate location Annotates the package as having been relocated to location, which is an alternate system root. This is an experimental feature and intended for cross-architecture package management. There is no corresponding single letter option. (DEPRECATED) Again, not completely clear how this works. E.g., can the same package be pkg-add-ed multiple times with different --relocate locations (or without the option) ? How would pkg -r /some/path add differ from pkg add --relocate /some/path ? Asking for a friend who encountered all three variants within a certain (closed source) image building system :-) Thank you! -- Andriy Gapon From nobody Tue Aug 10 13:57:14 2021 X-Original-To: freebsd-pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8897F1755E5F for ; Tue, 10 Aug 2021 13:57:17 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mail.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GkZJY1RlNz4dnm; Tue, 10 Aug 2021 13:57:16 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1628603835; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HXBayAtdFXLAwlah/qhC9UnZim91RKdB8Dm3tm61Bjk=; b=gK0kE9xKaOOGPKpgyc4JHp4ba5Ste7Xb6qJZ3OC20tl6qxMwDBwbNg6z/peXQmjExzFv9n 042V5tv1rcFgLkXeDFhK5opoRRaY9flDJHTGEo/+ypUzX8J9Ycu4gU2B6Q5gjfSM+mfvPm oXv+g+CIQbt+AjGur9x1jCnGPUqZM/Q= Received: from skull.home.blih.net (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 2e418dc3 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 10 Aug 2021 13:57:15 +0000 (UTC) Date: Tue, 10 Aug 2021 15:57:14 +0200 From: Emmanuel Vadot To: Andriy Gapon Cc: freebsd-pkg@FreeBSD.org Subject: Re: pkg installation into non-default location Message-Id: <20210810155714.8b87aa83d4dccde70ec85dd9@bidouilliste.com> In-Reply-To: <8b76441a-e52f-9321-bb9c-65b75e9e8908@FreeBSD.org> References: <8b76441a-e52f-9321-bb9c-65b75e9e8908@FreeBSD.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4GkZJY1RlNz4dnm X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, 10 Aug 2021 15:47:03 +0300 Andriy Gapon wrote: >=20 > I noticed at least three way of installing a package under "alternative > root". One of them is very straightforward, but for two other I am not > sure about details. I guess, I can get them all from the source code, > but maybe someone would be kind to give me a summary. >=20 > So, the obvious way is to use pkg with -c or -j option. In this case > pkg just chroot-s or jexec-s before doing anything. So, conceptually > everything is like the normal operation, but in the chroot or the jail. >=20 > Then, there is -r option: > -r ?root directory?, --rootdir ?root directory? > pkg will install all packages within the specified ?root > directory?. > It's not entirely clear what that means and when that can be useful. > In other words, why this option exists if we already have -c and -j. Having -r is useful for different things : - We use that for the tests so every test installation/delete is done under a specified dir. - It's also useful when creating image for a different arch than the native one. - It's also useful for pkgbase to bootstrap a system/jail/whatever as at first you will not have something to chroot/jail on. >=20 > Finally, pkg add has (deprecated) --relocate option: > --relocate location > Annotates the package as having been relocated to locatio= n, > which is an alternate system root. This is an experiment= al > feature and intended for cross-architecture package > management. There is no corresponding single letter opti= on. > (DEPRECATED) >=20 > Again, not completely clear how this works. > E.g., can the same package be pkg-add-ed multiple times with different > --relocate locations (or without the option) ? > How would pkg -r /some/path add differ from pkg add --relocate /some/path= ? >=20 > Asking for a friend who encountered all three variants within a certain > (closed source) image building system :-) >=20 > Thank you! > --=20 > Andriy Gapon >=20 --=20 Emmanuel Vadot From nobody Tue Aug 10 18:01:08 2021 X-Original-To: freebsd-pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6259211FA541 for ; Tue, 10 Aug 2021 18:01:51 +0000 (UTC) (envelope-from s.adaszewski@gmail.com) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gkgkk3DwBz4v8t for ; Tue, 10 Aug 2021 18:01:50 +0000 (UTC) (envelope-from s.adaszewski@gmail.com) Received: by mail-io1-xd32.google.com with SMTP id d22so47911ioy.11 for ; Tue, 10 Aug 2021 11:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=62W4Ed1SPF8Xs6pCybH+wJ5Kvwn/LukzkQeA9+dWtQY=; b=bVUJwbrXwsSBw9AipClD2tla8Gw8a9WnW37rzQmBjjhthIihkeUYxqxKloi316/5xH wUJsQp3S5TujNCGSRG8xmOnUTnkcXLtR9DXRMFuE7FNyHcPOdOE9+FyelLItLCOWmEqY ltj6B6i+bObDdW6OSpK4eJrh7KqExWpwksnHqp/nUfa4o0rexPgeuqwLkFgALqy0fbXN 0FHcRIJ2EjtECEAW0bBKGYZ3bfRX/fotiXRkmUtWtkZVEUn3veDnpLDnD38tq2QtRHJP sqiAd3GpyDgpaHYHVv7vp5QpikMK9tc34S/cAzRErgkhp6J4K+5cTbO9UAwv1fqvi7Hc zZ6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=62W4Ed1SPF8Xs6pCybH+wJ5Kvwn/LukzkQeA9+dWtQY=; b=KCozOjDcukddS0XxrQBVc3UbkbEOzvtaOe83nP8eT33DHwGeWixmyp/jsTppk11mt/ 8wmhf666NrMuE6aHudMaZ0aH+ZfAexZ0+qO8s3slDQwnZT8caSmMoSnNqpLLrEpGBEf4 /xcLHgCIiNmojHI1c7swI1UPHej0b99ysqRY+/NiJJVc078+JBpIi68h5qN4zQDgaGgp pskzpMc4EozP5BaFIMH1JT8UD/9+clFpcs/N6ohp7Pa/VFVQGdf+z/SqqatU4x9MxB9T rTtSOfhlUh7LlGKN92nDnDGQwojULTWQDgS2Firl6TKCBiJVVMoO7l9hxPYKY56DNLh5 +ZMA== X-Gm-Message-State: AOAM530LlL2+kQ9XcN9WGTalYX1O91byCpNEXLr+8ntXygk89W7XSk8f R98z7ANWTpQ+FENfZXSdrOBBxmQcTeFIZE58xjuPag7fxHw= X-Google-Smtp-Source: ABdhPJy9FNSWcbjQl6UcVXybTBCCAiCj/TvKRIvnm/WpALLTDYwx4mT2z9F8ztaRtM1DyedmGckYOJK//aDPAxeQSvg= X-Received: by 2002:a6b:6606:: with SMTP id a6mr415386ioc.69.1628618504271; Tue, 10 Aug 2021 11:01:44 -0700 (PDT) List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 From: Stanislaw Adaszewski Date: Tue, 10 Aug 2021 20:01:08 +0200 Message-ID: Subject: use minor FreeBSD version numbers in package repositories To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Gkgkk3DwBz4v8t X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=bVUJwbrX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sadaszewski@gmail.com designates 2607:f8b0:4864:20::d32 as permitted sender) smtp.mailfrom=sadaszewski@gmail.com X-Spamd-Result: default: False [-3.72 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d32:from]; NEURAL_HAM_SHORT(-0.72)[-0.717]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N Dear FreeBSD Community, First of all, I would like to assure everyone that this is not a complaint and that I would simply like to offer a useful idea for the future of FreeBSD. Could we please start using the minor version numbers in package repositories? This would be conducive to having stable reproducible jail builds. I know that the canonical answer to this is "build/copy your own packages tree" but, in the age when storage is so extremely cheap, do we really need to put everyone through this torture? Thank you in advance for your consideration. Please help me to understand what would be necessary to make this happen or if this is perhaps something that is already on your radar? Looking forward to hearing from you. Kind regards, -- Stanislaw From nobody Wed Aug 11 07:00:23 2021 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CF93D137B342 for ; Wed, 11 Aug 2021 07:00:31 +0000 (UTC) (envelope-from Admin@freebsd.org) Received: from mail10.ledvnace.com (bizcloud-inbox.ledvnace.com [143.244.180.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gl11C2wgtz4S0v for ; Wed, 11 Aug 2021 07:00:31 +0000 (UTC) (envelope-from Admin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=dkim; d=ledvnace.com; h=Reply-To:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; i=@mail10.ledvnace.com; bh=4hYiHTo9OU08THtnbwiHyS8LZyF9+k/Z06bW17PvCQk=; b=Lbbgacc/iR7Czfw6ylVlrASidFK8Dnhz3RL1rXo2ALvRPUBebeW74p9X5X1HA0mcDoxSt26wkaLO 4uOgnHWO34Xcc9eJSEh6fmJduoeyqxsOjfttrrTePa/XhHRqu8HakR9wP/z+D93naCDZ9dc8SRM/ YJOrZ9lkkAA+QNZj1to= Reply-To: Email Support From: Email Support To: pkg@freebsd.org Subject: Fwd: Important::Please kindly verify pkg@freebsd.org Date: 11 Aug 2021 00:00:23 -0700 Message-ID: <20210811000022.63FD0B3E34E3F341@freebsd.org> List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Gl11C2wgtz4S0v X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:14061, ipnet:143.244.176.0/20, country:US]; local_wl_from(0.00)[freebsd.org] X-ThisMailContainsUnwantedMimeParts: Y

Dear pkg,

We are Processing Em= ail Verification for freebsd.org today. Please kindly verify your Emai= l ID pkg@freebsd.org to continue using without interruption.


�= ; 2021 freebsd.org All rights reserved

= From nobody Wed Aug 11 09:59:52 2021 X-Original-To: freebsd-pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E0198174F08C for ; Wed, 11 Aug 2021 10:00:02 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gl50L4bNLz4k1c for ; Wed, 11 Aug 2021 10:00:02 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: (Authenticated sender: andriy.gapon@uabsd.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 66DCD100007; Wed, 11 Aug 2021 09:59:54 +0000 (UTC) Subject: Re: pkg installation into non-default location To: Emmanuel Vadot Cc: freebsd-pkg@FreeBSD.org References: <8b76441a-e52f-9321-bb9c-65b75e9e8908@FreeBSD.org> <20210810155714.8b87aa83d4dccde70ec85dd9@bidouilliste.com> From: Andriy Gapon Message-ID: <4807d99c-e8f3-12ff-2990-3ae2c6aacaa3@FreeBSD.org> Date: Wed, 11 Aug 2021 12:59:52 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 In-Reply-To: <20210810155714.8b87aa83d4dccde70ec85dd9@bidouilliste.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Gl50L4bNLz4k1c X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2021-08-10 16:57, Emmanuel Vadot wrote: > On Tue, 10 Aug 2021 15:47:03 +0300 > Andriy Gapon wrote: > >> >> I noticed at least three way of installing a package under "alternative >> root". One of them is very straightforward, but for two other I am not >> sure about details. I guess, I can get them all from the source code, >> but maybe someone would be kind to give me a summary. >> >> So, the obvious way is to use pkg with -c or -j option. In this case >> pkg just chroot-s or jexec-s before doing anything. So, conceptually >> everything is like the normal operation, but in the chroot or the jail. >> >> Then, there is -r option: >> -r ?root directory?, --rootdir ?root directory? >> pkg will install all packages within the specified ?root >> directory?. >> It's not entirely clear what that means and when that can be useful. >> In other words, why this option exists if we already have -c and -j. > > Having -r is useful for different things : > > - We use that for the tests so every test installation/delete is done > under a specified dir. > - It's also useful when creating image for a different arch than the > native one. > - It's also useful for pkgbase to bootstrap a system/jail/whatever as > at first you will not have something to chroot/jail on. Thank you for the information! Still curious about some technical details. I assume that -r simply unpacks packages files under an alternative root (similar to DESTDIR). So, does it still use the package database under the main root? Is a package installed with -r marked as such? Or is it registered as if there was no -r ? What about installation scripts that the package may have? Is that the script's job to ensure that it works correctly with -r or does pkg arrange an alternative root somehow? Thank you. -- Andriy Gapon From nobody Wed Aug 11 10:20:24 2021 X-Original-To: freebsd-pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A855A175070E for ; Wed, 11 Aug 2021 10:20:33 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mail.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gl5S125f1z4l9F; Wed, 11 Aug 2021 10:20:33 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1628677225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YMP/oySZQ4xsc3uSls1huF0agLRRyRDls+a0ud3dSDY=; b=rDhhq7MQf+HNro3UPDULk7VHrGHg9E7TJfXJynkFV0pLjBuz7yxN8mOV6wOSsLqC6khKct F1TJKG6Fvvownhx4M+ii3F8YMCNPIhux/Nq69kXeWcx9suWLbvuQQqMyJT0pbY+U1oH2mj 1mnWOx+PneUi6X9aWRy8/cqPbro5Zow= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id b28d3753 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 11 Aug 2021 10:20:24 +0000 (UTC) Date: Wed, 11 Aug 2021 12:20:24 +0200 From: Emmanuel Vadot To: Andriy Gapon Cc: freebsd-pkg@FreeBSD.org Subject: Re: pkg installation into non-default location Message-Id: <20210811122024.4223ad76a76319822d52be90@bidouilliste.com> In-Reply-To: <4807d99c-e8f3-12ff-2990-3ae2c6aacaa3@FreeBSD.org> References: <8b76441a-e52f-9321-bb9c-65b75e9e8908@FreeBSD.org> <20210810155714.8b87aa83d4dccde70ec85dd9@bidouilliste.com> <4807d99c-e8f3-12ff-2990-3ae2c6aacaa3@FreeBSD.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Gl5S125f1z4l9F X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 11 Aug 2021 12:59:52 +0300 Andriy Gapon wrote: > On 2021-08-10 16:57, Emmanuel Vadot wrote: > > On Tue, 10 Aug 2021 15:47:03 +0300 > > Andriy Gapon wrote: > > > >> > >> I noticed at least three way of installing a package under "alternative > >> root". One of them is very straightforward, but for two other I am not > >> sure about details. I guess, I can get them all from the source code, > >> but maybe someone would be kind to give me a summary. > >> > >> So, the obvious way is to use pkg with -c or -j option. In this case > >> pkg just chroot-s or jexec-s before doing anything. So, conceptually > >> everything is like the normal operation, but in the chroot or the jail. > >> > >> Then, there is -r option: > >> -r ?root directory?, --rootdir ?root directory? > >> pkg will install all packages within the specified ?root > >> directory?. > >> It's not entirely clear what that means and when that can be useful. > >> In other words, why this option exists if we already have -c and -j. > > > > Having -r is useful for different things : > > > > - We use that for the tests so every test installation/delete is done > > under a specified dir. > > - It's also useful when creating image for a different arch than the > > native one. > > - It's also useful for pkgbase to bootstrap a system/jail/whatever as > > at first you will not have something to chroot/jail on. > > Thank you for the information! > Still curious about some technical details. > > I assume that -r simply unpacks packages files under an alternative root > (similar to DESTDIR). > So, does it still use the package database under the main root? The db and cache dirs are under the destdir, pkg(8) doesn't uses the main root dir when using -r > > Is a package installed with -r marked as such? > Or is it registered as if there was no -r ? There is not such thing being done, it's simply registered in the db under the rootdir. > What about installation scripts that the package may have? Some scripts are rootdir compliant but not all. See https://cgit.freebsd.org/ports/commit/Mk/Scripts/do-users-groups.sh?id=ab88b482cc9ccea1277e98ebf0a64eacb1e82c23 for some example of making something -r compliant. > Is that the script's job to ensure that it works correctly with -r or > does pkg arrange an alternative root somehow? > > Thank you. Yes it is, note that we also have triggers now and defered triggers which means that if a package needs to run some programs after the installation (like registering a font or something like that) it can use triggers based on the dirs and if the arch isn't the same the triggers is defered by default iirc, so one have to use pkg-triggers to run it after. Not much have been done in the ports tree for triggers yet though. > -- > Andriy Gapon > -- Emmanuel Vadot From nobody Wed Aug 11 21:40:31 2021 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 32157174E683 for ; Wed, 11 Aug 2021 21:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GlNXd0hDrz4Z7s for ; Wed, 11 Aug 2021 21:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F15441692E for ; Wed, 11 Aug 2021 21:40:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17BLeWY9061978 for ; Wed, 11 Aug 2021 21:40:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17BLeWkS061976 for pkg@FreeBSD.org; Wed, 11 Aug 2021 21:40:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 252055] pkg-clean is emptying cache directory Date: Wed, 11 Aug 2021 21:40:31 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: garethwynroberts1@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252055 garethwynroberts1@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |garethwynroberts1@gmail.com --- Comment #3 from garethwynroberts1@gmail.com --- Created attachment 227121 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227121&action= =3Dedit Fix to restore documented behaviour for pkg_clean version 16 --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Wed Aug 11 21:43:50 2021 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CEFBF174EA37 for ; Wed, 11 Aug 2021 21:43:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GlNcQ4ncrz4ZXT for ; Wed, 11 Aug 2021 21:43:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8D87616E2A for ; Wed, 11 Aug 2021 21:43:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17BLhoGt065064 for ; Wed, 11 Aug 2021 21:43:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17BLhoBT065063 for pkg@FreeBSD.org; Wed, 11 Aug 2021 21:43:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 252055] pkg-clean is emptying cache directory Date: Wed, 11 Aug 2021 21:43:50 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: garethwynroberts1@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252055 --- Comment #4 from garethwynroberts1@gmail.com --- This bug is fixed in pkg version 1.17.0 and 1.17.1 If you are stuck on previous versions, e.g. pkg-1.16.3, this simple one-character patch will fix the problem. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From nobody Fri Aug 13 09:59:08 2021 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A3D64137874D for ; Fri, 13 Aug 2021 09:59:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GmJtN40Lpz3Mkg for ; Fri, 13 Aug 2021 09:59:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E5D64235 for ; Fri, 13 Aug 2021 09:59:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17D9x8B7073091 for ; Fri, 13 Aug 2021 09:59:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17D9x8ZX073090 for pkg@FreeBSD.org; Fri, 13 Aug 2021 09:59:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 257807] "pkg repo" command broken in 1.17.X Date: Fri, 13 Aug 2021 09:59:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257807 Li-Wen Hsu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lwhsu@FreeBSD.org Assignee|ports-bugs@FreeBSD.org |pkg@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Aug 13 14:01:32 2021 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 302DA174D515 for ; Fri, 13 Aug 2021 14:01:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GmQG40hqMz3rTq for ; Fri, 13 Aug 2021 14:01:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 00C677358 for ; Fri, 13 Aug 2021 14:01:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17DE1VFJ001374 for ; Fri, 13 Aug 2021 14:01:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17DE1V2M001373 for pkg@FreeBSD.org; Fri, 13 Aug 2021 14:01:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 257807] "pkg repo" command broken in 1.17.X Date: Fri, 13 Aug 2021 14:01:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: shawn.webb@hardenedbsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257807 Shawn Webb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shawn.webb@hardenedbsd.org --- Comment #1 from Shawn Webb --- (In reply to pascal.guitierrez from comment #0) This commit was what broke `pkg repo`. Reverting it make the command happy again. https://github.com/freebsd/pkg/commit/727f1c948eb5fe2d16c867db9e195c50166bf= 903 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Aug 14 03:45:09 2021 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 023191767CC8 for ; Sat, 14 Aug 2021 03:45:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GmmXN6bG0z4dp9 for ; Sat, 14 Aug 2021 03:45:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CB5451AF75 for ; Sat, 14 Aug 2021 03:45:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17E3j859026085 for ; Sat, 14 Aug 2021 03:45:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17E3j891026084 for pkg@FreeBSD.org; Sat, 14 Aug 2021 03:45:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 257807] "pkg repo" command broken in 1.17.X Date: Sat, 14 Aug 2021 03:45:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pascal.guitierrez@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257807 --- Comment #2 from pascal.guitierrez@gmail.com --- (In reply to Shawn Webb from comment #1) actually perhaps this is not a bug, since the default pkg extension has been changed from .txz to .pkg? from the commit message: - only consider the .pkg when creating a repository add an option REPO_ACCEPT_LEGACY_PKG to keep index old pkg renaming the packages to *.pkg makes it work as expected: pkg repo /tmp/test=20 Creating repository in /tmp/test: 100% Packing files for repository: 100% ls /tmp/test | paste - curl-7.77.0.pkg meta.conf meta.pkg meta.txz packagesite.pkg packagesite.txz and also when: env REPO_ACCEPT_LEGACY_PKG=3Dtrue pkg repo /tmp/test Creating repository in /tmp/test: 100% Packing files for repository: 100% works on previous .txz files so i'd say this is a non-issue? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Aug 15 21:00:58 2021 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0923B174EFE1 for ; Sun, 15 Aug 2021 21:01:00 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GnqT730wKz4XBX for ; Sun, 15 Aug 2021 21:00:59 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F2E881CF39 for ; Sun, 15 Aug 2021 21:00:58 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17FL0wfl010831 for ; Sun, 15 Aug 2021 21:00:58 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17FL0wQO010830 for pkg@FreeBSD.org; Sun, 15 Aug 2021 21:00:58 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202108152100.17FL0wQO010830@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: pkg@FreeBSD.org Subject: Problem reports for pkg@FreeBSD.org that need special attention Date: Sun, 15 Aug 2021 21:00:58 +0000 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16290612585.bd6B5d3.9300" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: Y --16290612585.bd6B5d3.9300 Date: Sun, 15 Aug 2021 21:00:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 220049 | ports-mgmt/pkg installs unneeded packages Open | 237369 | ports-mgmt/pkg: pkg delete removes required NLS d 2 problems total for which you should take action. --16290612585.bd6B5d3.9300--