unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to fix the deletion of ~/.guix-profile on Ubuntu 22.04.4 LTS?
@ 2024-04-08  3:39 Rodrigo Morales
  2024-04-08 15:26 ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 2+ messages in thread
From: Rodrigo Morales @ 2024-04-08  3:39 UTC (permalink / raw)
  To: help-guix


I'm running guix on Ubuntu 22.04.4 LTS.

I removed the directory ~/.guix-profile using =rm -rf
~/.guix-profile=, just to see what happens. I tried fixing this
problem by reinstalling =guix= (i.e. I ran =sudo apt purge guix=, I
then ran =sudo apt install guix=). Afterwards, I then executed =guix
pull=, but =guix --version= kept showing v1.3.0, so when I try to run
=guix home=, I get the error =guix: home: command not found=.

For the record, I had initially installed guix by executing =sudo apt
install guix=. Upon installation, I noticed that the version reported
by =guix --version= was =1.3.0=, so I executed =guix pull=. Upon
finishing, =guix --version= showed a git commit hash as the version
number (I guess this hash corresponds to the latest commit in the guix
repository.)

My question is: How to make =guix pull= update the version reported by
=guix --version=?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to fix the deletion of ~/.guix-profile on Ubuntu 22.04.4 LTS?
  2024-04-08  3:39 How to fix the deletion of ~/.guix-profile on Ubuntu 22.04.4 LTS? Rodrigo Morales
@ 2024-04-08 15:26 ` pelzflorian (Florian Pelz)
  0 siblings, 0 replies; 2+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-04-08 15:26 UTC (permalink / raw)
  To: Rodrigo Morales; +Cc: help-guix

Hello Rodrigo,

in general, to be on the safe side, after `guix pull`, you can open a
new shell/terminal so the new guix actually gets used.  This probably is
no longer necessary or at least `guix pull` tells you to run `hash
guix`, but I believe it is what has happened here.

Regards,
Florian


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-08 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-08  3:39 How to fix the deletion of ~/.guix-profile on Ubuntu 22.04.4 LTS? Rodrigo Morales
2024-04-08 15:26 ` pelzflorian (Florian Pelz)

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).