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 u2O0NZPlMl/OPgAA0tVLHw (envelope-from ) for ; Tue, 11 Aug 2020 18:38:11 +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 8NlHL5PlMl8JJQAAB5/wlQ (envelope-from ) for ; Tue, 11 Aug 2020 18:38:11 +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 331EA9403EC for ; Tue, 11 Aug 2020 18:38:11 +0000 (UTC) Received: from localhost ([::1]:33310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5ZA1-00061w-0P for larch@yhetil.org; Tue, 11 Aug 2020 14:38:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5Z9u-00061q-AY for bug-guix@gnu.org; Tue, 11 Aug 2020 14:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k5Z9u-0007wl-14 for bug-guix@gnu.org; Tue, 11 Aug 2020 14:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k5Z9t-00047a-RA for bug-guix@gnu.org; Tue, 11 Aug 2020 14:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42814: request: make guix upgrade recognize --do-not-upgrade Resent-From: Jesse Gibbons Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 11 Aug 2020 18:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42814 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42814@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159717103915789 (code B ref -1); Tue, 11 Aug 2020 18:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Aug 2020 18:37:19 +0000 Received: from localhost ([127.0.0.1]:41679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Z9D-00046b-C0 for submit@debbugs.gnu.org; Tue, 11 Aug 2020 14:37:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:35554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Z9A-00046S-AL for submit@debbugs.gnu.org; Tue, 11 Aug 2020 14:37:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5Z9A-0005tv-3F for bug-guix@gnu.org; Tue, 11 Aug 2020 14:37:16 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:34251) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k5Z98-0007np-6f for bug-guix@gnu.org; Tue, 11 Aug 2020 14:37:15 -0400 Received: by mail-pf1-x42c.google.com with SMTP id m71so7689835pfd.1 for ; Tue, 11 Aug 2020 11:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=zdv2Lcdcme1Y1ED926r+LVZyDEsP+Xc4Y0Gns8pzHek=; b=LOE+bL5BpjHGNFlw2xE4Cr2AmLgIU8gIUBUpKOD7w9+ZCAMYx80Shgk5LGimQlvvlk TShkMTh5MGTQFFd3taWN/Pj7UAa2NzdWLmkk0qmybW7hiRQvt+V43AqEHBWgDTPBG6AD 7D3XoTejiD7tKz7w3QFxZIRhet+y7BfYDpm4PSOTCMAWULbg3zBZA0wFClEXKC0juD6r EIjvR8W9pqDfTQ6RJjLPwNE6vWZHKLjDVrxLYf7/i+wgRoN+tRMgJqzsSG/G4p2DfKg7 EZ5s+Rdfyb/+TD3NeGVJNX8yP9mRHRGfNobCPBpXTe9qV37gzTtPXjYbp2Ho2FynvpUn Nz8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=zdv2Lcdcme1Y1ED926r+LVZyDEsP+Xc4Y0Gns8pzHek=; b=Z0bAEIWScqU1YVrCMKOM7snVIG+N+Nkv046kHZYQdx5sgRHbyzk4YjMyRHO8mvi9PT mVNd3OHXGLutrJW7tiX0etF1XfHUS2dgEiAu4omGY0CTiENLQdIK+HSQK9OLqcF3xIcl Weuwig1jKVuUMl75+iG7GhWsmZGhP/gdNuHaqHiM7rJBAKE3DdlpjgOBYeyTmC62fcsm MT168a2TxBpxQwBGTUEafYXkLJOrYpx+42t+sjSpqAkjIvobNPvdeYj42ex/lshlgdfW Ckc3wZivjw2xG/wRSy6dmuWv18aHoVO2Ev/xrgKZmxTPb43J9xIrN0MJ5d63SzKPwqYs adzw== X-Gm-Message-State: AOAM532iuwvFeCl4FLYROQ9Wxxk0q6BX760jdYDiGz1X/N6W+KcJln3L 74Ic8jUgNGGXHdRlrdQedSB0+qZI X-Google-Smtp-Source: ABdhPJznCIfEi6JcMqxY5EC2rudSFoOLgvJHkqTKUJyec9e/zyebQzuX6HBABM5TAcge0YEGBEv1tA== X-Received: by 2002:aa7:8514:: with SMTP id v20mr7674588pfn.18.1597171028467; Tue, 11 Aug 2020 11:37:08 -0700 (PDT) Received: from [192.168.1.25] ([38.141.58.134]) by smtp.gmail.com with ESMTPSA id s18sm7586083pgj.3.2020.08.11.11.37.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Aug 2020 11:37:07 -0700 (PDT) From: Jesse Gibbons Message-ID: <6f97171f-73ac-8289-d006-e379d00c0785@gmail.com> Date: Tue, 11 Aug 2020 12:37:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=jgibbons2357@gmail.com; helo=mail-pf1-x42c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.1 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=LOE+bL5B; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: DTPLwSmmdeDY From the manual:    • ‘guix search’ is an alias for ‘guix package -s’,    • ‘guix install’ is an alias for ‘guix package -i’,    • ‘guix remove’ is an alias for ‘guix package -r’,    • ‘guix upgrade’ is an alias for ‘guix package -u’,    • and ‘guix show’ is an alias for ‘guix package --show=’. One option for "guix package -u" I often find myself using is --do-not-upgrade. However, guix upgrade does not recognize that option. When I run "guix upgrade --do-not-upgrade=ungoogled-chromium" I get the following results: guix upgrade: error: do-not-upgrade=ungoogled-chromium: unrecognized option This is a bit frustrating, because I want to be able to upgrade all my profiles with the command: "guix package --list-profiles | xargs -n1 guix upgrade --do-not-upgrade=ungoogled-chromium" But it prints the above error for every profile and doesn't actually do anything. For now, my work-around is code like the following: "for profile in $(guix package --list-profiles); do guix package -p $profile --do-not-upgrade=ungoogled-chromium -u; done" As you can see, this is quite a bit more complex than it needs to be. So, why not have guix upgrade recognize the --do-not-upgrade option?