unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* /var/guix/ banished out of nowhere
@ 2020-09-23 19:12 Abraham Jose
  2020-09-23 20:10 ` Joshua Branson
  2020-09-23 21:31 ` Ricardo Wurmus
  0 siblings, 2 replies; 3+ messages in thread
From: Abraham Jose @ 2020-09-23 19:12 UTC (permalink / raw)
  To: help-guix

So i was configuring xorg in a minimal install and suddenly my /var/guix/
folder dissapeared (i noticed once i forcefully restarted my system because
xorg didnt detect my keyboard (sudo xinit bspwm being the command in
wuestion)).
How do i deal with this? Is there a way to generate the folder again?

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

* Re: /var/guix/ banished out of nowhere
  2020-09-23 19:12 /var/guix/ banished out of nowhere Abraham Jose
@ 2020-09-23 20:10 ` Joshua Branson
  2020-09-23 21:31 ` Ricardo Wurmus
  1 sibling, 0 replies; 3+ messages in thread
From: Joshua Branson @ 2020-09-23 20:10 UTC (permalink / raw)
  To: Abraham Jose; +Cc: help-guix, abraham.esco


I don't think that there is an "easy" way to fix this.  One way to fix
your set up is to use the universal guix installer:

wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
sudo guix-install.sh

Then you could run guix system reconfigure config.scm, and that should
solve your problem.

If that doesn't work, you could try building from source (documented in
the guix manual).

If that doesn't work.  Re-install everything.

Best wishes!

--
Joshua Branson
Sent from Emacs and Gnus
https://gnucode.me


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

* Re: /var/guix/ banished out of nowhere
  2020-09-23 19:12 /var/guix/ banished out of nowhere Abraham Jose
  2020-09-23 20:10 ` Joshua Branson
@ 2020-09-23 21:31 ` Ricardo Wurmus
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2020-09-23 21:31 UTC (permalink / raw)
  To: abraham.esco; +Cc: Abraham Jose, help-guix


Abraham Jose <abraham.juegos1237@gmail.com> writes:

> So i was configuring xorg in a minimal install and suddenly my /var/guix/
> folder dissapeared (i noticed once i forcefully restarted my system because
> xorg didnt detect my keyboard (sudo xinit bspwm being the command in
> wuestion)).
> How do i deal with this? Is there a way to generate the folder again?

This is the first time I’m hearing of a problem like that.  Guix cannot
delete /var/guix.  It needs what’s in there, most importantly the
database that tells the daemon what items in /gnu/store are valid and
which of them are not.  Without that database everything in /gnu/store
is invalid.

There is no way to recover from this other than reinstallation of Guix.

-- 
Ricardo


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

end of thread, other threads:[~2020-09-23 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 19:12 /var/guix/ banished out of nowhere Abraham Jose
2020-09-23 20:10 ` Joshua Branson
2020-09-23 21:31 ` Ricardo Wurmus

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git