unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Andy Tai <atai@atai.org>
Cc: help-guix@gnu.org
Subject: Re: package exists but not showing
Date: Fri, 08 Jul 2022 10:36:25 +0200	[thread overview]
Message-ID: <87k08oyp5j.fsf@elephly.net> (raw)
In-Reply-To: <CAJsg1E-zw9BenQ+-65bXZb-GUSvTQrdf4u5vjsbRPOhR1s3kig@mail.gmail.com>


Andy Tai <atai@atai.org> writes:

> Hi, I am running the latest mainline guix on top of Fedora.  After doing
>
> guix pull && guix package -u
>
> I run into this situation:
>
> $ hash guix
> $ which firefox
> ~/.guix-profile/bin/firefox
> $ guix show firefox
> guix show: error: firefox: package not found
> $ guix package --list-installed|grep firefox
> firefox                 100.0.2                 out
> /gnu/store/wmlyxw4jx2d75cwn2hv5g99b61jwpinz-firefox-100.0.2
> $
>
> I wonder if this is a valid state for guix?

It is a valid state.  You could for example do this:

  guix time-machine -C channels-with-firefox -- install firefox

That would install firefox into your profile, but when you then do “guix
show firefox” it would print an error, because *this* Guix doesn’t know
anything about the “firefox” package.

What is installed is separate from what Guix knows about.  All this
tells you is that the package you installed was provided by a different
version of Guix (with possibly different channels) than the version of
Guix you are using to run “guix show”.

-- 
Ricardo


      parent reply	other threads:[~2022-07-08  8:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08  4:34 package exists but not showing Andy Tai
2022-07-08  5:04 ` Julien Lepiller
2022-07-08  5:16   ` Andy Tai
2022-07-08  6:38     ` (
2022-07-08 16:15       ` Andy Tai
2022-07-08 16:18         ` (
2022-12-01 12:56           ` SeerLite
2022-12-01 13:29             ` Tobias Geerinckx-Rice
2022-12-02 14:04               ` zimoun
2022-07-08  6:44     ` zimoun
2022-07-08  8:36 ` Ricardo Wurmus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k08oyp5j.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=atai@atai.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).