unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#42434: Shell can't find basic system tools after massive garbage collection
@ 2020-07-19 20:09 Alexandru-Sergiu Marton
  2020-07-24 23:02 ` Brett Gilio
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandru-Sergiu Marton @ 2020-07-19 20:09 UTC (permalink / raw)
  To: 42434

Hi,

I run Guix System on my laptop and I wanted to free some space so I ran
all the cleaning stuff I could think of:

--8<---------------cut here---------------start------------->8---
guix package --delete-generations
guix gc --delete-generations
sudo guix system delete-generations
--8<---------------cut here---------------end--------------->8---

After running them all, I had troubles using some of the most basic
tools, like ls or rm. Other programs seemed fine (make, gcc, guix) as I
could compile my builds of dwm and st.

After I ran `guix system reconfigure` and I made sure my profile
contains all the software I need at the latest version by running `guix
package -m` on my manifest, everything went back to normal -- I could
use ls and rm again.

Sadly, I didn't gather more information as I didn't experiment much with
the broken system because I freaked out and tried to fix it as fast as
possible.

I don't know what to make of this. Brett Gilio suggested it may have
been a bad symlink job.

Cheers,
Sergiu




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

* bug#42434: Shell can't find basic system tools after massive garbage collection
  2020-07-19 20:09 bug#42434: Shell can't find basic system tools after massive garbage collection Alexandru-Sergiu Marton
@ 2020-07-24 23:02 ` Brett Gilio
  2020-08-02  9:38   ` Alexandru-Sergiu Marton
  0 siblings, 1 reply; 3+ messages in thread
From: Brett Gilio @ 2020-07-24 23:02 UTC (permalink / raw)
  To: Alexandru-Sergiu Marton; +Cc: 42434

Alexandru-Sergiu Marton <brown121407@posteo.ro> writes:

> Hi,
>
> I run Guix System on my laptop and I wanted to free some space so I ran
> all the cleaning stuff I could think of:
>
> guix package --delete-generations
> guix gc --delete-generations
> sudo guix system delete-generations
>
> After running them all, I had troubles using some of the most basic
> tools, like ls or rm. Other programs seemed fine (make, gcc, guix) as I
> could compile my builds of dwm and st.
>
> After I ran `guix system reconfigure` and I made sure my profile
> contains all the software I need at the latest version by running `guix
> package -m` on my manifest, everything went back to normal -- I could
> use ls and rm again.
>
> Sadly, I didn't gather more information as I didn't experiment much with
> the broken system because I freaked out and tried to fix it as fast as
> possible.
>
> I don't know what to make of this. Brett Gilio suggested it may have
> been a bad symlink job.
>
> Cheers,
> Sergiu

I haven't investigated this myself, but on more thought it may also have
to do with some outdated environment variables. Did you happen to reboot
your computer or restart your X/Wayland session anytime after deleting
the old generations and running the garbage collector?

Brett Gilio




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

* bug#42434: Shell can't find basic system tools after massive garbage collection
  2020-07-24 23:02 ` Brett Gilio
@ 2020-08-02  9:38   ` Alexandru-Sergiu Marton
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandru-Sergiu Marton @ 2020-08-02  9:38 UTC (permalink / raw)
  To: Brett Gilio; +Cc: 42434-done

Hi,

Brett Gilio <brettg@gnu.org> writes:

> I haven't investigated this myself, but on more thought it may also have
> to do with some outdated environment variables. Did you happen to reboot
> your computer or restart your X/Wayland session anytime after deleting
> the old generations and running the garbage collector?
>
> Brett Gilio

I ran those commands again on two of my machines that run Guix System
and the problem no longer exists.

Closing.

Cheers,
Sergiu




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

end of thread, other threads:[~2020-08-02  6:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-19 20:09 bug#42434: Shell can't find basic system tools after massive garbage collection Alexandru-Sergiu Marton
2020-07-24 23:02 ` Brett Gilio
2020-08-02  9:38   ` Alexandru-Sergiu Marton

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/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-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

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


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