GNU bug report logs - #70153
Command "guix show PACKAGE" should also show installed version

Previous Next

Package: guix;

Reported by: Adam Porter <adam <at> alphapapa.net>

Date: Tue, 2 Apr 2024 20:25:03 UTC

Severity: normal

To reply to this bug, email your comments to 70153 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#70153; Package guix. (Tue, 02 Apr 2024 20:25:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Porter <adam <at> alphapapa.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 02 Apr 2024 20:25:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adam Porter <adam <at> alphapapa.net>
To: bug-guix <at> gnu.org
Subject: Command "guix show PACKAGE" should also show installed version
Date: Tue, 2 Apr 2024 15:23:50 -0500
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




This bug report was last modified 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.