From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4ixkGq9oG18ATgAA0tVLHw (envelope-from ) for ; Fri, 24 Jul 2020 23:03:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ADOyFa9oG19sKgAAbx9fmQ (envelope-from ) for ; Fri, 24 Jul 2020 23:03:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ACF449400EF for ; Fri, 24 Jul 2020 23:03:10 +0000 (UTC) Received: from localhost ([::1]:56270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jz6ia-0007QP-KX for larch@yhetil.org; Fri, 24 Jul 2020 19:03:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jz6iU-0007QH-1y for bug-guix@gnu.org; Fri, 24 Jul 2020 19:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jz6iT-0005zG-PW for bug-guix@gnu.org; Fri, 24 Jul 2020 19:03:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jz6iT-0001Y1-Lm for bug-guix@gnu.org; Fri, 24 Jul 2020 19:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42434: Shell can't find basic system tools after massive garbage collection Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 24 Jul 2020 23:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42434 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alexandru-Sergiu Marton Received: via spool by 42434-submit@debbugs.gnu.org id=B42434.15956317505908 (code B ref 42434); Fri, 24 Jul 2020 23:03:01 +0000 Received: (at 42434) by debbugs.gnu.org; 24 Jul 2020 23:02:30 +0000 Received: from localhost ([127.0.0.1]:48931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz6hy-0001XE-IH for submit@debbugs.gnu.org; Fri, 24 Jul 2020 19:02:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz6hw-0001X2-LB for 42434@debbugs.gnu.org; Fri, 24 Jul 2020 19:02:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34922) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jz6hq-0005wK-2I; Fri, 24 Jul 2020 19:02:22 -0400 Received: from [2605:6000:1a0d:48fb::e9] (port=59238 helo=lenovo-t430) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jz6hp-00038c-Cl; Fri, 24 Jul 2020 19:02:21 -0400 From: Brett Gilio References: <87eep7jmhm.fsf@posteo.ro> Date: Fri, 24 Jul 2020 18:02:32 -0500 In-Reply-To: <87eep7jmhm.fsf@posteo.ro> (Alexandru-Sergiu Marton's message of "Sun, 19 Jul 2020 23:09:09 +0300") Message-ID: <87wo2sectz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42434@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: 6m7ze20cX5SQ Alexandru-Sergiu Marton 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