From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cEd/KIMYUWDPRQAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 20:43:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6Mw/JIMYUWDucAAAB5/wlQ (envelope-from ) for ; Tue, 16 Mar 2021 20:43:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 02606223B9 for ; Tue, 16 Mar 2021 21:43:47 +0100 (CET) Received: from localhost ([::1]:39722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMGXa-0001PT-4L for larch@yhetil.org; Tue, 16 Mar 2021 16:43:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMGXN-0001On-Hu for help-guix@gnu.org; Tue, 16 Mar 2021 16:43:33 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:46963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMGXJ-00057v-LH for help-guix@gnu.org; Tue, 16 Mar 2021 16:43:33 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id AF73B5C00DD; Tue, 16 Mar 2021 16:43:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 16 Mar 2021 16:43:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=0wac43m+qPgbY5pijQUrA1gL 6j9J3imznbIocbtX+YE=; b=WnLwR1NUfrCY5oEMeVku5/qdPIbSotSfxsGYwKDV 8nN2xWzRaXHkXkDHrqPhaeF+70hIMwtC+TVWumj6aTPuvvTq38hEGxoWbAxehQJR o2GwYvoNHZ+n1hFRrOasnf5Gvuf3ywfHQWDCuyO+44toA5Sn5NxF5m/Jle8jX4kk tnw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=0wac43 m+qPgbY5pijQUrA1gL6j9J3imznbIocbtX+YE=; b=pPQCJs9EoXP8wj7UJ7hIbb F2KQVXV62Bf/pLJIkfxXetJJ0YcTiqE+NwWlIpgkFyfDPURvyxjlwDAKv4v3LrJY AwxzhofxgmWyVXV9cy2EwYMElLpo+qeyqm1ik+AwMi9M5iGfiUxrfS4ONWJGhJxw J+TGSyryXQMoDf1sgrwUAKjF47P8qxZDtXinm72DPw5wh7KsWh6gqS/e1L6sxS+c lcnmbXF0vOWkg8CEVxyXSVd2EDoBS1rsuGHAubTwCtw3Xu0yBJ+erBIuycRMUXNX upAfeUs62GRhx4GBynQkUIFVBsn898Qo55Of/MKKO/5T6dTi/+/EHT+ytAv6z8UQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefvddgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheff vefgnecukfhppedutddtrdduuddrudeiledruddukeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 570D224005A; Tue, 16 Mar 2021 16:43:26 -0400 (EDT) Date: Tue, 16 Mar 2021 16:43:24 -0400 From: Leo Famulari To: Andy Tai Subject: Re: two questions on guix upgrade Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=66.111.4.29; envelope-from=leo@famulari.name; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615927427; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0wac43m+qPgbY5pijQUrA1gL6j9J3imznbIocbtX+YE=; b=Wi6oMdpy5darZ3hmXKZhOhPpCIewarGEuRbmDG5Lxr7QN4lxmOVi5VTNCfe1w8rRvUPCZU W/5GL5ieAYXopjyYaxuoVbPbXXO7Wb33KuQRn6Hs1JyjBNNyb8T3fV9GNnu4eu7bDANBMv IZ5gCNnln3hkeAJvvTEwhXceRrgV7CHgerg85I3fe0IndUzORaimQaxOBtiig1QTa24vIN AhHSRBBjSgQNPxGEB2Q8zbeB/GuvxKoDrNRDHKwdrTUT1u7wcth9SYUWSIAJXTr04KGyTo IhdWdV6gms1vhiWIxMjo0SO4LZlh7L1s5G/h/+HbE7OZnTvVmZO2j/Sw1Q3BrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615927427; a=rsa-sha256; cv=none; b=bJyOosRWJVh7at53rmyEY0AHrAamFip3Uc06w8d2EM9UDP89snFrgiyeAeCJDir//SqrL+ AL05iKJ2A1V44V+EYWPflv+MxkpvL1Gd+BzbTPpFVGyHAE0ljFGaKBa3fcWcLyfbfclzIe OWY1Laz2s/7xHt8k4fsevBNve1bDu2u9FNklgq9G1iteSzJRNjgBR0Q4gavTW8XAK/U0Kz C7cjEQQhhGYOCD/X0b4zFsbG6Qu0tCJ+glqijrKJIwWAA+HtqLDcFypM/InM0/HRqlVkP1 RTnKWOQcFPHYPpFFx69+GqZGHZVjs1ffBQ8GTMmKsByYK9JX33AZlkRE4/HWxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b=WnLwR1NU; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=pPQCJs9E; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.60 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b=WnLwR1NU; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=pPQCJs9E; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 02606223B9 X-Spam-Score: -2.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: LpOKUYUSgkWA On Tue, Mar 16, 2021 at 12:47:33PM -0700, Andy Tai wrote: > 1. Is there a way to tolerate errors in single package upgrade and keep the > others going? right now I have opencv installed and opencv build now is > broken, so if I do the above command as is the whole 'package -u' command > would fail unless I explicitly exclude opencv from the update step. You can use the --keep-going or --do-not-upgrade options, depending on your needs. > 2. is there a way to exclude packages that require local build? I use a VM > with just 4 Gb of RAM running the guix distribution and the above command > may fail when upgrading and certain packages with no substitutes yet > available would be build locally and because of the low amount of RAM the > build steps would fail, again making the whole command fail. It would be > ideal to have an option to just skip packages that would be built locally. No, sorry, this isn't possible (yet?). Guix is a build-from-source distro with transparent substitution of precompiled binaries, so it's not simple to "only substitute". You can use the `guix weather` command to check in advance which substitute are available, and then use --do-not-upgrade accordingly.