From unknown Fri Jun 20 05:34:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#70153 <70153@debbugs.gnu.org> To: bug#70153 <70153@debbugs.gnu.org> Subject: Status: Command "guix show PACKAGE" should also show installed version Reply-To: bug#70153 <70153@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:34:45 +0000 retitle 70153 Command "guix show PACKAGE" should also show installed version reassign 70153 guix submitter 70153 Adam Porter severity 70153 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 02 16:24:10 2024 Received: (at submit) by debbugs.gnu.org; 2 Apr 2024 20:24:10 +0000 Received: from localhost ([127.0.0.1]:56416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrkfy-0000rA-92 for submit@debbugs.gnu.org; Tue, 02 Apr 2024 16:24:10 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrkfw-0000qy-VQ for submit@debbugs.gnu.org; Tue, 02 Apr 2024 16:24:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rrkfm-0004UB-Lt for bug-guix@gnu.org; Tue, 02 Apr 2024 16:23:59 -0400 Received: from seagreen.cherry.relay.mailchannels.net ([23.83.223.160]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rrkfk-00074q-MR for bug-guix@gnu.org; Tue, 02 Apr 2024 16:23:58 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A9E28142F9F for ; Tue, 2 Apr 2024 20:23:53 +0000 (UTC) Received: from pdx1-sub0-mail-a310.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 1F75D142983 for ; Tue, 2 Apr 2024 20:23:52 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1712089432; a=rsa-sha256; cv=none; b=3GifVmrNnpN4A5+paWjPwRImtGe5CCfC2EIqB/Mu/9K2aXBG0pyA1PMfHFhVtlJHPjCdvc pw6w46+hYcACpmy+H6OgxdY6EveyUkLvysXKFhzVxHnioHad649lf1X2gLShcwqjL5b7N/ SYaMQLY2A4n1As7X+MIl3bE83HeE4ZYKkMNNhQiYI+S1Wu8wq0/izR/ZhyAfyltQGxTGyq BDaywy+tbZuZiSxN3LMfts2WyizRSnrW02GF1sA59CoLEh/mxfjPeyLd6TABNb3+lnkIgS aVeJrvE4qt7VzbqgdpG8HifPB/DatikpYdzsvNPzPiHX0JdWThxcWRW9h+eMeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1712089432; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=ycRe+tniAdEHDQlihd3IPrrFKdHeCjppMidHTPyF0eM=; b=TsoAyUaU4gUreB2hLen1+owN2wLBRZx534dEazm9Wkq4mei14bZS/ojG+4PneizzzNkeXg Xh4noYJf910ob8jUkv87SoMeYtquY64TcMvfq8X84FTEoV4sCcJJ4ysevbJEvA8E7/zqPZ B+RPgboKB7l5ITrEE6FapiOouEb/hq3EjXh4Lzma1SIZ5eE6T65+WnKtrZXkAZF+m+LbXH kN8xOdLuLaNFOdsf6P9GKnQFb23sP2Pk5uNXLvhejbUeAOtmI6y3LcDgxQIwYXQyh4yPIY 9bhw4wk+KWnobreb6y03uKFDcSTRtaix2cNgPwB4fuYyqSHggWHI+GTO5YbnOg== ARC-Authentication-Results: i=1; rspamd-6457dc597-h5dhh; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Army-Whispering: 063b9e433eb3d428_1712089432345_483390470 X-MC-Loop-Signature: 1712089432345:3351611604 X-MC-Ingress-Time: 1712089432344 Received: from pdx1-sub0-mail-a310.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.126.216.122 (trex/6.9.2); Tue, 02 Apr 2024 20:23:52 +0000 Received: from [10.45.0.74] (unknown [45.131.192.7]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a310.dreamhost.com (Postfix) with ESMTPSA id 4V8K8l5YSZz6K for ; Tue, 2 Apr 2024 13:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1712089431; bh=ycRe+tniAdEHDQlihd3IPrrFKdHeCjppMidHTPyF0eM=; h=Date:To:From:Subject:Content-Type:Content-Transfer-Encoding; b=X2Loqil8YDrc65bLkUbhBc+XLVceQqLyRRlGSe9GMLVfbeUxU/Jz0UKvi0imam/Ik 7PTXeTMIvUkHgotJKCX46gYXr/JqRshTj++DsQ5zmaX/bLcwSp2gINTBIBoQp1+gq5 susxWV6DMgD7HvzUPEkZ7A7DMdj6V6Ot+G1a0wlrHDvk+CFBvJt4A7j8uuesQxTuaM CGDX8fnUU/SOC8mTwtiSdb1x3NHYR3MYaiObvWmsbYD23/pFnizuYDwP4tKaDpnR71 aO6O8s5kF5Eyosa0Zp7xI4g9DOQwB/OX4K41FNME0VfcSdC/QLfwwyVtTyBskYJgQQ gNPeHpUhyLEPw== Message-ID: Date: Tue, 2 Apr 2024 15:23:50 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: bug-guix@gnu.org Content-Language: en-US From: Adam Porter Subject: Command "guix show PACKAGE" should also show installed version Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: neutral client-ip=23.83.223.160; envelope-from=adam@alphapapa.net; helo=seagreen.cherry.relay.mailchannels.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Hi, It would be very helpful if the command "guix show PACKAGE" (aka "guix package --show=PACKAGE") showed the version of the package that is currently installed, if any. For example, the version of "emacs" in Guix is currently 29.3, and the version I have installed is 29.1. When I run "guix show emacs" I get: name: emacs version: 29.3 outputs: ... If I didn't know better, I might think that I had version 29.3 installed. Instead, to check what version is actually installed, I have to run "guix package --list-installed=emacs" to see: emacs 29.1 out /gnu/store/9i6p8jsvgrsradmbqa7iixk61gd00k2g-emacs-29.1 This makes the common operation of comparing the currently installed version of a package with the currently available version require two commands instead of one. In contrast, e.g. in Debian, one can run "apt-cache policy PACKAGE" to see output like: PACKAGE: Installed: X.Y-1~deb11u1 Candidate: X.Y-1~deb11u1 Which makes it easy to compare them. Thanks for your work on Guix. --Adam