unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / 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

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