GNU bug report logs - #42434
Shell can't find basic system tools after massive garbage collection

Previous Next

Package: guix;

Reported by: Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>

Date: Sun, 19 Jul 2020 20:10:02 UTC

Severity: normal

Done: Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42434 in the body.
You can then email your comments to 42434 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42434; Package guix. (Sun, 19 Jul 2020 20:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 19 Jul 2020 20:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>
To: bug-guix <at> gnu.org
Subject: Shell can't find basic system tools after massive garbage collection
Date: Sun, 19 Jul 2020 23:09:09 +0300
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




Information forwarded to bug-guix <at> gnu.org:
bug#42434; Package guix. (Fri, 24 Jul 2020 23:03:01 GMT) Full text and rfc822 format available.

Message #8 received at 42434 <at> debbugs.gnu.org (full text, mbox):

From: Brett Gilio <brettg <at> gnu.org>
To: Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>
Cc: 42434 <at> debbugs.gnu.org
Subject: Re: bug#42434: Shell can't find basic system tools after massive
 garbage collection
Date: Fri, 24 Jul 2020 18:02:32 -0500
Alexandru-Sergiu Marton <brown121407 <at> 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




Reply sent to Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>:
You have taken responsibility. (Sun, 02 Aug 2020 06:39:02 GMT) Full text and rfc822 format available.

Notification sent to Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>:
bug acknowledged by developer. (Sun, 02 Aug 2020 06:39:02 GMT) Full text and rfc822 format available.

Message #13 received at 42434-done <at> debbugs.gnu.org (full text, mbox):

From: Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>
To: Brett Gilio <brettg <at> gnu.org>
Cc: 42434-done <at> debbugs.gnu.org
Subject: Re: bug#42434: Shell can't find basic system tools after massive
 garbage collection
Date: Sun, 02 Aug 2020 12:38:02 +0300
Hi,

Brett Gilio <brettg <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 30 Aug 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.