From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +OnbLZ8PLGSWLQAASxT56A (envelope-from ) for ; Tue, 04 Apr 2023 13:53:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id INWRLZ8PLGSd9QAAauVa8A (envelope-from ) for ; Tue, 04 Apr 2023 13:53:03 +0200 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 90D0313A14 for ; Tue, 4 Apr 2023 13:53:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjfCa-0006ed-5c; Tue, 04 Apr 2023 07:51:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjfCZ-0006eT-3O for help-guix@gnu.org; Tue, 04 Apr 2023 07:51:51 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjfCX-00072d-Kn for help-guix@gnu.org; Tue, 04 Apr 2023 07:51:50 -0400 Received: by mail-wm1-x32d.google.com with SMTP id o32so18828296wms.1 for ; Tue, 04 Apr 2023 04:51:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680609106; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=LqXmNcA2xalq00F8xidFbyEkYKEBVQ0RnzLyGds0IEw=; b=ZTzcxM24PtBWnNSgtwKB9E3J5n0R3X+LJJTis9nAuvNCWo+eFU1gSjusrr/NKO7MOK 71hVHSEp2voxSifl2AU5RTlvjg+5qeN3DD9mdXDImsalp6JIAwQ7dD8SJWbdNwr/NIO6 02un6G6nM4aaa+HuGmRBpodbuXu6p7/nKV9K5XuwTrNoLOWs+ic6W+Xmo3PWvCmC/MsT 6UqVxue9Tv6Gl+tpcRg6MkxUhFtbxUBkQa1dpo7jUpYBvJ0adE/BLWr8ApO1+8apZi6t Rr6g3kKtyQm80EjZh9o2dGaS61a6FNNwhlMex3AvaQq90FDfzKBIKJwxWpCcWXb86mHu /KcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680609106; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=LqXmNcA2xalq00F8xidFbyEkYKEBVQ0RnzLyGds0IEw=; b=zpazW23jaUT9KGSUDrMz3rEnWErshQwW/Wq7wxBS4TQLYY3K85s7hEXvEusp5AH6Gp dSB2FStHeJ6dImNmv0OXsZGgtHzmAMsLYhKXGoUiqtOhcBxQIKg2O9TZu39Y3MGgzOAH C5Rkaf/lABhwnMUgkZC7jo1752taTK3iA55B3ialxOnnrC57Bin6T1DJI2H/S6Jl7AEg HGPhfhjuYDR5auE7TLYu60fE2BQFwBzoDyuC/VQcMumB7neRfMybr3t7dYnz0uCw83RY gJbNgSQD5MNm04zG8g6z1CVqvNAKUJmBuQFb34yTpZS/aJKQBOjg1oBYrfuZwCXF4UWW 6zSg== X-Gm-Message-State: AAQBX9eVrvPAVFESPy6dgy6Iv7nv9LQcsrsIMi6FtYUSwoBbsi83NV6I Q1/rAXrpvjB6iW6U87CfRTYM973j3I0= X-Google-Smtp-Source: AKy350Z+PKQ9fomz9kdIZSf6xabSofuq9WZWEoRoEYUubm0CpLgEwIbh+nwfzjqgyQRF1fJ0vB3StA== X-Received: by 2002:a05:600c:3b99:b0:3ed:2a41:8529 with SMTP id n25-20020a05600c3b9900b003ed2a418529mr2119458wms.2.1680609106343; Tue, 04 Apr 2023 04:51:46 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id j19-20020a05600c191300b003ee1acdaf95sm22583448wmq.36.2023.04.04.04.51.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 04:51:46 -0700 (PDT) From: Simon Tournier To: Julien Lepiller , help-guix@gnu.org, Rodrigo Morales Subject: Re: Newbie: Error when using "guix gc -D" to delete directory in /gnu/store In-Reply-To: <9A72DD9D-1676-4AF3-BB16-641E6CB6F7F6@lepiller.eu> References: <9A72DD9D-1676-4AF3-BB16-641E6CB6F7F6@lepiller.eu> Date: Tue, 04 Apr 2023 00:09:04 +0200 Message-ID: <86cz4ky5xb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680609183; a=rsa-sha256; cv=none; b=of4rdySqdKWCeCYtpIcl0pYVKgvnvMUiOMo+37m9ZdubiRsz3DmBJLtClWvyX/IrHnoFFz tnQYNe6+jplpH8hFRlJaZdhP3g1I5Ht1r5F8yYiIdIiSPF/bt9LxV0GzaRVnmc/yzce1CA u6RyBN6qQ017tQvFrpLYs4IODTpGvfeYQTjWRUOQJhKzchsmP8LErXWzsPBAq4JaYQtyxJ EHpepwhPi/hsWmTgMs6GRvslA31jbv25lgH1n9rU7lefXbQ3+HTT7qC8NZLBOOz8cwOowQ puF/JTXXc+0vfVC4K+cvlR8iT2YqQS9Pa8Dv/rxj1jd42HsTuUWl9llPRvUKOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZTzcxM24; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680609183; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=LqXmNcA2xalq00F8xidFbyEkYKEBVQ0RnzLyGds0IEw=; b=bhQmmk5tpXR1N+O33FS7mD8fssEyNmxA5ggL0RUB2FOumkmJ0Q57By73RcCJtS9zlSdlNw MVBwPyKuTqXLPXiOcppUyx9iq6Sb7yd2io1oIiS0YOCOJTTZ964o6iccuDloCcNrAt0mOH CAGcVjdR1j1OTOZ8sAF1hhV3oQXBs6KEU63a/bjXB4ZpNOBl7magH6L5aZQG5P4aqQtk7R Zab8LMN8+zIEtprsV9x4YO1bm5VFzwfdS9ymLRAkUlA0qRjBaMGJNtP9u6qgqEei2z8ALA 0Q8BAw2B8Aii+T5k0lHvBRNN+MJNWbHauvfTDmNV2V1ISyG4h/aNcYtNUf5c4Q== X-Migadu-Spam-Score: -4.95 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZTzcxM24; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Spam-Score: -4.95 X-Migadu-Queue-Id: 90D0313A14 X-TUID: /YdD1p/fFrU1 Hi, On Sun, 19 Mar 2023 at 07:36, Julien Lepiller wrote: > First of all, you don't need to delete these files. Even if they exist > in the store, they won't be foumd by other software unless they are > currently installed in one of your profiles.=20 > > The error you get when you try to delete them means that one of the > generations of one of your profiles still has a reference to them. You > should have a look at the symlinks at /var/guix/profiles to fehure out > which profile and which generetion that is.=20 For listing all your profiles, you can run: guix package --list-profiles Well, you could run something like: for p in $(guix package --list-profiles); do echo $p; guix package -p $p --list-generations | grep rime-data ;done so you will find in which profile you installed and removed the package rime-data. Then, =E2=80=99guix package -p path/to/that/profile -l=E2=80=99= will list all the generations. Depending on context, you can delete the generations containing the package rime-data; see =E2=80=9Cguix package --delete-generations=E2=80=9D. Last, =E2=80=9Cguix gc -D=E2=80=9D should work as expected. Please note that the corollary of your annoyance is that you are still able to switch to a specific generation of some profile containing the package =E2=80=99rime-data=E2=80=99 without doing anything more (download o= r else). Cheers, simon