* bug#70153: Command "guix show PACKAGE" should also show installed version
@ 2024-04-02 20:23 Adam Porter
0 siblings, 0 replies; only message in thread
From: Adam Porter @ 2024-04-02 20:23 UTC (permalink / raw)
To: 70153
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-02 20:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-02 20:23 bug#70153: Command "guix show PACKAGE" should also show installed version Adam Porter
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).